diff options
author | Florian Jung <florian.a.jung@web.de> | 2012-04-12 22:35:44 +0200 |
---|---|---|
committer | Florian Jung <florian.a.jung@web.de> | 2012-04-12 22:35:44 +0200 |
commit | 2f796b659626569c02dd5016dc3df45000e2b7e2 (patch) | |
tree | e014eec75fdf0e0b19041a471c29b39303a18de3 /synth/OPTIMIZATIONS | |
parent | 7c875a14b73d844f4f3b8390e4463610262d9415 (diff) |
use precalculated phase_increment instead of calculating it every
frame: brings up to 33% speed boost!
bugfix: ksr now uses dest_freq instead of (current) freq
Diffstat (limited to 'synth/OPTIMIZATIONS')
-rw-r--r-- | synth/OPTIMIZATIONS | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/synth/OPTIMIZATIONS b/synth/OPTIMIZATIONS index 4a22fd4..3ec667b 100644 --- a/synth/OPTIMIZATIONS +++ b/synth/OPTIMIZATIONS @@ -1,5 +1,8 @@ Sinnlose Optimierungen o if(foo.fm_strength!=0) ...: kein effekt, höchstens leichter anstieg! + o dauerndes nutzen von oscillator[i] durch einen curr_osc pointer + ersetzen (um etwa eine standardabweichung schneller -> kein + wirklicher effekt) Mögliche Optimierungen o ??? if (out>0) und was mit lfo: vlt das if weglassen? |