pchero / asterisk-tiresias

Audio fingerprinting and recognition module for the Asterisk
MIT License
10 stars 4 forks source link

Add the ignore frequency info #4

Closed pchero closed 6 years ago

pchero commented 6 years ago

Add the ignore frequency info

pchero commented 6 years ago

Add the ignore frequency option to the application.

Syntax

Tiresias(<contaxt name>,<duration>,[tolerance],[freq_ignore_low],[freq_ignore_high])

* context name: Context name.
* duration: Duration time(milliseconds).
* tolerance: Tolerance score.
* freq_ignore_low: frequency ignore low
* freq_ignore_high: frequency ignore high

If freq_ignore_low or freq_ignore_high sets, the frequency between freq_ignore_low and freq_ignore_high would be evaluated only.

freq_ignore_low < frequency < freq_ignore_high

pchero commented 6 years ago

Done.