Last active
September 15, 2015 00:15
-
-
Save psanford/5906fcf63c0a06d11031 to your computer and use it in GitHub Desktop.
dvb dtv scanning notes
This file contains 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 the signal strength out loud | |
script -c "azap -c ~/.mplayer/channels.conf -r 'KNTV HD'" /dev/null | perl -nl -e '$|=1; /signal ([a-zA-Z0-9]+).*FE_HAS_LOCK/; `echo $1 | festival --tts`; ' | |
#yes or no | |
script -c "azap -c ~/.mplayer/channels.conf -r 'KNTV HD'" /dev/null | tee /tmp/azap | perl -nl -e '$|=1; /signal ([a-zA-Z0-9]+).*FE_HAS_LOCK/; $out=$1 eq "541d" ? "no": "yes" ; `echo $out | festival --tts` ; ' | |
# edit /usr/share/festival/voices/english/kal_diphone/festvox/kal_diphone.scm to adjust speech rate | |
(Parameter.set 'Duration_Stretch 0.5) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment