August 19, 2013 AT 4:00 am

Audio Clip Player


Paul Stoffregen writes:

Yesterday I made a little audio clip player for a Monty Python Flying Circus theme party. It plays the 3 second dramatic sound for the unexpected Spanish Inquisition entrance.

The hardware is pretty simple. It’s just a Teensy 3.0 that “plays” the audio using a PWM pin.

The PWM is amplified to a 9V signal using a NPN transistor, then a pair of transistors buffer the signal to the current required to drive an 8 ohm speaker.

I had intended to make a nice L-C filter to remove the PWM carrier, but only the 100 uH inductor made it onto the breadboard as I quickly put this thing together in only a couple hours.

Read more here for source code and more!

Featured Adafruit Products


Teensy 3.0 + headerTeensy 3.0 is a small, breadboard-friendly development board designed by Paul Stoffregen and PJRC. Teensy 3.0 will bring a low-cost 32 bit ARM Cortex-M4 platform to hobbyists, students and engineers, using an adapted version of the Arduino IDE (Teensyduino) or programming directly in C language. (read more)

Check out all the Circuit Playground Episodes! Our new kid’s show and subscribe!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground”Adafruit’s Apps!

Maker Business — Profile on iFixit (repair/takedowns and more)

Wearables — This one’s for all the Cosplayers out there

Electronics — Capacitor ESR

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at !

No Comments

No comments yet.

Sorry, the comment form is closed at this time.