Files
sdrtrunk/src/main/java/io/github/dsheirer/dsp/squelch/ISquelchConfiguration.java
Denny Sheirer 4f8b8e978b #35 Updates AM & NBFM decoders to use Adaptive Squelch, a power squelch that includes an adaptive noise floor monitor. Implements vectorized magnitude operations for AM & FM decoders. Adds talkgroup assignment and squelch controls to AM channel configuration editor. Implements new AM gain control that attempts to normalize audio gain quickly at beginning of call/transmission and maintains that gain across lifecycle of the call and resets the gain for the next call. (#1540)
Notes on usage:
- When using either AM or FM squelch control use either the Heterodyne channelizer or if using the Polyphase channelizer, avoid using trunk tracking decoders like DMR or P25 or set the squelch threshold high enough to avoid changes in noise floor from polyphase channelizer where it can vary between using the one channel or the two-channel combined channel sources.

Co-authored-by: Dennis Sheirer <dsheirer@github.com>
2023-05-07 07:27:44 -04:00

32 lines
724 B
Java

package io.github.dsheirer.dsp.squelch;
/**
* Interface for configurations that support squelch threshold setting.
*/
public interface ISquelchConfiguration
{
/**
* Sets the squelch threshold
* @param threshold (dB)
*/
void setSquelchThreshold(int threshold);
/**
* Squelch threshold
* @return threshold (dB)
*/
int getSquelchThreshold();
/**
* Enable or disable the squelch noise floor auto-track feature.
* @param autoTrack true to enable.
*/
void setSquelchAutoTrack(boolean autoTrack);
/**
* Indicates if the squelch noise floor auto-track feature is enabled.
* @return true if enabled.
*/
boolean isSquelchAutoTrack();
}