summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-01-05Finished note-compiler, seems to work. TODO: CLIFlorian Jung
The note-compiler now also generates code for set_param, and a function has been added which returns a pointer to a newly created object (important for loading from a shared object). There's also a destroyer function. TODO: - write a CLI for the note-compiler - let the note-compiler issue the build-commands on his own - make the synth load instruments from shared objects
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
2011-01-01Replace class Parser with function parse()Florian Jung
2011-01-01Update and move todo-listFlorian Jung
2010-12-31Add initial code for the note-compilerFlorian Jung
The note-compiler now has a Parser class which knows about possible parameter changes (by controller, velocity or simply user definition). Furthermore, several files were adapted (by stripping unneeded code, adding the bool foo_const variables etc.). Small fix in util.c which causes extract_var("foo") to return "foo" instead of "". Fixes in both Makefiles.
2010-12-30Improved Makefile and .gitignoreFlorian Jung
2010-12-30Use NoteSkel wherever possibleFlorian Jung
Notes are still created from the built-in Note class, but theoretically, other classes could be used, too.
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-29Define an interface and a skeleton for class NoteFlorian Jung
2010-12-29Initial commitFlorian Jung