Hi what do you use to calculate the swing duration?I have a adxl335 and i start the swing on any acceleration. But this algorithm is quite to simple i think
nice, the synchronisation is good. do you play the sound faster or slower depending the acceleration?
Do you use PWM to drive the Audio Amp? Is it a direct drive from the processor output pins to the audio amp? I'm curious if 2 chips could also parallel drive the audio amp, simply shorting 1 pin from a controller (thinking about Arduino) and one from a dedicated MP3/WAV codec chip. I did not think it through but just curious if it would work...?
Why is that? Care to explain? What does a uC need to drive a dac?