|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.softsynth.jsyn.SynthPort com.softsynth.jsyn.SynthDataQueue com.softsynth.jsyn.SynthSampleQueue
public class SynthSampleQueue
SynthSampleQueue class for Java Audio Synthesis This class doesn't do much except generate compile-time errors if you accidentally try to queue envelope data on a sample queue.
Method Summary | |
---|---|
void |
queue(int time,
SynthSample sample)
|
void |
queue(int time,
SynthSample sample,
int startFrame,
int numFrames)
Queue all or a portion of this sample to be played once by this SynthUnit. |
void |
queue(SynthSample sample)
|
void |
queue(SynthSample sample,
int startFrame,
int numFrames)
|
void |
queue(SynthSample sample,
int startFrame,
int numFrames,
int flags)
Queue all or a portion of this data to be played once on this SynthSampleQueue. |
void |
queueLoop(int time,
SynthSample sample)
|
void |
queueLoop(int time,
SynthSample sample,
int startFrame,
int numFrames)
Queue all or a portion of this sample to be played in a loop by this SynthUnit. |
void |
queueLoop(SynthSample sample)
|
void |
queueLoop(SynthSample sample,
int startFrame,
int numFrames)
Queue all or a portion of this sample to be played by this SynthUnit in a loop. |
void |
queueOff(int time,
SynthSample sample)
|
void |
queueOff(int time,
SynthSample sample,
boolean ifStop)
Convenience method that will queue the decay portion of a sample, or the gap and release loop portions if they exist. |
void |
queueOff(SynthSample sample)
|
void |
queueOn(int time,
SynthSample sample)
Convenience method that will queue the attack portion of a sample and the sustain loop if it exists. |
void |
queueOn(SynthSample sample)
|
Methods inherited from class com.softsynth.jsyn.SynthDataQueue |
---|
clear, clear, getNumFramesMoved, getNumFramesMoved, queue, queue, queue, queue, queueLoop, queueLoop, queueOff, queueOff, queueOff, queueOn, queueOn |
Methods inherited from class com.softsynth.jsyn.SynthPort |
---|
getAlias, getName, getNumParts, getSignalType, getSignalType, getSound, setAlias, setSignalType, setSignalType, setSignalType, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public void queue(SynthSample sample, int startFrame, int numFrames, int flags) throws SynthException
SynthException
- If queue name is not recognized, or frames
are out of range.public void queue(SynthSample sample, int startFrame, int numFrames) throws SynthException
SynthException
public void queue(SynthSample sample) throws SynthException
SynthException
public void queueLoop(SynthSample sample, int startFrame, int numFrames) throws SynthException
SynthException
- If queue name is not recognized, or frames
are out of range.public void queueLoop(SynthSample sample) throws SynthException
SynthException
public void queue(int time, SynthSample sample, int startFrame, int numFrames) throws SynthException
SynthException
- If queue name is not recognized, or frames
are out of range.public void queue(int time, SynthSample sample) throws SynthException
SynthException
public void queueLoop(int time, SynthSample sample, int startFrame, int numFrames) throws SynthException
SynthException
- If queue name is not recognized, or frames
are out of range.public void queueLoop(int time, SynthSample sample) throws SynthException
SynthException
public void queueOn(int time, SynthSample sample) throws SynthException
SynthException
- TBDpublic void queueOn(SynthSample sample) throws SynthException
SynthException
public void queueOff(int time, SynthSample sample, boolean ifStop) throws SynthException
ifStop
- if true then use Synth.FLAG_AUTO_STOP
SynthException
- TBDpublic void queueOff(int time, SynthSample sample) throws SynthException
SynthException
public void queueOff(SynthSample sample) throws SynthException
SynthException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |