Difference between revisions of "SeriousBusinessOfChildren"

From Robert-Depot
Jump to: navigation, search
(Created page with "=Howto= *render a drawing at 17,20: <syntaxhighlight lang="bash">./render_gcode.py -width 15.0 -offset 17.0,12.0 /Volumes/Work/Recordings/drawings/postcard/postcard_r.txt > te...")
 
(Howto)
Line 1: Line 1:
 +
=Phoneme Decoding with Pocketsphinx=
 +
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 -beam 1e-20 -pbeam 1e-20 -lw 2.0 -inmic yes</syntaxhighlight>
 +
mic input
 +
<syntaxhighlight lang="bash">pocketsphinx_continuous -allphone -inmic yes</syntaxhighlight>
 
=Howto=
 
=Howto=
 
*render a drawing at 17,20:
 
*render a drawing at 17,20:

Revision as of 06:39, 23 September 2015

Phoneme Decoding with Pocketsphinx

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