|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class provides the representation of a sample sound.
Method Summary | |
---|---|
int |
checkGroupGap(int lastEnd,
int nextStart)
Check the gap between the given groups. |
int |
getActualMaxGroupGap()
Get the actual maximum group gap. |
int |
getActualMaxOneLength()
Get the actual maximum one length. |
int |
getActualMaxZeroLength()
Get the actual maximum zero length. |
int |
getActualMinGroupGap()
Get the actual minimum group gap. |
int |
getActualMinOneLength()
Get the actual minimum one length. |
int |
getActualMinZeroLength()
Get the actual minimum zero length. |
void |
initialize()
Initialize this object ready for processing a sample. |
int |
processWave(int waveStart,
int waveEnd,
int amplitude,
int minLength,
int maxLength,
int currentPos)
Process a wave. |
void |
setWaveIdentifier(WaveIdentifier identifier)
Set the object to be used to identify waves. |
Method Detail |
public void setWaveIdentifier(WaveIdentifier identifier)
identifier
- The wave identifier.public void initialize()
public int processWave(int waveStart, int waveEnd, int amplitude, int minLength, int maxLength, int currentPos)
waveStart
- The start of the wave.waveEnd
- The end of the wave.amplitude
- The amplitude of the wave.minLength
- The minimum allowed wavelength.maxLength
- The maximum allowed wavelength.currentPos
- The current sample position.
public int checkGroupGap(int lastEnd, int nextStart)
lastEnd
- The last group end.nextStart
- The next group start.
public int getActualMinGroupGap()
public int getActualMaxGroupGap()
public int getActualMinZeroLength()
public int getActualMaxZeroLength()
public int getActualMinOneLength()
public int getActualMaxOneLength()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |