mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-16 08:49:01 +00:00
Merge pull request #933 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:feature/FS-9447-avmd-increase-default-number-of-samples to master
* commit 'fb065a148aca5925dd13893c80bdb60c7f459cc3': FS-9447: [mod_avmd] increase default value of samples to skip
This commit is contained in:
commit
4d7a67dfb8
@ -8,12 +8,14 @@
|
|||||||
|
|
||||||
<!-- Global settings -->
|
<!-- Global settings -->
|
||||||
|
|
||||||
<!-- define/undefine this to enable/disable printing of avmd
|
<!-- define/undefine this to enable/disable logging of avmd
|
||||||
intermediate computations to log -->
|
intermediate computations to log -->
|
||||||
<param name="debug" value="0"/>
|
<param name="debug" value="0"/>
|
||||||
|
|
||||||
<!-- define/undef this to enable/disable reporting of beep
|
<!-- define/undef this to enable/disable verbose logging (and reporting to the console)
|
||||||
detection status after session ended -->
|
of detection status and other diagnostics like parameters avmd session has been started with,
|
||||||
|
change of configuration parameters, beep detection status after session ended
|
||||||
|
(stop event is fired independently of this setting and beep status included there) -->
|
||||||
<param name="report_status" value="1"/>
|
<param name="report_status" value="1"/>
|
||||||
|
|
||||||
<!-- define/undefine this to enable/disable faster computation
|
<!-- define/undefine this to enable/disable faster computation
|
||||||
@ -33,12 +35,15 @@
|
|||||||
<param name="require_continuous_streak" value="1"/>
|
<param name="require_continuous_streak" value="1"/>
|
||||||
|
|
||||||
<!-- required number of consecutive elements in the SMA buffer
|
<!-- required number of consecutive elements in the SMA buffer
|
||||||
without reset -->
|
without reset. This parameter helps to avoid false beeps, bigger this value is
|
||||||
|
smaller the probability of getting false detection -->
|
||||||
<param name="sample_n_continuous_streak" value="15"/>
|
<param name="sample_n_continuous_streak" value="15"/>
|
||||||
|
|
||||||
<!-- define number of samples to skip starting from the beginning
|
<!-- define number of samples to skip starting from the beginning
|
||||||
of the frame and after reset -->
|
of the frame and/or after reset has happened. This serves the purpose of skipping first few
|
||||||
<param name="sample_n_to_skip" value="6"/>
|
estimations on each frame, as these estimations may be inaccurate. This parameter also helps
|
||||||
|
to give more robust detections when it's value is increased (up to scertain limit of about 60). -->
|
||||||
|
<param name="sample_n_to_skip" value="15"/>
|
||||||
|
|
||||||
<!-- define/undefine this to enable/disable simplified estimation
|
<!-- define/undefine this to enable/disable simplified estimation
|
||||||
of frequency based on approximation of sin(x) with (x)
|
of frequency based on approximation of sin(x) with (x)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user