Difference between revisions of "SeriousBusinessOfChildren"

From Robert-Depot
Jump to: navigation, search
(Howto)
(Phoneme Decoding with Pocketsphinx)
 
Line 1: Line 1:
 
=Phoneme Decoding with Pocketsphinx=
 
=Phoneme Decoding with Pocketsphinx=
 +
http://cmusphinx.sourceforge.net/wiki/phonemerecognition
 +
 +
'''Examples'''
 
with backtrace
 
with backtrace
 
<syntaxhighlight lang="bash">pocketsphinx_continuous -hmm model/en-us/en-us -allphone model/en-us/en-us-phone.lm.bin -backtrace yes -beam 1e-20 -pbeam 1e-20 -lw 2.0 -inmic yes</syntaxhighlight>
 
<syntaxhighlight lang="bash">pocketsphinx_continuous -hmm model/en-us/en-us -allphone model/en-us/en-us-phone.lm.bin -backtrace yes -beam 1e-20 -pbeam 1e-20 -lw 2.0 -inmic yes</syntaxhighlight>
Line 5: Line 8:
 
mic input
 
mic input
 
<syntaxhighlight lang="bash">pocketsphinx_continuous -allphone -inmic yes</syntaxhighlight>
 
<syntaxhighlight lang="bash">pocketsphinx_continuous -allphone -inmic yes</syntaxhighlight>
 +
 
=Howto=
 
=Howto=
 
*render a drawing at 17,20:
 
*render a drawing at 17,20:

Latest revision as of 06:51, 23 September 2015

Phoneme Decoding with Pocketsphinx

http://cmusphinx.sourceforge.net/wiki/phonemerecognition

Examples with backtrace

pocketsphinx_continuous -hmm model/en-us/en-us -allphone model/en-us/en-us-phone.lm.bin -backtrace yes -beam 1e-20 -pbeam 1e-20 -lw 2.0 -inmic yes
pocketsphinx_continuous -hmm model/en-us/en-us -allphone model/en-us/en-us-phone.lm.bin -beam 1e-20 -pbeam 1e-20 -lw 2.0 -inmic yes

mic input

pocketsphinx_continuous -allphone -inmic yes

Howto

  • render a drawing at 17,20:
./render_gcode.py -width 15.0 -offset 17.0,12.0 /Volumes/Work/Recordings/drawings/postcard/postcard_r.txt > test.nc
  • stream to drawing machine:
./stream.py test.nc /dev/tty.usbserial-A9ILTBNV
  • connect to drawing machine on port:
screen /dev/tty.usbserial-A9ILTBNV 115200