Popping noise on synth
I get an audible click/clip when the note is released (and I think when the note is played). Playing with adsr timings doesn't seem to fix the issue. What am I doing wrong?
2 patches attached.
Thx for any input.
This is bonkers....I've spent the last 2 days solid trying to figure this out without success. I have read the tutorials / references / forums etc, but I cannot work out why this rogue 'pop' noise occurs exactly when with a note on my midi keyboad (or on screen keyboard) is hit and released.
I have noticed a few postings from other people experiencing the same as me, but there does not seem to be a definitive solution. Can anyone help? - I cannot think of what else to try.
You need to provide default values for adsr~: right now the attack, decay, and release times are all set to 0 ms, hence the clicks.
Try: adsr~ 2. 200. 0.5 300.
Thanks for your reply Peter. I tried the values you suggested, and have played around with the ADSR values, but that doesn't solve it.
When I add release, I can still hear a pop at the exact moment the keyboard key is released (note off).
I think that it is to do with the cycle~ note not starting/ending on zero, resulting in the pop sound. Does anyone know how to snap the cycle~ audio to zero so that when I press (and release) a key the cycle~ audio actually starts at zero db?
Using the values that I gave you in the patch you provided, I don't get any pops on release. There's a little bit of clickiness at the beginning, but that's because it's a short attack. 10 200 0.5 300 should be plenty smooth. You can also use the @base attribute with the mtof object to use other frequencies for the base tuning. (and it works on mtof~, ftom, and ftom~ as well)
I'm really sure that the problem is not with the start and endpoints of cycle~. Maybe you could repost it with the numbers plugged in?
Do you get clicks with this patch?