quick question, i am looking at your code, mainly to see how you use the timothytwillman.com (and far better then the one i was using, it seems) midi library.
Does your LFO low level and rate drift around?
in
void lfo_tick()
{
lfo_count=lfo_count+pot1*3;
if (lfo_count>10000)
{
lfo_count-=10000;
lfo_rand=random(0,10000);
}
i think that when you add the pot value, and then check to see if it is over 10000 you should set it to = 0 instead of subtracting 10000
what if it adds, say 1000 and it was previously at 9999 then it will be 999 after it subtracts.
thanks for posting your code by the way ![]()