Code
WINAVR GCC program. (Circuit Cellar version)
For Markov music box running on atmega644 or atmega1284 at 16 MHz.
Pin B.3 is the PWM output connected through a 10,000 radian/sec
lowpass filter to amplified speakers. Port C is hooked to 8 pushbuttons
which control transition matrix, tempo, beat pattern, and timbre
for each voice.
Published in Circuit Cellar Magazine, #272, pp 28-32, March 2013
(Manuscript)
See also AVR DSP page for more details on algorithms
http://people.ece.cornell.edu/land/courses/ece4760/Math/avrDSP.htm
Synth Examples
Two voices, various timbres, tempos.
New code version
An improved version of the code:
- Bruce Land -
Electrical and Computer Engineering
Cornell University