bretvh
Member
While I am awaiting my ST-Link card, I am wondering what the values the pots send to the code, if anyone has been able to get that info through a debugger? I'm on a Mac using CLion and am just kind guessing what the values are and tweaking from there. B10K pots. Just wanting to know what the range is, if it's interpreting as 1 - 10, 0.0 - 1, or what.
Also, I am having a struggle trying to wrap my brain around how the code looping works for the processing. Say, for example, I want to simulate turning down delay time when I hit the right footswitch, what is the best way to change that value throughout the loop? I have tried using an Envelope Filter, but it's half doing what I want. I thought about setting the min and max values as global variables outside of the loop, then changing them with each iteration until they hit the top or bottom value. But I feel like there has to be a more elegant way to handle it that I am not seeing. Any ideas?
Also, I am having a struggle trying to wrap my brain around how the code looping works for the processing. Say, for example, I want to simulate turning down delay time when I hit the right footswitch, what is the best way to change that value throughout the loop? I have tried using an Envelope Filter, but it's half doing what I want. I thought about setting the min and max values as global variables outside of the loop, then changing them with each iteration until they hit the top or bottom value. But I feel like there has to be a more elegant way to handle it that I am not seeing. Any ideas?