Skip to content

Commit

Permalink
update voice list & set default Neural filter 💯
Browse files Browse the repository at this point in the history
  • Loading branch information
foxundermoon committed Mar 19, 2020
1 parent fd30260 commit 7c57784
Show file tree
Hide file tree
Showing 2 changed files with 121 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/website/components/tool/Speech.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const Speech: React.FC = () => {
};
const [text, setText] = React.useState(initText[locale]);
const [gender, setGender] = React.useState('');
const [voiceType, setVoiceType] = React.useState('');
const [voiceType, setVoiceType] = React.useState('Neural');
const [language, setLanguage] = React.useState('');

const fetchToken = async () => {
Expand Down
120 changes: 120 additions & 0 deletions packages/website/components/tool/voicelist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -658,4 +658,124 @@ export const voiceList: Voice[] = [
SampleRateHertz: '16000',
VoiceType: 'Standard',
},
{
Name: 'Microsoft Server Speech Text to Speech Voice (en-US, GuyNeural)',
ShortName: 'en-US-GuyNeural',
Gender: 'Male',
Locale: 'en-US',
SampleRateHertz: '24000',
VoiceType: 'Neural',
},
{
Name: 'Microsoft Server Speech Text to Speech Voice (en-US, JessaNeural)',
ShortName: 'en-US-JessaNeural',
Gender: 'Female',
Locale: 'en-US',
SampleRateHertz: '24000',
VoiceType: 'Neural',
},
{
Name: 'Microsoft Server Speech Text to Speech Voice (zh-CN, XiaoxiaoNeural)',
ShortName: 'zh-CN-XiaoxiaoNeural',
Gender: 'Female',
Locale: 'zh-CN',
SampleRateHertz: '24000',
VoiceType: 'Neural',
},
{
Name: 'Microsoft Server Speech Text to Speech Voice (it-IT, ElsaNeural)',
ShortName: 'it-IT-ElsaNeural',
Gender: 'Female',
Locale: 'it-IT',
SampleRateHertz: '24000',
VoiceType: 'Neural',
},
{
Name: 'Microsoft Server Speech Text to Speech Voice (de-DE, KatjaNeural)',
ShortName: 'de-DE-KatjaNeural',
Gender: 'Female',
Locale: 'de-DE',
SampleRateHertz: '24000',
VoiceType: 'Neural',
},
{
Name: 'Microsoft Server Speech Text to Speech Voice (pt-BR, FranciscaNeural)',
ShortName: 'pt-BR-FranciscaNeural',
Gender: 'Female',
Locale: 'pt-BR',
SampleRateHertz: '24000',
VoiceType: 'Neural',
},
{
Name: 'Microsoft Server Speech Text to Speech Voice (fr-CA, SylvieNeural)',
ShortName: 'fr-CA-SylvieNeural',
Gender: 'Female',
Locale: 'fr-CA',
SampleRateHertz: '24000',
VoiceType: 'Neural',
},
{
Name: 'Microsoft Server Speech Text to Speech Voice (de-DE, JanaNeural)',
ShortName: 'de-DE-JanaNeural',
Gender: 'Female',
Locale: 'de-DE',
SampleRateHertz: '24000',
VoiceType: 'Neural',
},
{
Name: 'Microsoft Server Speech Text to Speech Voice (es-MX, DaliaNeural)',
ShortName: 'es-MX-DaliaNeural',
Gender: 'Female',
Locale: 'es-MX',
SampleRateHertz: '24000',
VoiceType: 'Neural',
},
{
Name: 'Microsoft Server Speech Text to Speech Voice (ja-JP, NanamiNeural)',
ShortName: 'ja-JP-NanamiNeural',
Gender: 'Female',
Locale: 'ja-JP',
SampleRateHertz: '24000',
VoiceType: 'Neural',
},
{
Name: 'Microsoft Server Speech Text to Speech Voice (ko-KR, Sun-HiNeural)',
ShortName: 'ko-KR-Sun-HiNeural',
Gender: 'Female',
Locale: 'ko-KR',
SampleRateHertz: '24000',
VoiceType: 'Neural',
},
{
Name: 'Microsoft Server Speech Text to Speech Voice (en-GB, MiaNeural)',
ShortName: 'en-GB-MiaNeural',
Gender: 'Female',
Locale: 'en-GB',
SampleRateHertz: '24000',
VoiceType: 'Neural',
},
{
Name: 'Microsoft Server Speech Text to Speech Voice (fr-FR, DeniseNeural)',
ShortName: 'fr-FR-DeniseNeural',
Gender: 'Female',
Locale: 'fr-FR',
SampleRateHertz: '24000',
VoiceType: 'Neural',
},
{
Name: 'Microsoft Server Speech Text to Speech Voice (zh-CN, YunyangNeural)',
ShortName: 'zh-CN-YunyangNeural',
Gender: 'Male',
Locale: 'zh-CN',
SampleRateHertz: '24000',
VoiceType: 'Neural',
},
{
Name: 'Microsoft Server Speech Text to Speech Voice (en-IN, NeerjaNeural)',
ShortName: 'en-IN-NeerjaNeural',
Gender: 'Female',
Locale: 'en-IN',
SampleRateHertz: '24000',
VoiceType: 'Neural',
},
];

1 comment on commit 7c57784

@github-actions
Copy link

@github-actions github-actions bot commented on 7c57784 Mar 19, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for website ready!

Built with commit 7c57784

https://home-website-oy7bxfocu.now.sh

Please sign in to comment.