This patch uses jit.buffer~s to mix 8 buffers into a single buffer~. I wanted to create an arbitrary mix of different waveforms for LFOs (or synthesis). This also has an example of linearly mixing between the waveforms, too.
Has anyone out there come up with better ways (i.e., less patching) to do this? It would seem there are, but this is what I came up with.
This patch uses Lror and Lmask from the Lobjects. Although I've attached both, you should probably just download the set http://arts.ucsc.edu/ems/music/research/Lobjects.readme.html
Windows users will need to download the set, since I'm too lazy to start up my XP box and grab those for you.
Also worth noting, the patch assumes the examples directory is in your search path, since waveforms from the examples/synths/FMsynth/lib
are used for many of the buffer~s