@bachman-dev/wanikani-api-types - v1.8.0
    Preparing search index...

    Interface WKVocabularyPronunciationAudio

    Information pertaining to pronunciation audio for a vocabulary subject.

    interface WKVocabularyPronunciationAudio {
        content_type: "audio/mpeg" | "audio/ogg" | "audio/webm";
        metadata: {
            gender: "female" | "male";
            pronunciation: string;
            source_id: number;
            voice_actor_id: number;
            voice_actor_name: string;
            voice_description: string;
        };
        url: string;
    }
    Index

    Properties

    content_type: "audio/mpeg" | "audio/ogg" | "audio/webm"

    The content type of the audio. Currently the API delivers audio/mpeg, audio/ogg, and audio/webm.

    metadata: {
        gender: "female" | "male";
        pronunciation: string;
        source_id: number;
        voice_actor_id: number;
        voice_actor_name: string;
        voice_description: string;
    }

    Details about the pronunciation audio.

    Type declaration

    • gender: "female" | "male"

      The gender of the voice actor.

    • pronunciation: string

      Vocabulary being pronounced in kana.

    • source_id: number

      A unique ID shared between same source pronunciation audio.

    • voice_actor_id: number

      A unique ID belonging to the voice actor.

    • voice_actor_name: string

      Humanized name of the voice actor.

    • voice_description: string

      Description of the voice.

    url: string

    The location of the audio.