InstrumentBaseF

float calculations instrument base class

Members

Functions

calcParams
void calcParams()
Undocumented in source. Be warned that the author may not have intended to support it.
interpolateParams
void interpolateParams(int frameCount)
Undocumented in source. Be warned that the author may not have intended to support it.
onFormatChanged
void onFormatChanged()
Undocumented in source. Be warned that the author may not have intended to support it.
updateController
bool updateController(ControllerId id, int value)

returns true if controller value is set, false for unknown controller

Variables

_chorus
InterpolatorF _chorus;
Undocumented in source.
_controller1
InterpolatorF _controller1;
Undocumented in source.
_distortion
InterpolatorF _distortion;
Undocumented in source.
_gain
InterpolatorF _gain;
Undocumented in source.
_noise
InterpolatorF _noise;
Undocumented in source.
_pitch
Interpolator _pitch;
Undocumented in source.
_targetChorus
float _targetChorus;
Undocumented in source.
_targetDistortion
float _targetDistortion;
Undocumented in source.
_targetNoise
float _targetNoise;
Undocumented in source.
_targetVibratoAmount
float _targetVibratoAmount;
Undocumented in source.
_targetVibratoFreq
float _targetVibratoFreq;
Undocumented in source.
_vibratoAmount
InterpolatorF _vibratoAmount;
Undocumented in source.
_vibratoFreq
Interpolator _vibratoFreq;
Undocumented in source.

Inherited Members

From Instrument

_id
string _id;
Undocumented in source.
_name
dstring _name;
Undocumented in source.
_yAxisControllerId
ControllerId _yAxisControllerId;
Undocumented in source.
name
dstring name [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
id
string id [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
_targetPitch
float _targetPitch;
Undocumented in source.
_targetGain
float _targetGain;
Undocumented in source.
_attack
int _attack;
Undocumented in source.
_release
int _release;
Undocumented in source.
getControllers
immutable(Controller)[] getControllers()

returns list of supported controllers

updateController
bool updateController(ControllerId id, int value)

returns true if controller value is set, false for unknown controller

setYAxisController
void setYAxisController(ControllerId controllerId)
Undocumented in source. Be warned that the author may not have intended to support it.
setSynthParams
void setSynthParams(float pitch, float gain, float controller1)
Undocumented in source. Be warned that the author may not have intended to support it.
freqToStepMul256
int freqToStepMul256(float freq)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta