Skip to content

Commit

Permalink
add script to generate sample audios
Browse files Browse the repository at this point in the history
  • Loading branch information
hexylena committed May 16, 2023
1 parent 39b9368 commit b2a1e39
Show file tree
Hide file tree
Showing 25 changed files with 28 additions and 0 deletions.
Binary file added assets/audio/amy.mp3
Binary file not shown.
1 change: 1 addition & 0 deletions assets/audio/amy.mp3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"time":0,"type":"sentence","start":0,"end":17.736,"value":"Welcome to the Galaxy Training Network! We are a platform for fair and Accessible Bioinformatics Training that is open to the world. Most of our content is licensed CC by, 4.0. All of our materials are machine readable through JSON-LD annotations."}
Binary file added assets/audio/aria.mp3
Binary file not shown.
1 change: 1 addition & 0 deletions assets/audio/aria.mp3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"time":0,"type":"sentence","start":0,"end":17.76,"value":"Welcome to the Galaxy Training Network! We are a platform for fair and Accessible Bioinformatics Training that is open to the world. Most of our content is licensed CC by, 4.0. All of our materials are machine readable through JSON-LD annotations."}
Binary file added assets/audio/brian.mp3
Binary file not shown.
1 change: 1 addition & 0 deletions assets/audio/brian.mp3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"time":0,"type":"sentence","start":0,"end":19.848,"value":"Welcome to the Galaxy Training Network! We are a platform for fair and Accessible Bioinformatics Training that is open to the world. Most of our content is licensed CC by, 4.0. All of our materials are machine readable through JSON-LD annotations."}
Binary file added assets/audio/emma.mp3
Binary file not shown.
1 change: 1 addition & 0 deletions assets/audio/emma.mp3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"time":0,"type":"sentence","start":0,"end":16.824,"value":"Welcome to the Galaxy Training Network! We are a platform for fair and Accessible Bioinformatics Training that is open to the world. Most of our content is licensed CC by, 4.0. All of our materials are machine readable through JSON-LD annotations."}
Binary file added assets/audio/joanna.mp3
Binary file not shown.
1 change: 1 addition & 0 deletions assets/audio/joanna.mp3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"time":0,"type":"sentence","start":0,"end":16.056,"value":"Welcome to the Galaxy Training Network! We are a platform for fair and Accessible Bioinformatics Training that is open to the world. Most of our content is licensed CC by, 4.0. All of our materials are machine readable through JSON-LD annotations."}
Binary file added assets/audio/joey.mp3
Binary file not shown.
1 change: 1 addition & 0 deletions assets/audio/joey.mp3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"time":0,"type":"sentence","start":0,"end":18.12,"value":"Welcome to the Galaxy Training Network! We are a platform for fair and Accessible Bioinformatics Training that is open to the world. Most of our content is licensed CC by, 4.0. All of our materials are machine readable through JSON-LD annotations."}
Binary file added assets/audio/kendra.mp3
Binary file not shown.
1 change: 1 addition & 0 deletions assets/audio/kendra.mp3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"time":0,"type":"sentence","start":0,"end":19.368,"value":"Welcome to the Galaxy Training Network! We are a platform for fair and Accessible Bioinformatics Training that is open to the world. Most of our content is licensed CC by, 4.0. All of our materials are machine readable through JSON-LD annotations."}
Binary file added assets/audio/matthew.mp3
Binary file not shown.
1 change: 1 addition & 0 deletions assets/audio/matthew.mp3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"time":0,"type":"sentence","start":0,"end":14.64,"value":"Welcome to the Galaxy Training Network! We are a platform for fair and Accessible Bioinformatics Training that is open to the world. Most of our content is licensed CC by, 4.0. All of our materials are machine readable through JSON-LD annotations."}
Binary file added assets/audio/nicole.mp3
Binary file not shown.
1 change: 1 addition & 0 deletions assets/audio/nicole.mp3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"time":0,"type":"sentence","start":0,"end":16.195833,"value":"Welcome to the Galaxy Training Network! We are a platform for fair and Accessible Bioinformatics Training that is open to the world. Most of our content is licensed CC by, 4.0. All of our materials are machine readable through JSON-LD annotations."}
Binary file added assets/audio/olivia.mp3
Binary file not shown.
1 change: 1 addition & 0 deletions assets/audio/olivia.mp3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"time":0,"type":"sentence","start":0,"end":16.272,"value":"Welcome to the Galaxy Training Network! We are a platform for fair and Accessible Bioinformatics Training that is open to the world. Most of our content is licensed CC by, 4.0. All of our materials are machine readable through JSON-LD annotations."}
Binary file added assets/audio/raveena.mp3
Binary file not shown.
1 change: 1 addition & 0 deletions assets/audio/raveena.mp3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"time":0,"type":"sentence","start":0,"end":16.901167,"value":"Welcome to the Galaxy Training Network! We are a platform for fair and Accessible Bioinformatics Training that is open to the world. Most of our content is licensed CC by, 4.0. All of our materials are machine readable through JSON-LD annotations."}
Binary file added assets/audio/salli.mp3
Binary file not shown.
1 change: 1 addition & 0 deletions assets/audio/salli.mp3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"time":0,"type":"sentence","start":0,"end":17.736,"value":"Welcome to the Galaxy Training Network! We are a platform for fair and Accessible Bioinformatics Training that is open to the world. Most of our content is licensed CC by, 4.0. All of our materials are machine readable through JSON-LD annotations."}
16 changes: 16 additions & 0 deletions bin/ari-gen-sample-audio.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
sample_sentence='Welcome to the Galaxy Training Network! We are a platform for FAIR and Accessible Bioinformatics Training that is open to the world. Most of our content is licensed CC by, 4.0. All of our materials are machine readable through JSON-LD annotations.'
sample=$(mktemp)
echo "$sample_sentence" > "$sample"

ruby bin/ari-synthesize.rb --aws --voice Amy --lang en-GB --file $sample -o amy.mp3
ruby bin/ari-synthesize.rb --aws --voice Aria --lang en-NZ --file $sample -o aria.mp3
ruby bin/ari-synthesize.rb --aws --voice Brian --lang en-GB --file $sample -o brian.mp3
ruby bin/ari-synthesize.rb --aws --voice Emma --lang en-GB --file $sample -o emma.mp3
ruby bin/ari-synthesize.rb --aws --voice Joanna --lang en-US --file $sample -o joanna.mp3
ruby bin/ari-synthesize.rb --aws --voice Joey --lang en-US --file $sample -o joey.mp3
ruby bin/ari-synthesize.rb --aws --voice Kendra --lang en-US --file $sample -o kendra.mp3
ruby bin/ari-synthesize.rb --aws --voice Matthew --lang en-US --file $sample -o matthew.mp3
ruby bin/ari-synthesize.rb --aws --voice Nicole --lang en-AU --non-neural --file $sample -o nicole.mp3
ruby bin/ari-synthesize.rb --aws --voice Olivia --lang en-AU --file $sample -o olivia.mp3
ruby bin/ari-synthesize.rb --aws --voice Raveena --lang en-IN --non-neural --file $sample -o raveena.mp3
ruby bin/ari-synthesize.rb --aws --voice Salli --lang en-US --file $sample -o salli.mp3

0 comments on commit b2a1e39

Please sign in to comment.