View Single Post
Old 10-25-2011, 02:06 PM   #1
larsanders
Junior Member
larsanders plays well with otherslarsanders plays well with otherslarsanders plays well with otherslarsanders plays well with otherslarsanders plays well with otherslarsanders plays well with otherslarsanders plays well with otherslarsanders plays well with otherslarsanders plays well with otherslarsanders plays well with otherslarsanders plays well with others
 
Posts: 1
Karma: 2600
Join Date: Oct 2011
Device: Kindle
Launchpad-script: TTS speed rate changer

The ordinary TTS speed rates are 80, 100, and 150. In my quest to become a speed hearer, I've had to create a launchpad-script with which you can change the rate beyond these.

Sequence Shift S X decrements the speed rate with 25.
Sequence Shift S C increments the speed rate with 25.
Sequence Shift S V updates the speed rate to a predetermined one, with the default value 220.

Place the script in the Launchpad folder and press the sequence Shift Shift Space to refresh Launchpad. It works for me with firmware 3.2.1 on Kindle 3.

Note that TTS must be enabled when using the script and that the speed rate will be returned to the menu setting when restarted.

PHP Code:
[Actions]
S X = !INCREMENT=-25OLDSPEED=`lipc-get-prop com.lab126.tts TtsISpeed`; NEWSPEED=$(($OLDSPEED+$INCREMENT)); `lipc-set-prop com.lab126.tts TtsISpeed $NEWSPEED`
S C = !INCREMENT=25OLDSPEED=`lipc-get-prop com.lab126.tts TtsISpeed`; NEWSPEED=$(($OLDSPEED+$INCREMENT)); `lipc-set-prop com.lab126.tts TtsISpeed $NEWSPEED`
S V = !NEWSPEED=220; `lipc-set-prop com.lab126.tts TtsISpeed $NEWSPEED
Feel free to use it however you wish and please criticize.
Attached Files
File Type: zip ttsrate.zip (559 Bytes, 305 views)

Last edited by larsanders; 10-25-2011 at 04:03 PM.
larsanders is offline   Reply With Quote