#include <sig_tone.h>
Public Attributes | |
| int | tone_freq [2] |
| The tones used. | |
| int | tone_amp [2] |
| The high and low tone amplitudes. | |
| int | high_low_timeout |
| The delay, in audio samples, before the high level tone drops to a low level tone. | |
| int | sharp_flat_timeout |
| Some signaling tone detectors use a sharp initial filter, changing to a broader band filter after some delay. This parameter defines the delay. 0 means it never changes. | |
| int | notch_lag_time |
| Parameters to control the behaviour of the notch filter, used to remove the tone from the voice path in some protocols. | |
| int | notch_allowed |
| TRUE if the notch may be used in the media flow. | |
| int | tone_on_check_time |
| The tone on persistence check, in audio samples. | |
| int | tone_off_check_time |
| The tone off persistence check, in audio samples. | |
| int | tones |
| ??? | |
| struct { | |
| float notch_a1 [3] | |
| float notch_b1 [3] | |
| float notch_a2 [3] | |
| float notch_b2 [3] | |
| } | tone [2] |
| The coefficients for the cascaded bi-quads notch filter. | |
| float | broad_a [3] |
| Flat mode bandpass bi-quad parameters. | |
| float | broad_b [3] |
| Flat mode bandpass bi-quad parameters. | |
| int32_t | notch_slugi |
| The coefficients for the post notch leaky integrator. | |
| int32_t | notch_slugp |
| ??? | |
| int32_t | unfiltered_slugi |
| The coefficients for the post modulus leaky integrator in the unfiltered data path. The prescale value incorporates the detection ratio. This is called the guard ratio in some protocols. | |
| int32_t | unfiltered_slugp |
| ??? | |
| int32_t | broad_slugi |
| The coefficients for the post modulus leaky integrator in the bandpass filter data path. | |
| int32_t | broad_slugp |
| ??? | |
| int32_t | notch_threshold |
| Masks which effectively threshold the notched, weighted and bandpassed data. | |
| int32_t | unfiltered_threshold |
| ??? | |
| int32_t | broad_threshold |
| ??? | |
Signaling tone descriptor. This defines the working state for a single instance of the transmit and receive sides of a signaling tone processor.
1.6.1