A few months a ago I bought this Spock bobble head that could only play three samples when its head was moved. I wasn't satisfied with only three samples so I removed "Spock's Brain" and went about replacing it with an msp430 micro. Using the micro, Spock can now play any number of wave files off an SD card. More details about the code, parts and schematics can be viewed on GitHub (https://github.com/stirlingboy69/MSP430Player).

The samples are played via PWM and outputted to speaker. I've uploaded a video on my GitHub account if you want see Spock talk. I've wired the PWM output to my stereo system speakers as his voice is on the quite side. I may add some kind of amplifier circuit, but for now this will do. This project/code was heavily inspired by the great people at the 430oh forum site.