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;
}

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.