TONEDEBUG(1) | Voicetronix Telephony Tools | TONEDEBUG(1) |
tonedebug - Test parameters for the libvpb programmable tone detector
tonedebug [options]
The tonedebug utility assists with quickly testing tone detector parameters against the signals they are intended to detect. It has three main modes of operation for testing single continuous or pulsed tones, or for testing a set of tones specified in the environment.
The following common options apply for all modes:
To run tonedebug using the settings specified with the VPB_TONE environment variables, call it with the -e option. For example:
$ tonedebug -e --port 4 -w my.wav
Will use the enviroment settings to try and detect tones from my.wav played into port 4 of card 0. There are no other options specific to this mode.
If passed the -c option, then the tonedebug utility will test parameters suitable for a continuous tone. For example:
$ tonedebug -c 425 100 2000 -w dialtone.wav -t dial
Will try to detect 2 seconds of 425Hz tone from dialtone.wav, played into port 0 of card 0. If it succeeds it will report a dial event. The following additional options may be used in this mode:
The -p options will enable testing for pulsed tones. In addition to the common options and the options for continuous tones, the following options are supported in this mode:
We rely on an echo from the hardware to feed the signal into the tone detector. This should be fixed to feed it in directly at some stage in the future.
Ron Lee, David Rowe, Voicetronix <support@voicetronix.com.au>
This manual page was written by Ron <ron@debian.org>, for the Debian project (but may be used by others).
February 2, 2007 | VPB driver package |