Created
March 9, 2017 01:58
-
-
Save ueki-kazuki/79892b5576e508c8aaccf3a4b89c72e0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for voice in Mizuki Joanna | |
do | |
mkdir -p ${voice} | |
echo ${voice} | |
for f in sample*.xml | |
do | |
fn=${f%%.*} | |
echo $fn | |
aws polly synthesize-speech \ | |
--text file://${f} \ | |
--voice-id ${voice} \ | |
--output-format mp3 \ | |
--text-type ssml \ | |
"${voice}/${fn}.mp3" | |
done | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<speak>Hello <break time='300ms'/> World</speak> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<speak><prosody volume='+20dB'>Hello world</prosody></speak> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<speak><prosody pitch='x-high'>Hello world</prosody></speak> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<speak><prosody rate='x-fast'>Hello world</prosody></speak> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<speak><emphasis level='strong'>Hello</emphasis> world how are you?</speak> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<speak>Today is <say-as interpret-as='date' format='dm' >4/6</say-as></speak> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment