Run polybuild.pd for the main patch!
Use basicbuild.pd for a monophonic version.

This supports midi keyboards with note values 0 to 128
polybuild.pd supports midi cc inputs on controllers 1-16, as well has having vsliders for the same purpose.

Controller # - Purpose
~~~~~~~~~~Filter Half~~~~~~~~~~~~
1 - Filter Cutoff Frequency
2 - Filter Mode (<64 = BandPass, >64 = LowPass)
3 - Unused
4 - Filter Q (Width)
5 - Filter Attack Time (0 to 127 ms)
6 - Filter Decay Time (0 to 1270 ms)
7 - Filter Sustain Freq, Percent of Frequency
8 - Master Volume of Synthesizer
~~~~~~~~~~Synth Half~~~~~~~~~~~~~
9 - Sawtooth Mix
10- Square Mix
11- Triangle Mix
12- Sine Mix
13- Noise Mix
14- Pulse Modulation Speed (Affects Square Wave)
15- Pulse Depth (Pull to 0 to shut off pulse modulation)
16- SuperSaw Detune

The audio signal is scaled such that no matter the level of sliders 9-13, the volume output is the same.
Patch by David Sprinkle, 2018. If you redistribute this patch, please give credit.

