Osciller

Undocumented in source.

Constructors

this
this(int[] wavetable, int scale, int offset)
Undocumented in source.

Members

Functions

rescale
void rescale(int scale, int offset)
Undocumented in source. Be warned that the author may not have intended to support it.
resetPhase
void resetPhase()
Undocumented in source. Be warned that the author may not have intended to support it.
setPitch
void setPitch(double freq, int samplesPerSecond)

set step based on pitch frequency (Hz) and samples per second

setStep
void setStep(int step_mul_256)
Undocumented in source. Be warned that the author may not have intended to support it.
step
int step(int step_mul_256)
Undocumented in source. Be warned that the author may not have intended to support it.
step
int step()
Undocumented in source. Be warned that the author may not have intended to support it.
stepMultiply
int stepMultiply(int n)
Undocumented in source. Be warned that the author may not have intended to support it.
stepMultiply
int stepMultiply(int n, int gain)
Undocumented in source. Be warned that the author may not have intended to support it.
stepWithGain
int stepWithGain(int step_mul_256, int gain)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_offset
int _offset;
Undocumented in source.
_origWavetable
int[] _origWavetable;
Undocumented in source.
_phase
int _phase;
Undocumented in source.
_scale
int _scale;
Undocumented in source.
_step
int _step;
Undocumented in source.
_wavetable
int[] _wavetable;
Undocumented in source.

Meta