@onjmin/dtm
    Preparing search index...

    Type Alias SpeechPrepareOptions

    SingingVoices.prepareSpeech のオプション。

    type SpeechPrepareOptions = {
        emotions?: Iterable<SpeechEmotion>;
        onProgress?: (loadedBytes: number, totalBytes: number) => void;
    }
    Index

    Properties

    emotions?: Iterable<SpeechEmotion>

    先取りしておく感情モデル(neutral は常に含まれるので書かなくてよい)。

    onProgress?: (loadedBytes: number, totalBytes: number) => void

    ダウンロード進捗(TTS アセット+感情モデルの合算バイト数)。