Program to record speech audio into RAM and then play it back, moving Billy Bass's mouth in sync with the speech.

Dependencies:   mbed

Remember Big Mouth Billy Bass?

I've made a simple demo program for him using the Freescale FRDM-KL25Z board. I've hooked up the digital I/O to his motor driver transistors and pushbutton switch.

This program records 1.8 seconds of speech audio from ADC input when the pushbutton is pressed, then plays the audio back with Billy Bass's mouth controlled so that it opens during vowel sounds.

The ADC input is driven from a microphone and preamplifier, via a capacitor and into a resistor divider connected to the +3.3V supply pin to provide mid-range biasing for the ADC signals.

The DAC output is connected to his audio amplifier input (to the trace that was connected to pin 10 of the controller IC). I had to provide a DC bias using the DAC to get the single transistor amplifier biased into proper operation.

For more on the method of vowel recognition, please see the paper: http://www.mirlab.org/conference_papers/International_Conference/ICASSP%201999/PDF/AUTHOR/IC991957.PDF

Y. Nishida, Y. Nakadai, Y. Suzuki, T. Sakurai, T. Kurokawa, and H. Sato. 1999.

Voice recognition focusing on vowel strings on a fixed-point 20-MIPS DSP board.

In Proceedings of the Acoustics, Speech, and Signal Processing, 1999. on 1999 IEEE International Conference - Volume 01 (ICASSP '99), Vol. 1. IEEE Computer Society, Washington, DC, USA, 137-140. DOI=10.1109/ICASSP.1999.758081 http://dx.doi.org/10.1109/ICASSP.1999.758081

History

turn DAC off after playing default tip

2013-05-15, by bikeNomad [Wed, 15 May 2013 23:36:12 +0000] rev 7

turn DAC off after playing


Added pushbutton and audio out to Billy's amp

2013-05-15, by bikeNomad [Wed, 15 May 2013 23:23:55 +0000] rev 6

Added pushbutton and audio out to Billy's amp


increased to 14000 samples (1.7 seconds)

2013-05-15, by bikeNomad [Wed, 15 May 2013 18:01:51 +0000] rev 5

increased to 14000 samples (1.7 seconds)


tuned analyzer; added play with billy

2013-05-15, by bikeNomad [Wed, 15 May 2013 17:53:33 +0000] rev 4

tuned analyzer; added play with billy


Got audio sampling and analysis working

2013-05-15, by bikeNomad [Wed, 15 May 2013 15:32:34 +0000] rev 3

Got audio sampling and analysis working


Got 7.9KHz analog sampling working

2013-05-14, by bikeNomad [Tue, 14 May 2013 17:19:45 +0000] rev 2

Got 7.9KHz analog sampling working


trying to get continuous conversion going

2013-05-14, by bikeNomad [Tue, 14 May 2013 14:08:22 +0000] rev 1

trying to get continuous conversion going


simple billy bass motor exerciser;

2013-05-10, by bikeNomad [Fri, 10 May 2013 02:15:44 +0000] rev 0

simple billy bass motor exerciser;