Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Suggestions for an audio beat tracker project

Status
Not open for further replies.

cached21

Newbie level 3
Joined
Sep 27, 2006
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,304
I'm interested in doing a project that tracks the beat/rhythm of a song (rap, house, techno, R&B, etc.) in real time. This is kind of like a color organ. Here is what I have come up with so far:

An electret mic picks up the audio being played in the ambient air, passes the signal through a pre-amplification stage with AGC. This is passed to a second order Sallen-Key LPF with a cutoff frequency at 170 Hz. At this stage I am conflicted on what to do. I can:

1) Full wave rectify the LPF signal, pass it to an envelope detector, and then into the ADC of a MCU. The microcontroller detects when the signal exceeds a certain threshold and sends a logic high to a connected LED, indicating a beat has occurred.

OR

2) Pass the LPF signal directly into the microcontroller. The MCU will run FFT or Walsh transform (poor man's FFT) on the signal. Strongest power indicates fundamental frequency (beat) of the song. LED is pulsed at that respective frequency.

My main motivation is to develop a system that accurately tracks the beat/rhythm of the song being played. Suggestions, comments and recommendations are welcome!
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top