Using effects - guyjbrown/bleepmanual GitHub Wiki

Effects such as reverberation ("reverb"), delay and chorus can make a huge difference to how your music sounds. Bleep provides a lot of different effects that are listed here.

You can think of each effect as like a guitar effects pedal. Bleep allows you to connect effects together in a very flexible way.

Effects can be chained together so that the output of one goes into the next. For example, you could pass a synth or sample through a chain of effects such as distortion -> chorus -> reverberation. To do this, we think of the effects chain as a stack and use commands to push effects onto the stack or pop them off.

Think of this as a stack of plates. Each plate is an effect. The signal to be effected comes in at the bottom of the stack and exits from the top. push_fx adds a plate (effect) to the top of the stack. pop_fx removes a plate (effect) from the top of the stack. You can also add parameters to change how the effect works.

For example:

push_fx("chorus",{wetLevel=0.8,dryLevel=0.2})
push_fx("reverb_large",{wetLevel=0.4})

Any sound produced by a synth or sampler now goes through a chorus first and then a reverb. The wetLevel and dryLevel control how much of the effected (wet) and uneffected (dry) sound are passed through to the next stage.

If we now do

pop_fx()

then the last thing added to the effects chain (the reverb) is removed and the sound is now processed by the chorus only.