Here’s a fun circuit and blog for a real-time audio pitch shifter built around an ATtiny85:
This article describes a simple device based on an ATtiny85 that takes an audio input, shifts its pitch up or down in real time, and plays it through a loudspeaker. You can increase or decrease the pitch shift using two pushbuttons:
OK for starters that circuit looks great – cute, even! So simple, and I’m sure it’s fun to play with – adding this to my list of circuit to prototype!
For example, you can plug in an mp3 music player or phone, play some music, and change the pitch of a male singer’s voice to a female voice as it’s playing.
Although the result is not hi-fi quality, it’s an excellent demonstration of how much you can achieve with a single ATtiny85. The chip first amplifies the input by a factor of x20, digitizes it, stores the samples in a circular buffer under interrupt, reads samples back from the circular buffer under a separate timer interrupt, and finally converts the processed digital signal back to analogue, using high-speed PWM, and outputs it to a loudspeaker. Two pushbuttons cause interrupts which change the pitch shift up or down.
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 — SoftBank Invests $300 Million in WeWork
Wearables — Wood paint
Electronics — What’s in a diode?
Biohacking — Altra IQ – The Running Coach in a Shoe
No comments yet.
Sorry, the comment form is closed at this time.