public class WhistleShape extends java.lang.Object implements java.lang.Comparable<WhistleShape>
Modifier and Type | Method and Description |
---|---|
void |
addPeak(WhistlePeak peak)
Add a new peak to the contour
|
int |
compareTo(WhistleShape w)
Compare this whistle to that of another whistle
|
double |
getDBAmplitude() |
WhistlePeak |
getLastPeak() |
int |
getMaxFreq() |
int |
getMinFreq() |
WhistlePeak |
GetPeak(int iP)
Get the reference ot a peak at a specific reference
|
int |
getSliceCount() |
void |
setDBAmplitude(double amplitude) |
public void addPeak(WhistlePeak peak)
peak
- reference to a WhistlePeakWhistlePeak
public int getSliceCount()
public WhistlePeak GetPeak(int iP)
iP
- Peak index within the contourWhistlePeak
public int compareTo(WhistleShape w)
compareTo
in interface java.lang.Comparable<WhistleShape>
w
- Reference to a different Whistlepublic WhistlePeak getLastPeak()
public int getMaxFreq()
public int getMinFreq()
public double getDBAmplitude()
public void setDBAmplitude(double amplitude)
amplitude
- The dBAmplitude to set.