Compressor
with_fx :compressor do
play 50
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Compresses the dynamic range of the incoming signal. Equivalent to automatically turning the amp down when the signal gets too loud and then back up again when it's quite. Useful for ensuring the containing signal doesn't overwhelm other aspects of the sound. Also a general purpose hard-knee dynamic range processor which can be tuned via the arguments to both expand and compress the signal.
|
The amplitude of the sound. Typically a value between 0 and 1. Higher amplitudes may be used, but won't make the sound louder, it will just reduce the quality of all the sounds currently being played (due to compression.) Default: 1 must be zero or greater May be changed whilst playing |
|
Amount of time (in seconds) for the amplitude (amp) to change. A long slide value means that the amp takes a long time to slide from the previous amplitude to the new amplitude. A slide of 0 means that the amplitude instantly changes to the new amplitude. Default: 0 must be zero or greater May be changed whilst playing |
|
The amount (percentage) of FX present in the resulting sound represented as a value between 0 and 1. For example, a mix of 0 means that only the original sound is heard, a mix of 1 means that only the FX is heard (typically the default) and a mix of 0.5 means that half the original and half of the FX is heard. Default: 1 must be a value between 0 and 1 inclusively May be changed whilst playing |
|
Amplification applied to the input signal immediately before it is passed to the FX. Default: 1 must be zero or greater May be changed whilst playing |
|
Amount of time (in seconds) for the pre_amp value to change. A long pre_amp_slide value means that the pre_amp takes a long time to slide from the previous value to the new value. A pre_amp_slide of 0 means that the pre_amp instantly changes to the new value. Default: 0 must be zero or greater May be changed whilst playing |
|
threshold value determining the break point between slope_below and slope_above. Default: 0.2 must be zero or greater May be changed whilst playing |
|
Amount of time (in seconds) for the threshold value to change. A long threshold_slide value means that the threshold takes a long time to slide from the previous value to the new value. A threshold_slide of 0 means that the threshold instantly changes to the new value. Default: 0 must be zero or greater May be changed whilst playing |
|
Time taken for the amplitude adjustments to kick in fully (in seconds). This is usually pretty small (not much more than 10 milliseconds). Also known as the time of the attack phase Default: 0.01 must be zero or greater May be changed whilst playing |
|
Amount of time (in seconds) for the clamp_time value to change. A long clamp_time_slide value means that the clamp_time takes a long time to slide from the previous value to the new value. A clamp_time_slide of 0 means that the clamp_time instantly changes to the new value. Default: 0 must be zero or greater May be changed whilst playing |
|
Slope of the amplitude curve above the threshold. A value of 1 means that the output of signals with amplitude above the threshold will be unaffected. Greater values will magnify and smaller values will attenuate the signal. Default: 0.5 May be changed whilst playing |
|
Amount of time (in seconds) for the slope_above value to change. A long slope_above_slide value means that the slope_above takes a long time to slide from the previous value to the new value. A slope_above_slide of 0 means that the slope_above instantly changes to the new value. Default: 0 must be zero or greater May be changed whilst playing |
|
Slope of the amplitude curve below the threshold. A value of 1 means that the output of signals with amplitude below the threshold will be unaffected. Greater values will magnify and smaller values will attenuate the signal. Default: 1 May be changed whilst playing |
|
Amount of time (in seconds) for the slope_below value to change. A long slope_below_slide value means that the slope_below takes a long time to slide from the previous value to the new value. A slope_below_slide of 0 means that the slope_below instantly changes to the new value. Default: 0 must be zero or greater May be changed whilst playing |
|
Time taken for the amplitude adjustments to be released. Usually a little longer than clamp_time. If both times are too short, you can get some (possibly unwanted) artifacts. Also known as the time of the release phase. Default: 0.01 must be zero or greater May be changed whilst playing |
|
Amount of time (in seconds) for the relax_time value to change. A long relax_time_slide value means that the relax_time takes a long time to slide from the previous value to the new value. A relax_time_slide of 0 means that the relax_time instantly changes to the new value. Default: 0 must be zero or greater May be changed whilst playing |