From e1294938233b49d9be8f08d7e4ec7868c538e728 Mon Sep 17 00:00:00 2001 From: Jezra Date: Sun, 15 Mar 2015 10:17:07 -0700 Subject: Added example for -p flag to README --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 6b3e365..0367252 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,17 @@ To run blather with the GTK UI and start in continuous listen mode: To run blather with no UI and using a USB microphone recognized and device 2: `./Blather.py -m 2` + +To have blather pass the matched sentence to the executing command: + `./Blather -p` + + **explanation:** if the commands.conf contains: + **good morning world : example_command.sh** + then 3 arguments, 'good', 'morning', and 'world' would get passed to example_command.sh as + `example_command.sh good morning world` + + + ###Finding the Device Number of a USB microphone There are a few ways to find the device number of a USB microphone. -- cgit 1.4.1