Loading...
Pages: 1 [2]   Go Down
Author Topic: The "Beat/Music Detection" code you have always wanted  (Read 16194 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Edison Member
*
Karma: 4
Posts: 1126
If you're not living on the Edge, you're taking up too much space!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

@Diebor - You can sample faster than you can process or send the data.  It sounds good at 40K samples / sec.
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1208715493/11

The only use I can see for this is to oversample and average ever pair of samples.
This way you can avoid using a hardware Nyquist filter at lower sample rates.
Logged

If you fall... I'll be there for you!
-Floor

Skype Brighteyes3333
(262) 696-9619

Offline Offline
Edison Member
*
Karma: 4
Posts: 1126
If you're not living on the Edge, you're taking up too much space!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I made a cool light show with the MSGEQ7 chip and 4 LED's.
Also works with El wire.

See this post for pseudocode:
http://arduino.cc/forum/index.php/topic,77572.0.html
Logged

If you fall... I'll be there for you!
-Floor

Skype Brighteyes3333
(262) 696-9619

0
Offline Offline
Newbie
*
Karma: 0
Posts: 13
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,
Great code, just what I was looking for, however I could do with some help with wiring the pre amp circuit.
I currently have two audio inputs, switched using a relay, and two audio outputs, also witched using a relay, whilst the audio is going between the two relays is where I want to get the sampling signal from, can I just connect the inputs to the op amps to here?
Thanks,
Dan
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Is it possible to use an LM358 and +5V power supply instead?
Logged

Pages: 1 [2]   Go Up
Print
 
Jump to: