summaryrefslogtreecommitdiff
path: root/synth/note.cpp
AgeCommit message (Collapse)Author
2011-01-09envelope_update_frames can now be set via CLI and config fileFlorian Jung
2011-01-08Envelope::get_level() gets called rarely nowFlorian Jung
Also, changed .gitignore to ignore gmon.out
2011-01-08Minor fixes and improvementsFlorian Jung
The following has been changed - Note::set_param now sets orig-values and does an apply_pfactor() - Note::reattack now also reattacks the filter's envelope - oscval[i]=0 has been removed as it's unneccessary in Note::get_sample() - in Note::get_sample: fm- and out-sums are calculated in 2SCALE now and scaled down (via >>SCALE) afterwards (instead of while every single add-operation) - the filter-envelope is now inited with the shorter constructor - todo-list updated
2011-01-06The synthesizer can now load the compiled notesFlorian Jung
There are still issues: - filtertest.prog.so: output_note-message which is not true - huge size of the .so (48K are too much!)
2011-01-05Note-compiler is _mostly_ complete; plus some tiny bugfixesFlorian Jung
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
2010-12-30Note inherits from NoteSkel -- worksFlorian Jung
2010-12-30Note inherits from NoteSkel -- DOES NOT WORK!Florian Jung
The program compiles well, but as soon as a note is created, it exits, because a pure virtual method is called in NoteSkel's ctor (which is called before Note's ctor) which tries to call a function which is implemented in Note, but not in NoteSkel
2010-12-29Initial commitFlorian Jung