fmsynth_parameter class abstract
Parameters for the synth which are unique per FM operator.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- FMSYNTH_PARAM_AMP → const int
- < Linear amplitude for the operator.
- FMSYNTH_PARAM_CARRIERS → const int
- < Set carrier mixing factor. If > 0.0, the operator will generate audio that is mixed into the final output.
- FMSYNTH_PARAM_DELAY0 → const int
- < The time in seconds for the envelope to reach FMSYNTH_PARAM_ENVELOPE_TARGET0.
- FMSYNTH_PARAM_DELAY1 → const int
- < The time in seconds for the envelope to reach FMSYNTH_PARAM_ENVELOPE_TARGET1.
- FMSYNTH_PARAM_DELAY2 → const int
- < The time in seconds for the envelope to reach FMSYNTH_PARAM_ENVELOPE_TARGET2.
- FMSYNTH_PARAM_ENABLE → const int
- < Enable operator if value > 0.5, otherwise, disable.
- FMSYNTH_PARAM_END → const int
- < The number of parameters available.
- FMSYNTH_PARAM_ENSURE_INT → const int
- < Ensure the enum is sizeof(int).
- FMSYNTH_PARAM_ENVELOPE_TARGET0 → const int
- < The linear amplitude reached in the envelope after FMSYNTH_PARAM_DELAY0 seconds. Initial amplitude is 0.
- FMSYNTH_PARAM_ENVELOPE_TARGET1 → const int
- < The linear amplitude reached in the envelope after (FMSYNTH_PARAM_DELAY0 + FMSYNTH_PARAM_DELAY1) seconds.
- FMSYNTH_PARAM_ENVELOPE_TARGET2 → const int
- < The linear amplitide reached in the envelope after (FMSYNTH_PARAM_DELAY0 + FMSYNTH_PARAM_DELAY1 + FMSYNTH_PARAM_DELAY2) seconds.
- FMSYNTH_PARAM_FREQ_MOD → const int
- < Frequency mod factor. The base frequency of the operator is note frequency times the freq mod. E.g. A4 with freq mod of 2.0 would be 880 Hz.
- FMSYNTH_PARAM_FREQ_OFFSET → const int
- < A constant frequency offset applied to the oscillator.
- FMSYNTH_PARAM_KEYBOARD_SCALING_HIGH_FACTOR → const int
- < Amplitude scaling factor pow(note_frequency / SCALING_MID_POINT, SCALING_HIGH_FACTOR) if the key pressed is in the "high" section of the keyboard. Negative values will boost amplitide for lower frequency keys and attenuate amplitude for higher frequency keys. E.g. A value of -1.0 will add a 6 dB attenuation per octave.
- FMSYNTH_PARAM_KEYBOARD_SCALING_LOW_FACTOR → const int
- < Amplitude scaling factor pow(note_frequency / SCALING_MID_POINT, SCALING_LOW_FACTOR) if the key pressed is in the "low" section of the keyboard. Negative values will boost amplitide for lower frequency keys and attenuate amplitude for higher frequency keys. E.g. A value of -1.0 will add a 6 dB attenuation per octave.
- FMSYNTH_PARAM_KEYBOARD_SCALING_MID_POINT → const int
- < The frequency which splits the keyboard into a "low" and "high" section. This frequency only depends on the note itself, not FMSYNTH_PARAM_FREQ_MOD, etc.
- FMSYNTH_PARAM_LFO_AMP_SENSITIVITY → const int
-
< Specifies how much the LFO modulates amplitude.
Modulation factor is: 1.0 + lfo_value * LFO_AMP_SENSITIVITY.
lfo_value has a range of
-1, 1
. - FMSYNTH_PARAM_LFO_FREQ_MOD_DEPTH → const int
-
< Specifies how much the LFO modulates frequency.
Modulation factor is: 1.0 + lfo_value * LFO_FREQ_MOD_DEPTH.
lfo_value has a range of
-1, 1
. - FMSYNTH_PARAM_MOD_TO_CARRIERS0 → const int
-
< Sets how much the operator will modulate carrier
N
. UseFMSYNTH_PARAM_MOD_TO_CARRIERS0 + N
to specify which operator is the modulator target. - FMSYNTH_PARAM_MOD_WHEEL_SENSITIVITY → const int
-
< If 0.0, operator amplitude is independent of mod wheel state.
If 1.0, operator amplitude is fully dependent on mod wheel state.
factor = (1.0 - MOD_WHEEL_SENSITIVITY) + MOD_WHEEL_SENSITIVITY * mod_wheel
.mod_wheel
is normalized to0, 1
. - FMSYNTH_PARAM_PAN → const int
- < Panning for operator when it's used as a carrier. -1.0 is left, +1.0 is right, +0.0 is centered.
- FMSYNTH_PARAM_RELEASE_TIME → const int
- < After releasing the key, the time it takes for the operator to attenuate 60 dB.
- FMSYNTH_PARAM_VELOCITY_SENSITIVITY → const int
-
< Controls velocity sensitivity. If 0.0, operator amplitude is independent of key velocity.
If 1.0, the operator amplitude is fully dependent on key velocity.
factor = (1.0 - VELOCITY_SENSITIVITY) + VELOCITY_SENSITIVITY * velocity
.velocity
is normalized to0, 1
.