Hi
Great project, really like the enclosure, video, presentation and the name !
Would you mind if I added the project to the list of Auduino related projects I have collated here -
http://rcarduino.blogspot.com/2012/08/adding-audio-to-arduino-projects.html You should also consider adding the fix outlined below to your sketch, without this fix, your project will not work when compiled in some versions of the IDE -
uint16_t syncPhaseAcc;
volatile uint16_t syncPhaseInc;
uint16_t grainPhaseAcc;
volatile uint16_t grainPhaseInc;
uint16_t grainAmp;
volatile uint8_t grainDecay;
uint16_t grain2PhaseAcc;
volatile uint16_t grain2PhaseInc;
uint16_t grain2Amp;
volatile uint8_t grain2Decay;
A detailed explanation for adding the volatile keyword to the shared variables can be found in this seemingly unrelated post which references the Auduino issue as part of the explanation -
http://rcarduino.blogspot.com/2012/04/how-to-read-multiple-rc-channels-draft.htmlDuane B
rcarduino.blogspot.com