Class SpectrogramThreshold
java.lang.Object
spectrogramNoiseReduction.SpecNoiseMethod
spectrogramNoiseReduction.threshold.SpectrogramThreshold
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intprotected ThresholdParams - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionintgetDelay()Get a longer description of the method in html format for hover texts in dialogs.Get a component to include in the overall noise reductino dialoggetName()Get a name for the method.getNode()Get the FX node for the spectrogram method.Get the noise params for this method for storage between eunsbooleaninitialise(int channelMap) Set up the noise reduction processvoidpickEarlierData(ComplexArray fftData, ComplexArray complexArray) go through an array of other data, and copy data that's in earlyData into thresholdData if the threhsoldData is > 0;booleanrunNoiseReduction(FFTDataUnit fftDataUnit) Run the noise reduction on the data in place.booleansetParams(Serializable noiseParams) Set the params for this method - will check class is OK before casting.Methods inherited from class spectrogramNoiseReduction.SpecNoiseMethod
getAnnotation 
- 
Field Details
- 
OUTPUT_BINARY
public static final int OUTPUT_BINARY- See Also:
 
 - 
OUTPUT_INPUT
public static final int OUTPUT_INPUT- See Also:
 
 - 
OUTPUT_RAW
public static final int OUTPUT_RAW- See Also:
 
 - 
thresholdParams
 
 - 
 - 
Constructor Details
- 
SpectrogramThreshold
public SpectrogramThreshold() 
 - 
 - 
Method Details
- 
getDialogComponent
Description copied from class:SpecNoiseMethodGet a component to include in the overall noise reductino dialog- Specified by:
 getDialogComponentin classSpecNoiseMethod- Returns:
 - component
 
 - 
getName
Description copied from class:SpecNoiseMethodGet a name for the method.- Specified by:
 getNamein classSpecNoiseMethod- Returns:
 - String
 
 - 
getDescription
Description copied from class:SpecNoiseMethodGet a longer description of the method in html format for hover texts in dialogs.- Specified by:
 getDescriptionin classSpecNoiseMethod- Returns:
 - html description
 
 - 
getDelay
public int getDelay()- Specified by:
 getDelayin classSpecNoiseMethod- Returns:
 - the delay imposed on the data by this operation.
 
 - 
getParams
Description copied from class:SpecNoiseMethodGet the noise params for this method for storage between euns- Specified by:
 getParamsin classSpecNoiseMethod- Returns:
 
 - 
initialise
public boolean initialise(int channelMap) Description copied from class:SpecNoiseMethodSet up the noise reduction process- Specified by:
 initialisein classSpecNoiseMethod- Returns:
 - true if initialised OK.
 
 - 
runNoiseReduction
Description copied from class:SpecNoiseMethodRun the noise reduction on the data in place.- Specified by:
 runNoiseReductionin classSpecNoiseMethod- Returns:
 - true if ran OK/
 
 - 
pickEarlierData
go through an array of other data, and copy data that's in earlyData into thresholdData if the threhsoldData is > 0;- Parameters:
 fftData- data to pick from (generally raw input fft data to noise process)binaryChoice- output from runNoiseReduction()
 - 
setParams
Description copied from class:SpecNoiseMethodSet the params for this method - will check class is OK before casting.- Specified by:
 setParamsin classSpecNoiseMethod- Parameters:
 noiseParams-- Returns:
 - true if parameters match
 
 - 
getThresholdParams
 - 
getNode
Description copied from class:SpecNoiseMethodGet the FX node for the spectrogram method.- Specified by:
 getNodein classSpecNoiseMethod- Returns:
 - the FX node for the spectrogram method.
 
 
 -