com.frinika.synth.synths
Class MySampler.SoundFontOscillator
java.lang.Object
com.frinika.audio.Voice
com.frinika.synth.Oscillator
com.frinika.synth.synths.MySampler.SoundFontOscillator
- Enclosing class:
- MySampler
public class MySampler.SoundFontOscillator
- extends Oscillator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MySampler.SoundFontOscillator
public MySampler.SoundFontOscillator(Synth synth,
int noteNumber,
int velocity)
addLayer
public void addLayer(MySampler.SoundFontOscillator osc)
terminate
public void terminate()
setNoteNumber
public void setNoteNumber(int noteNumber,
float customFineTune,
float customPan)
fillBuffer
public final void fillBuffer(int startBufferPos,
int endBufferPos,
float[] buffer)
- Description copied from class:
Voice
- This is where the raw audio data should be produced. The passed in buffer contains the
audio data from the previous voice in the chain, thus new data should just be added
to the buffer. It's important to just fill within the start and stop positions, because
this is how the interrupt functions control that parameter modification occur at the
right place.
- Specified by:
fillBuffer
in class Voice