com.frinika.synth
Class Oscillator
java.lang.Object
com.frinika.voiceserver.Voice
com.frinika.synth.Oscillator
- Direct Known Subclasses:
- FrinikaBezierVoice, MySampler.SamplingOscillator, MySampler.SoundFontOscillator, PostOscillator, PreOscillator, SamplerOscillator
public abstract class Oscillator
- extends Voice
- Author:
- peter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
frequency
protected float frequency
increment
protected float increment
level
protected float level
position
protected float position
sampleRate
protected int sampleRate
release
protected boolean release
triggeredRelease
protected boolean triggeredRelease
synth
protected Synth synth
Oscillator
public Oscillator(Synth synth)
setNoteNumber
public void setNoteNumber(int noteNumber)
getFrequency
public static final float getFrequency(int noteNumber)
updateIncrement
protected void updateIncrement()
setVelocity
public void setVelocity(int velocity)
release
public void release()