Does anyone know how I could make a triggered linear ramp that goes from 0 to 1 over a specified amount of time (ms or sec)? I mostly just need one right now for a parameter smoother, but I can think of some other things it could be useful for. Maybe like a simple animation or something.
It seems like such a simple thing to do, but I just can't figure it out and I can't find anything on the web about it. I know you could make a triggered ramp oscillator and make it stop after one cycle, but I can't even get that to work right. I can make oscillator's just fine, but for some reason I can't make this. Maybe one of you more experienced guys could help me out?
I'm also thinking that a single cycle ramp oscillator might not be the best choice for a general ramp because it would have to be processed on an audio process, since the frequency usually depends on that and the sample rate. Maybe it would be a good idea to have two ramps, one for the audio process and one without. I'm guessing that without an audio process, it would need a timer or something. Idk. I'd appreciate any help from you guys.