summaryrefslogtreecommitdiff
path: root/synth/util.cpp
AgeCommit message (Collapse)Author
2011-01-16Added waveforms and noise, changed foo++ into ++fooFlorian Jung
List of waveforms: 0=sin 1=abssin 2=half_sin 3=pulse-sin 4=square 5=sawtooth 6=pyramid 7=white noise
2011-01-15Implemented freq-envelopes for non-compiled notesFlorian Jung
plus some tiny bugfixes: - in Envelope (get_sustain now returns orig_sustain) - parser now uses isnum instead of isfloat where appropriate
2011-01-10Added str_before and str_after functionsFlorian Jung
str_before ("foo:bar:baz",':',"doesntmatter") returns "foo" str_after ("foo:bar:baz",':',"doesntmatter") returns "bar:baz" str_after and str_before ("foobar",':',"default") returns "default" Also, extract_var and extract_val now use the newly created functions
2011-01-09Merged branch for compiled notesFlorian Jung
The synthesizer is now able to load and use compiled, optimized shared objects of programs. There's also a note-compiler which creates the code for such objects. TODO: - let the note-compiler automatically compile OR rename it to code-emitter
2010-12-29Initial commitFlorian Jung