Skip to content
Snippets Groups Projects
user avatar
Benoit Favre authored
56635e22
History
Deps:

- gtk3 for python2 (package is python2-gobject in archlinux, as well as gtk3)
- liblo with python2 bindings (OSC library)
- get and compile https://github.com/alumae/gst-kaldi-nnet2-online (which requires kaldi)

Install:

./download-models.sh

copy libgstkaldionline2.so to ./asr/ or change GST_PLUGIN_PATH in main.py to point to its directory

Run:

python2 main.py

Doc:

developing with pygtk3: http://lazka.github.io/pgi-docs/, https://python-gtk-3-tutorial.readthedocs.org/en/latest/

Todo:

- refactor:
events = click action or words to resynchronize ?
global action send which deals with
    - show a warning (optional)
    - sned action through osc
    - show an action performed message (message log with timing?)
add global timer which shows elapsed time
change xml view to reflect already performed actions, already recognized text
configuration for osc

make configuration box persistant