Dragonfly is a popular platform for voice coding, primarily with the Dragon speech engine. However, Silvius can be used as a backend for Dragonfly grammars, as an alternative open-source engine.
Instructions below are for Linux, and are subject to change. They may be adapted for any platform that dragonfly supports.
Install dependencies (python 2.7 required for now):
sudo apt install git python2.7 python-virtualenv python-pip-whl
Install dragonfly-voxhub into local virtual environment:
virtualenv env && source env/bin/activate git clone email@example.com:dwks/dragonfly-voxhub.git --branch int3 \ && cd dragonfly-voxhub \ && pip install -r documentation/requirements.txt \ && python setup.py install \ && cd -
Download the grammar:
git clone firstname.lastname@example.org:dwks/aenea-grammar-main.git --branch voxhub \ && cd aenea-grammar-main
Run and start speaking commands!
To change the microphone from -1 (system default):
# uncomment list_available_microphones() in _all.py python _all.py # set device in voxhub_config.py to desired mic, -1 is system default
The aenea-grammar-main contains my personal grammar which works with aenea, dragonfly, and dragonfly-voxhub. The dragonfly-voxhub integration connects to silvius-server.voxhub.io port 8020 by default, which runs a speech model customized for this specific grammar. The main thing to know about this grammar currently is that once you switch to full english mode e.g. with "word", command recognition is much lower for the rest of the utterance. If you modify the grammar and wish to create a custom speech model, please contact me.