Pages: 1 [2]   Go Down
Author Topic: The "Beat/Music Detection" code you have always wanted  (Read 28770 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 10
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

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

...

You can see some pictures of the shield I built (and more instructions to follow) here:
http://majordecibel.blogspot.com/


could you invite me please, it seams your blog is not open to anybody.
thank you.
Logged

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

I can't send private messages, forum aparently broken smiley-grin

I want to build a unicorn-on-a-stick for the next festival that shoots beat-synced lasers from it's eyes smiley

Is there any chance one could send me the code via eMail, I promise I wont build anything commercial with it smiley: lulzufail@gmail.com

thanks in advance and best wishes from Germany!

Veit
Logged

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

how can i get the code? it would have been to so much help for me.
this is just the thing i have been looking for! :-) smiley
Logged

Offline Offline
Full Member
***
Karma: 0
Posts: 114
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've written some code for an ATTiny85 chip

It samples music/input and adjusts the zero crossing point of the audio automatically
Using FFT, it samples the music and creates the energy/frequency bands accordingly
Bass frequencies are allowed to pass a variable threshold and create a fixed length ON, followed by an OFF window
This trigger is passed to a sequencer algorithm with an 8 channel cross-fader
The output appears as DMX512 (a second pin also outputs the compliment signal for differential output)

In conclusion, all you need is this chip, a few external components (couple of resistors and caps), an audio in socket and a DMX out socket. My first prototype uses a SN76175 RS485 driver.

A complete Audio to DMX-driven ParCan sequencer/crossfader solution smiley

http://youtu.be/SBjkxvv0yRw

This works well for running RGB LED par cans and PowerPack/Dimmers for mains powered lighting

smiley
Logged

while (z--) { snore; }

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

Hi All, I was wondering what one needs to view this awesome Adrunio code in this blog. The Blog ...
http://majordecibel.blogspot.com/ how does one get invited to see this?


Thanks and very much appreciate  smiley
Logged

Pages: 1 [2]   Go Up
Jump to: