public class RWESound
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int[] |
highFreq |
int[] |
lowFreq |
int |
maxOT |
double |
noise |
double[] |
peakAmp |
int[] |
peakFreq |
boolean |
peakStolen |
double |
signal |
int |
sliceCount |
int[] |
sliceList |
int |
soundType |
Constructor and Description |
---|
RWESound(long timeMilliseconds,
RWEDetectionPeak aPeak,
int numOT) |
Modifier and Type | Method and Description |
---|---|
void |
addPeak(int sliceNum,
RWEDetectionPeak newPeak,
int numOT)
Add a new peak to extend the slice.
|
void |
extendAllocation()
Add one more bin to everything in the sound
|
static int |
getNumSoundTypes() |
java.lang.String |
getTypeString() |
static java.lang.String |
getTypeString(int soundType) |
public boolean peakStolen
public int sliceCount
public int[] sliceList
public int[] lowFreq
public int[] highFreq
public int[] peakFreq
public double[] peakAmp
public double signal
public double noise
public int maxOT
public int soundType
public RWESound(long timeMilliseconds, RWEDetectionPeak aPeak, int numOT)
public void extendAllocation()
public void addPeak(int sliceNum, RWEDetectionPeak newPeak, int numOT)
sliceNum
- slice num relative to start of soundnewPeak
- new peak with associated data.numOT
- number of bins over threshold.public java.lang.String getTypeString()
public static java.lang.String getTypeString(int soundType)
public static int getNumSoundTypes()