Hi team,
I’ve hand coded a delay effect. It works great. It uses all three pots for time, level, and repeats, respectively. I love it, except for one thing. Moving the Time pot creates a really unattractive, digital, crunching sound. Question: are there some best practices for coding such a control? I expect that when the Time pot is adjusted, a pleasant “space noise” is the result.
I’ll explain how I coded it in more detail. It’s very simple. My POT0 is directly setting the ADDR_PTR. Don’t ask me why this works because I don’t know, but it does. So adjusting POT0 results in the the position of the delay register moving directly. I don’t do any pre/post processing on the POT value.
Also, I can supply the code, but not at this moment because I am not using the computer on which I wrote the Spin patch.
Please and thank you.
How to make delay Time pot adjust gracefully?
Moderator: frank
Re: How to make delay Time pot adjust gracefully?
You need to use a low pass filter on the POT value so it smoothly changes. Look at other code on here and you will see things like "smoothing" or "smooth the pot" in the comments in the code.
Frank Thomson
Experimental Noize
Experimental Noize
Re: How to make delay Time pot adjust gracefully?
Thanks, Frank! I'll keep an eye out for such comments in the code.