Files
sdrtrunk/src/spectrum/SpectralDisplayAdjuster.java
denny 70e62ebb35 Adds airspy USB tuner support and updates the spectral display
component.

-Airspy supported with 10 and 2.5 MSps sample rates.  Additional
decimation may be added later.

-Spectral display updated to include smoothing and filtering options.

Note: the decimated output of a tuner channel from the airspy is
48,076.9 samples per second, versus the normal 48 kHz decimated rate.
This is 1.0015 times the normal rate and doesn't appear to impact the
decoders or audio processing.  Therefore, no fractional resampling has
been added.
2015-11-07 08:18:41 -05:00

31 lines
717 B
Java

package spectrum;
import dsp.filter.smoothing.SmoothingFilter.SmoothingType;
public interface SpectralDisplayAdjuster
{
/**
* Gets the averaging value indicating the number of FFT results that are
* averaged to produce each FFT results output.
*
* @return averaging value ( 2 - 50 )
*/
public int getAveraging();
public void setAveraging( int averaging );
/**
* Sets the smoothing filter averaging window width.
*
* Valid values are odd in the range 3 - 29
*/
public int getSmoothing();
public void setSmoothing( int smoothing );
/**
* Sets the type of smoothing filter to use.
*/
public SmoothingType getSmoothingType();
public void setSmoothingType( SmoothingType type );
}