What is KVR Audio? | Submit News | Advertise | Developer Account

Options (Affects News & Product results only):

Quick Search KVR

"Quick Search" KVR Audio's Product Database, News Items, Developer Listings, Forum Topics and videos here. For advanced Product Database searching please use the full product search. For the forum you can use the phpBB forum search.

To utilize the power of Google you can use the integrated Google Site Search.

Products 0

Developers 0

News 0

Forum 0

Videos 0


Volume ramp implementation

DSP, Plug-in and Host development discussion.

Moderator: Moderators (Main)

5 posts since 1 Nov, 2007

Postby lppier; Fri Apr 17, 2015 12:56 am Volume ramp implementation

Instead of calculating envelopes/lfo/pitch/filter coefs every sample, calculate them every few samples (I like calculating them every 16 samples or so) and ramp the volume (pitch and cutoff don't have to be ramped), this makes it a lot easier to have a fast core loop.

I saw this in another thread - What does it actually mean to ramp the volume ?
Say my volume is 0.5 right now, how do I know what volume to ramp to 16 samples later?
Do correct me if my understanding is wrong.

Thank you.

Moderator: Moderators (Main)

Return to DSP and Plug-in Development