Name FM_Clang
Created At 2017-10-07 10:42pm
Submitted By stevenyi
Type blue.orchestra.BlueSynthBuilder

Cabbage original written by Iain McCurdy, 2014
Blue Instrument version translated and extended by Steven Yi, 2017.10.06


An FM synthesis based instrument that specialises in creating percussive metallic 'clang'-like sounds.

AMPLITUDE - controls pertaining to the control of each notes amplitude
Level - Global amplitude control
Attack - Attack time. Actually just a small range of control but increasing it can soften the attack subtly
Vel.Att. - Degree to which lower note velocities lengthen attack time.
Duration - Duration of the overall amplitude decay. Note that depending on other settings notes may actually sound for a shorter time.
Sustain - Similar to the effect of a sustain pedal being depressed.

MODULATOR - controls pertaining to the modulator in the FM algorithm
Ratio - Ratio of the modulator frequency to that of the carrier.
Vel.Index - Index of modulation. This is also always dependent upon note velocity.
Decay - Rate of decay of the index. This is heard as the rate of loss of spectral energy or damping.

CARRIER - controls pertaining to the carrier in the FM algorithm
Kyb.Scale - Keyboard scaling of the carrier frequency. Zero means that frequencies follow normal keyboard temperament.
Values less than zero mean that frequency intervals from note to note will be compressed.
Values greater than zero mean that frequency intervals from note to note will be expanded.

DETUNE - Two FM carrier/modulator pairings can be created with a detuning offset between them to create beating effects.
Detuning will also be unique (and repeatable) from note to note to give the instrument character.
Mix - Amplitude of the second FM pair. This will control the amplitude of beating (amplitude modulation) effects resulting from the detuning.
Amount - Amplitude of the detuning intervals

STEREO - A stereo broadening effect by applying short delays to the left and right channels. The exact durations of the delays will be unique (and repeatable) from note to note to give the instrument character.
Dry/Wet - A dry/wet control of this effect
Width - A control of the durations of the delays which is heard as a control of the stereo width of the effect.

NOISE - Filtered gaussian noise can be added to the modulator ratio to add discordancy to the tone.
Amount - Amplitude of the gaussian noise signal
Filter - Narrowness of the bandpass filtering applied to the gaussian noise
Follow Modulator (checkbox) - Selects whether the bandpass filter follows the modulator frequency. If 'off' it simply follows the carrier frequency.

LFO - A sine shaped LFO added to the modulator ratio of an auxilliary FM pair which is then mixed to an unmodulated pair. This can introduce spectral modulation, as in a bell swinging back and forth as it rings.
Mix - Amount of modulated signal mixed into the output.
Depth - Depth of the LFO modulation.
Rate - Rate of the LFO modulation.
Kybd.Follow - Extend to which the rate of LFO modulation follows keyboard notes - keyboard following means that lower notes will modulate at lower frequencies, higher notes will modulate at higher frequencies.

FILTER - Filtering of the sound
LPF - A lowpass filter that follows the fundemental frequency of the FM pair
Filter Fundemental (checkbox) - If active, the fundemental will be filtered off.

REVERB - a reverb effect using the freeverb opcode

USE MIDI PFIELDS - Allow working with p4=MIDI Key (0-127), p5=MIDI Vel (0-127), or with p4=PCH or Freq, p5 = amdbfs [-96, 0]


* Blue 2.7.1
* Csound 6+



* Translated to Blue from Cabbage, added non-MIDI value pfield operation of instrument