Reverb For The People!
with_fx :bitcrusher, bits: 9, sample_rate: 5000 play 60 end
What is wrong with this code?
All the effects have a mix: option so it's worth taking a closer look into it. You can think of it as a balance between the original sound going into the effect and the effected sound. Take a look at the picture below. The top image shows mix: 0 or just the original sound and the bottom shows mix: 1 or just the effected sound. All the pictures are taken from the :slicer effect. If you look at the intermediate values you can see that the closer mix is to 0, the more of the original sound will be present and vice versa.
Look at the following code:
with_fx :reverb, room: 1 do with_fx :bitcrusher do play 72, release: 0.5 end end
In what order are the effects applied to play 72?