From 3d95a25600b5cab8a7e5245b7a581bd8c8939276 Mon Sep 17 00:00:00 2001 From: Florian Jung Date: Wed, 5 Jan 2011 15:47:55 +0100 Subject: Note-compiler is _mostly_ complete; plus some tiny bugfixes The note-compiler can read a program-definition and emits a cpp-file which implements that definition. This implementation is optimized. HOWEVER, the compiler still does not emit a set_param() function. this will lead to a linker error because the function is not implemented (but defined). After adding an empty implementation by hand the emitted compiles well, and also seems to work when used in the synth. TODO: - implement set_param() - compiler must emit a loader-function (which returns a new Note) - use that loader function in the synth --- TODO | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'TODO') diff --git a/TODO b/TODO index 97475fb..e9ee05b 100644 --- a/TODO +++ b/TODO @@ -1,4 +1,16 @@ TODO für den synth +!!!o BUG: bei Note::set_param sollte statt dem eigentlichen param + der orig gesetzt werden und dann neu berechnet werden! +!!!o BUG: bei release und reattack: BEIDE male die filter-envelope beachten! + o KSL mit powf und floats statt mit double umschreiben + o statt lfo-nummer direkten zugriff auf curr_lfo angeben? + o oscval-nullen kann in get_sample() weggelassen werden + o bei tremolo (und vibrato?): eventuell nicht prüfen, obs aktiviert + ist, sondern zur not einfach *1 rechnen? + o in get_sample(), beim aufaddieren zum out (und vmtl auf fm-)wert: + erst nach dem addieren scalen, statt für jeden faktor einzeln + + o filter_envelope könnte mit anderem ctor geinitet werden (weniger schreibarbeit) o notes compilieren und als .so-datei laden o programme on-the-fly (um)laden -- cgit v1.2.3