File indexing completed on 2024-12-01 03:46:25

0001 #!/bin/bash
0002 
0003 # this script generates a synthetic english voice
0004 
0005 # Copyright (C) 2008-2012 Wolfgang Rohdewald <wolfgang@rohdewald.de>
0006 # licensed under GPLv2 or later
0007 
0008 while read line
0009 do
0010         set - $line
0011         fname=$1
0012         shift
0013         echo $* | espeak -s200 -w $fname.wav
0014         sox $fname.wav $fname.ogg channels 2 rate 44100
0015         rm $fname.wav
0016 done <<!END
0017         s1 circle one
0018         s2 circle two
0019         s3 circle three
0020         s4 circle four
0021         s5 circle five
0022         s6 circle six
0023         s7 circle seven
0024         s8 circle eight
0025         s9 circle nine
0026         b1 bamboo one
0027         b2 bamboo two
0028         b3 bamboo three
0029         b4 bamboo four
0030         b5 bamboo five
0031         b6 bamboo six
0032         b7 bamboo seven
0033         b8 bamboo eight
0034         b9 bamboo nine
0035         c1 character one
0036         c2 character two
0037         c3 character three
0038         c4 character four
0039         c5 character five
0040         c6 character six
0041         c7 character seven
0042         c8 character eight
0043         c9 character nine
0044         we east
0045         ws south
0046         ww west
0047         wn north
0048         db blue dragon
0049         dr red dragon
0050         dg green dragon
0051         chow chow
0052         pung pung
0053         kong kong
0054         mahjongg mahjongg
0055         originalcall original call
0056         violatesoriginalcall "violates      original      call"
0057         dangerousgame dangerous game
0058         nochoice no choice
0059 !END