Calculating a Decaying Exponential Curve Recursively by using Fixed Point Multiplication
I’ve been working on implementing Envelope Generator into microprocessors. Output of an Envelope Generator consists of rising and falling exponential curve. I’m currently doing table lookup to generate those curves. https://github.com/naokiiwakami/vceg This is a quick and straightforward approach, and you don’t have to be worried much about data resolution. But the program is a little complicated, and memory consuming. I don’t really like this approach. So I started to think about alternative approaches. Mathematically, an exponentially decaying curve can be calculated recursively by the following equation: V(i+1) = V(i) * k where 0 <= k < 1 This is very simple. You can program this such as: but if you … Continue reading Calculating a Decaying Exponential Curve Recursively by using Fixed Point Multiplication
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed