More buffering, and reset between channels (this is still kinda weird)
Make sure sox output sets sample rate correctly
Pulse-width waves basically didn't work at all
Small cleanups
Use A-440 as base for tuning
Add support for MIDI control codes