FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 0d1ab0de authored by Silas S. Brown's avatar Silas S. Brown
Browse files

Gradint update

git-svn-id: http://svn.code.sf.net/p/e-guidedog/code/ssb22/gradint@1201 29193198-4895-4776-b068-10539e920549
parent b7e16d1a
No related branches found
No related tags found
No related merge requests found
......@@ -124,9 +124,9 @@ gradint.cab: $(Common_Files) gradint.py
test -e gradint.cab # pocketpc-cab can fail silently if we add too many files, so check the output exists
rm -rf PocketPC0
gradint-S60.zip: $(Common_Files) gradint.py
gradint-S60.zip: $(Common_Files) gradint.py README-S60.txt
cp S60.zip gradint-S60.zip
zip -9r gradint-S60.zip $(Common_Files)
zip -9r gradint-S60.zip $(Common_Files) README-S60.txt
zip -d gradint-S60.zip 'samples/utils*' # no point having those on S60
mkdir gradint
cd gradint && python ../thindown.py s60 < ../gradint.py > gradint.py && zip -9r ../gradint-S60.zip gradint.py && cd ..
......
If you want to make your samples quieter to match the lower
volume of PythonS60's audio.say() command, you can do this
on Unix (it doesn't matter if this command is repeated) :
find synth-cache samples -name '*.mp3' -exec mp3gain -a -m 12 '{}' ';'
and for any partials voices (Yali etc) using audiodata.dat
(see advanced.txt) you can do something like this (once only) :
grep -a '^[0-9]\+ .*\.raw$' audiodata.dat > /tmp/audiodata.dat &&
grep -av '^[0-9]\+ .*\.raw$' audiodata.dat | sox -t raw -r 44100 -c 1 -s -2 - -t raw - vol 0.2 >> /tmp/audiodata.dat
ls -l audiodata.dat /tmp/audiodata.dat # check they're the same length
cp /tmp/audiodata.dat .
S60's English synth isn't always clear. To help, the text
is also displayed on screen, but it's not very big. If you
need to run Gradint without looking, it might be better if
you can generate the lessons on another machine (with a
clearer English synth), or pre-cache the English.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment