screwed up an earlier fix relating to zeroing envelope after each block
more microcontroller main
change upconvert to produce 8-bit samples (since we're feeding to an 8-bit dac (probably))