Google Chrome (Windows) - 如何添加缺失的语音合成语音

Google Chrome (Windows) - how to add missing speech synthesis voices

我使用 HTML5 语音合成 API 和 Google Chrome (Windows)。不幸的是,当我测试可用的声音时 - 我没有看到挪威语 语音(例如)

所以我的问题是 - 是否可以添加缺失的声音 在 Chrome?或者该列表是否对所有 Chrome (Windows) 安装有效?

在我的 Android 设备上 - 可用语音列表要大得多。 但是 - 在 Windows 设备上 - 缺少一些重要的声音。

我在 Google Chrome 上看到 Windows 的声音如下:

pl-PL 英文 去DE 英文 英文 英文 es-ES es-美国 FR-FR 高输入 id-ID IT-IT ja-JP ko-KR nl-NL PL-PL 铂-BR ru-RU zh-CN zh-HK zh-TW

谢谢, 麦克

该列表是特定于浏览器版本的,同一浏览器的版本,例如Chrome 在不同的操作系统上会有不同的列表。好像只有Safari和Chrome是多语言的,Opera和Firefox有英文语音,IE有none。 Mac 和 Ubuntu 的 Chrome 比 Windows 的 Chrome 有更多的声音。大概 Chrome 的新版本比旧版本有更多的声音。

我写了一个显示浏览器声音的jsbin:
https://jsbin.com/ginanegoqu/edit?js,output

if ('speechSynthesis' in window) {
    // Start an html table for languages details
    var text = '<table border=1><tr><th>Default<th>Language<th>Local<th>Name<th>URI</tr>';
    // Get voices; add to table markup
    function loadVoices() {
        var voices = speechSynthesis.getVoices();
        voices.forEach(function(voice, i) {
          // Add all details to table
          text += '<tr><td>' + voice.default + '<td>'
              + voice.lang + '<td>' + voice.localService
              + '<td>' + voice.name + '<td>' + voice.voiceURI;
        });
    }
    loadVoices();
    langList.innerHTML = text;
    // Chrome loads voices asynchronously.
    window.speechSynthesis.onvoiceschanged = function(e) {
        loadVoices();
        langList.innerHTML = text;
    }
}