Compressor missing from effects list
-
Being that there is no gui way to add a compressor to a project (that I can find), I search the documentation for compressor, and all it says is this.
jdsp.jcompressor
With no further explanation.
Since I am not a coder, I don't know what to do with that.Ai tells me the following:
To add a compressor in HISE, you can use Faust compressors. However, it's important to note that the Faust compressors do not output an attenuated signal; instead, they output the attenuation value. Therefore, you need to multiply your input signal with the results of the compressor to achieve the desired effect.
Here is an example Faust code snippet for a compressor:
import("stdfaust.lib");
strength = hslider("Strength", 0, 0, 1, 0.01); // strength of the compression (0 = no compression, 1 means hard limiting, >1 means over-compression)
thresh = hslider("Thresh", 0, -60, 0, 0.1); // dB level threshold above which compression kicks in
att = hslider("Attack", 0, 0, 2, 0.01); // attack time = time constant (sec) when level & compression going up
rel = hslider("Release", 0, 0, 3, 0.01); // release time = time constant (sec) coming out of compression
knee = hslider("knee", 0, 0, 8, 0.1); // gradual increase in gain reduction around the thresholdcompress(left,right) = left,right : co.RMS_compression_gain_N_chan(strength,thresh,att,rel,knee,1,0,2) : *(left), *(right);
process = compress;
After adding the compressor code, you should multiply the input signal with the compressor's output to apply the compression effect correctly. This can be done by modifying the process line to include the multiplication step:process = input : compress : *(input);
This ensures that the input signal is appropriately attenuated based on the compressor's output.Can anyone elaborate?
-
@pcs800 said in Compressor missing from effects list:
Use the one called "Dynamics". It has a compressor included :)
-
@bendurso That was it, thanks!