Skip to content

Instantly share code, notes, and snippets.

View andy5995's full-sized avatar

Andy Alt andy5995

View GitHub Profile
-warp_params
-warp_type inverse_linear inverse_linear
-wbeam 7e-29 7.000000e-29
-wip 0.65 6.500000e-01
-wlen 0.025625 2.562500e-02
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff19af43a in ps_reinit ()
from /usr/lib/x86_64-linux-gnu/libpocketsphinx.so.3
andy@oceanus:~/src/up-for-grabs.net$ npm -g install generator-up-for-grabs
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN checkPermissions Missing write access to /usr/lib/node_modules
/usr/lib
└─┬ [email protected]
├─┬ [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
andy@oceanus:~/src/blather$ ./Blather.py
# commands are key:value pairs
# key is the sentence to listen for
# value is the command to run when the key is spoken
hello world:echo "hello world"
andy@oceanus:~/src/blather$ ./Blather.py
/home/andy/src/blather/Recognizer.py:7: PyGIWarning: Gst was imported without specifying a version first. Use gi.require_version('Gst', '1.0') before import to ensure that the right version gets loaded.
from gi.repository import GObject, Gst
# commands are key:value pairs
# key is the sentence to listen for
# value is the command to run when the key is spoken
#include <stdio.h>
#include <stdlib.h>
#define MAXLEN 80
#define EXTRA 5
/* 4 for field name "data", 1 for "=" */