|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tritonus.share.sampled.FloatSampleBuffer
uk.org.toot.audio.delay.DelayBuffer
public class DelayBuffer
A DelayBuffer is a FloatSampleBuffer with convenience methods for delayed signals, either buffered or unbuffered. The buffered methods are efficient for static delays, the unbuffered methods are useful for modulated delays.
Field Summary |
---|
Fields inherited from class org.tritonus.share.sampled.FloatSampleBuffer |
---|
DITHER_MODE_AUTOMATIC, DITHER_MODE_OFF, DITHER_MODE_ON |
Constructor Summary | |
---|---|
DelayBuffer(int channelCount,
int sampleCount,
float sampleRate)
|
Method Summary | |
---|---|
void |
append(org.tritonus.share.sampled.FloatSampleBuffer source)
Appends to this sample buffer, the data in source . |
void |
append(org.tritonus.share.sampled.FloatSampleBuffer source1,
org.tritonus.share.sampled.FloatSampleBuffer source2,
float level2)
Appends to this sample buffer, the data in source1 + source2 * level2
It's particularly useful for multitapped delays. |
void |
append(int chan,
float value)
Append a single value to one channel of this buffer. |
void |
conform(org.tritonus.share.sampled.FloatSampleBuffer buf)
|
float |
msToSamples(float ms)
|
void |
nudge(int on)
|
float |
out(int chan,
float delay)
|
void |
tap(org.tritonus.share.sampled.FloatSampleBuffer buf,
int delay,
float weight)
|
void |
tap(int ch,
org.tritonus.share.sampled.FloatSampleBuffer buf,
int delay,
float weight)
|
Methods inherited from class org.tritonus.share.sampled.FloatSampleBuffer |
---|
addChannel, changeSampleCount, checkFormatSupported, convertToByteArray, convertToByteArray, convertToByteArray, copy, copy, copyChannel, copyChannel, copyTo, copyTo, expandChannel, getAllChannels, getByteArrayBufferSize, getByteArrayBufferSize, getChannel, getChannelCount, getDitherBits, getDitherMode, getSampleCount, getSampleRate, init, init, initFromByteArray, initFromByteArray, initFromFloatSampleBuffer, insertChannel, insertChannel, linearFade, linearFade, linearFade, makeSilence, makeSilence, makeSilence, makeSilence, mix, mix, mixDownChannels, removeChannel, removeChannel, reset, reset, setDitherBits, setDitherMode, setRawChannel, setSampleCount, setSampleRate, setSamplesFromBytes, writeByteBuffer |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DelayBuffer(int channelCount, int sampleCount, float sampleRate)
Method Detail |
---|
public void nudge(int on)
public void append(int chan, float value)
public void append(org.tritonus.share.sampled.FloatSampleBuffer source)
source
.
Performs an efficient array copy.
public void append(org.tritonus.share.sampled.FloatSampleBuffer source1, org.tritonus.share.sampled.FloatSampleBuffer source2, float level2)
source1 + source2 * level2
It's particularly useful for multitapped delays.
public float out(int chan, float delay)
public void tap(org.tritonus.share.sampled.FloatSampleBuffer buf, int delay, float weight)
public void tap(int ch, org.tritonus.share.sampled.FloatSampleBuffer buf, int delay, float weight)
public void conform(org.tritonus.share.sampled.FloatSampleBuffer buf)
public float msToSamples(float ms)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |