The Philippine Electronics and Technology Forum
February 09, 2012, 01:53:18 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Login Register  

Pages: [1] 2   Go Down
  Print  
Author Topic: Music Beat Detection  (Read 2612 times)
'yus
Technical People
Nuclear Reactor
*****

Pogi/Ganda Points: 274
Offline Offline

Gender: Male
Posts: 4170


oops, kernel panic!


WWW
« on: February 28, 2009, 02:07:27 PM »

paano ba 'to? Huh ok na kaya ang PIC16F pic w/ 20MHz xtal? Huh

for example, may ii-input na music/audio signal sa ADC ng PIC,
then magpapa-blink ang PIC ng LED na ang interval ay depende sa tempo ng input music
..

may mga nakita na ako sa net na mga algorithms, kaso sobrang complicated Sad (pang-DSP)
wala bang simple lang?.. nose-bleed eh.. Cheesy

meron din yung sobrang simple, yung ilo-low pass filter lang yung signal para makuha ang bass.
kaso, 'di ba, 'di naman lagi na ang BASS eh sya na rin yung BEAT..
mas ok sana kung "unfiltered" ang ipapasok na signal.
Logged

join PhilRobotics - Amateur Robotics Club of the Philippines
The Philippine Electronics and Technology Forum
« on: February 28, 2009, 02:07:27 PM »

 Logged
7_SeVeN_7
Technical People
Solar Power Satellite
*****

Pogi/Ganda Points: 380
Offline Offline

Posts: 5954


There is no delight in owning anything unshared.


« Reply #1 on: February 28, 2009, 02:15:28 PM »

wow... may niluluto na namang bago si sister yus hehe Grin
Logged

E-Gizmo Mechatronix Central: www.e-gizmo.com

Tel #: (63)(2) 536-3378
Globe +63915-973-7691
Smart +63921-779-0748

Location Map

YM: julie.egizmo  aka Born2BeWired  Grin
'yus
Technical People
Nuclear Reactor
*****

Pogi/Ganda Points: 274
Offline Offline

Gender: Male
Posts: 4170


oops, kernel panic!


WWW
« Reply #2 on: February 28, 2009, 02:16:57 PM »

hehe.. ok na ang hardware ko.. na-download ko na rin yung requested music mo..
Logged

join PhilRobotics - Amateur Robotics Club of the Philippines
7_SeVeN_7
Technical People
Solar Power Satellite
*****

Pogi/Ganda Points: 380
Offline Offline

Posts: 5954


There is no delight in owning anything unshared.


« Reply #3 on: February 28, 2009, 02:18:43 PM »

wow ehehehe Grin Grin Grin
thanks.. aabangan ko yan Grin Grin Grin
Logged

E-Gizmo Mechatronix Central: www.e-gizmo.com

Tel #: (63)(2) 536-3378
Globe +63915-973-7691
Smart +63921-779-0748

Location Map

YM: julie.egizmo  aka Born2BeWired  Grin
marcelino
Moderator
Solar Power Satellite
*****

Pogi/Ganda Points: 247
Offline Offline

Posts: 5861


...keep moving forward! - Robinson's


« Reply #4 on: February 28, 2009, 02:23:16 PM »

hehe.. ok na ang hardware ko.. na-download ko na rin yung requested music mo..

single ladies Huh

 Shocked Shocked Shocked

tsk! tsk! tsk!
Logged

"Don't take life seriously. After all, no one has ever come out of it alive. -Bugs Bunny"
'yus
Technical People
Nuclear Reactor
*****

Pogi/Ganda Points: 274
Offline Offline

Gender: Male
Posts: 4170


oops, kernel panic!


WWW
« Reply #5 on: February 28, 2009, 02:26:00 PM »

single ladies Huh
hehe.. "wrecking machine" ang pinili ko.. ok ang beat nya.. Smiley
Logged

join PhilRobotics - Amateur Robotics Club of the Philippines
marcelino
Moderator
Solar Power Satellite
*****

Pogi/Ganda Points: 247
Offline Offline

Posts: 5861


...keep moving forward! - Robinson's


« Reply #6 on: February 28, 2009, 02:30:16 PM »

mali ka... di yan ang requested music ni sevenstring! hahahah Grin

go for it yus... aabangan ko din to. Smiley

Logged

"Don't take life seriously. After all, no one has ever come out of it alive. -Bugs Bunny"
clarkent
Lead Acid Battery
*******

Pogi/Ganda Points: 20
Offline Offline

Gender: Male
Posts: 500


iehs


« Reply #7 on: February 28, 2009, 03:53:52 PM »

pagkatapos mo nito yus yung hinihingi kong POV clock ibigay mo na. andami mo ng laruan dyan e. pati yung dancing minibot isabay mo na rin. Grin
Logged

if you think you can or think you can't, you're probably right -h.ford
7_SeVeN_7
Technical People
Solar Power Satellite
*****

Pogi/Ganda Points: 380
Offline Offline

Posts: 5954


There is no delight in owning anything unshared.


« Reply #8 on: February 28, 2009, 04:10:12 PM »

yus, pasensya ka na favorite talaga ni sis marce yang kantang yan, kaya gusto nya yan ang ilagay sa video mo Grin Grin Grin
Logged

E-Gizmo Mechatronix Central: www.e-gizmo.com

Tel #: (63)(2) 536-3378
Globe +63915-973-7691
Smart +63921-779-0748

Location Map

YM: julie.egizmo  aka Born2BeWired  Grin
marcelino
Moderator
Solar Power Satellite
*****

Pogi/Ganda Points: 247
Offline Offline

Posts: 5861


...keep moving forward! - Robinson's


« Reply #9 on: February 28, 2009, 04:40:45 PM »

yus, pasensya ka na favorite ko talaga yang kantang yan, kaya gusto ko yan ang ilagay sa video mo Grin Grin Grin

See... Grin Grin Grin

Logged

"Don't take life seriously. After all, no one has ever come out of it alive. -Bugs Bunny"
7_SeVeN_7
Technical People
Solar Power Satellite
*****

Pogi/Ganda Points: 380
Offline Offline

Posts: 5954


There is no delight in owning anything unshared.


« Reply #10 on: February 28, 2009, 04:42:17 PM »

impaktita Grin Grin ang galing mag edit Grin Grin Grin
Logged

E-Gizmo Mechatronix Central: www.e-gizmo.com

Tel #: (63)(2) 536-3378
Globe +63915-973-7691
Smart +63921-779-0748

Location Map

YM: julie.egizmo  aka Born2BeWired  Grin
marcelino
Moderator
Solar Power Satellite
*****

Pogi/Ganda Points: 247
Offline Offline

Posts: 5861


...keep moving forward! - Robinson's


« Reply #11 on: February 28, 2009, 04:47:48 PM »

impaktita Grin Grin ang galing mag edit Grin Grin Grin

di naman... di ka lang magaling magsulat ng edit-proof! hehehe Grin

bilis na yus... nag-iiba na ang usapan! heheh Grin
Logged

"Don't take life seriously. After all, no one has ever come out of it alive. -Bugs Bunny"
'yus
Technical People
Nuclear Reactor
*****

Pogi/Ganda Points: 274
Offline Offline

Gender: Male
Posts: 4170


oops, kernel panic!


WWW
« Reply #12 on: March 01, 2009, 10:12:19 AM »

ang ginagawa ko ngayon is mag-sample ng input signal continously,
then magbilang kung ilang beses sya lumampas sa sinet kong threshold.
( still not yet considered as beat detection algorithm  Sad
  pero medyo ok na rin ang pag-blink ng LED  Smiley  )


sample code:
Code:
void interrupt isr(void)
{
if(ADIF) //ADC interrupt (a/d conversion finished)
{
if(ADRES > input_threshold)     //read ADC value
{
count++;
if(count>minimum_count) led_on();
}
else
{
count = 0;  //reset count
led_off();
}
ADIF = 0; //clear interrupt flag
ADGO = 1; //start again the A/D conversion
}
}
Logged

join PhilRobotics - Amateur Robotics Club of the Philippines
clarkent
Lead Acid Battery
*******

Pogi/Ganda Points: 20
Offline Offline

Gender: Male
Posts: 500


iehs


« Reply #13 on: March 01, 2009, 02:40:27 PM »

may kaugnayan na naman to sa minibot mo no?hehe

gusto mong pagsayawin na hini mo kinoreograph sa code.

hmmm. hula ko mam lang yan.
Logged

if you think you can or think you can't, you're probably right -h.ford
marcelino
Moderator
Solar Power Satellite
*****

Pogi/Ganda Points: 247
Offline Offline

Posts: 5861


...keep moving forward! - Robinson's


« Reply #14 on: March 01, 2009, 02:44:11 PM »

may kaugnayan na naman to sa minibot mo no?hehe

gusto mong pagsayawin na hini mo kinoreograph sa code.

hmmm. hula ko mam lang yan.

yan din ang hinala ko, kaya nga, hinihintay ko din! hehehe Grin
Logged

"Don't take life seriously. After all, no one has ever come out of it alive. -Bugs Bunny"
'yus
Technical People
Nuclear Reactor
*****

Pogi/Ganda Points: 274
Offline Offline

Gender: Male
Posts: 4170


oops, kernel panic!


WWW
« Reply #15 on: March 01, 2009, 02:49:34 PM »

mali kayo.. hehe..
pero binalak ko na yan dati sa dancing minibot ko.
kaso, ang hirap (yung ie-extract ang beat from an mp3 file)..
saka RC oscillator lang ang ginamit ko dun (hindi accurate)..
Logged

join PhilRobotics - Amateur Robotics Club of the Philippines
clarkent
Lead Acid Battery
*******

Pogi/Ganda Points: 20
Offline Offline

Gender: Male
Posts: 500


iehs


« Reply #16 on: March 01, 2009, 02:55:16 PM »

alam ko na disco lights. Grin

gagamit ka ba ng lasers?
Logged

if you think you can or think you can't, you're probably right -h.ford
'yus
Technical People
Nuclear Reactor
*****

Pogi/Ganda Points: 274
Offline Offline

Gender: Male
Posts: 4170


oops, kernel panic!


WWW
« Reply #17 on: March 01, 2009, 11:24:21 PM »

^ hehe Cheesy CD-ROM Drive Laser Pickup Module Roll Eyes
Logged

join PhilRobotics - Amateur Robotics Club of the Philippines
underprezzure
Lead Acid Battery
*******

Pogi/Ganda Points: 44
Offline Offline

Gender: Male
Posts: 912


Destroyer! Web Crawler! Buster! Babaylan!


WWW
« Reply #18 on: March 02, 2009, 02:06:44 AM »

Patay. nagkalituhan na.

yus, maraming uri ng beats. Ano bang gusto mo i-measure? downbeats? upbeats? off-beats?

Baka kasi sa project mo ay off-beats ang gusto mong kunin, ay siya talagang mahirap yan compared sa mga downbeats.

Member ako dati ng banda at gumagamit na kami non ng mga electronic gadgets sa pagmeasure ng tones, tempo, etc.... kaya medyo may alam ako ng kunti sa mga ganito.. Grin


EDIT: kahit walang Bass string, Bass drum or synthesizer still may beat jan para sa bass beat. Kahit acapella ay may bass beat pa rin kahit soprano ang gamit ng mga kumakanta.

-underpazz campaigns for more technical post on technical threads
-underpazz campaigns for "no hijack policy" on technical sections
Logged

I am not reinventing the wheel, I am just making a difference.
Follow Forum Rules and Regulations
Search the forum before posting
Zero tolerance on spam
Stop thread hijack
'yus
Technical People
Nuclear Reactor
*****

Pogi/Ganda Points: 274
Offline Offline

Gender: Male
Posts: 4170


oops, kernel panic!


WWW
« Reply #19 on: March 02, 2009, 08:14:49 AM »

may mga types din pala yan "beat" Huh ang heart beat, kasama ba dyan? Cheesy
Logged

join PhilRobotics - Amateur Robotics Club of the Philippines
The Philippine Electronics and Technology Forum
   

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


Related Topics
Subject Started by Replies Views Last post
Anti-Sniper/Sniper Detection/Gunfire Detection Systems at a Glance
Gizmos and Gadgets
Ate Shey 3 1376 Last post December 15, 2010, 09:33:27 PM
by pishboy
any ideas for a rain detection sensor
Industrial Electronics and Industrial Engineering
craxtech 6 1636 Last post April 16, 2008, 09:32:11 PM
by romell
Help po address detection
PIC Microcontrollers
spo 0 427 Last post August 01, 2009, 03:01:26 AM
by spo
Bass Beat Detector for Disco Lights
Personal, Academic and Commercial Electronics Projects
maldihtah13 0 570 Last post November 27, 2009, 10:46:11 PM
by maldihtah13
Is this topic possible? PC Based Heart Beat / Pulse Monitor
Thesis and Project Proposal
ayrtonshunt 1 422 Last post February 18, 2010, 09:36:54 PM
by DigitalMind
opencv 2.1 color detection
Computer Programming/Software Engineering
caritas 0 86 Last post December 03, 2010, 03:39:00 PM
by caritas
light detection (preferably sunlight)..ldr or???
General Electronics and Technology Discussion
kmikze02 7 160 Last post February 27, 2011, 12:10:04 AM
by DigitalMind
Powered by MySQL Powered by PHP Powered by SMF 1.1.15 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!