PureBasic Forum
https://www.purebasic.fr/english/

How Can i detect the frequency/loudness of a music
https://www.purebasic.fr/english/viewtopic.php?f=5&t=2917
Page 1 of 1

Author:  BackupUser [ Wed May 08, 2002 2:47 pm ]
Post subject: 

Restored from previous forum. Originally posted by plouf.

What i mean is for example load and play an mp3 and/or wav
and detect the frequency - loudness of the sound file the specific
time for moving a dancer for example
Has anyone any idea ?

Christos



Edited by - plouf on 08 May 2002 15:51:10

Author:  BackupUser [ Wed May 08, 2002 3:46 pm ]
Post subject: 

Restored from previous forum. Originally posted by Pupil.

Quote:
What i mean is for example load and play an mp3 and/or wav
and detect the frequency - loudness of the sound file the specific
time for moving a dancer for example
Has anyone any idea ?

Christos

Edited by - plouf on 08 May 2002 15:51:10

If you want to get the frequency out of digitized sound i think the only way is to use FFT(Fast fourier transform), perhaps in an mp3 these are preserved somehow from the compression?(haven't checked the specs for mp3 compression so i really don't know) Anyway the loudness shouldn't be to hard just average the amplitude over a given interval(unless you wanted the amplitude of a specific frequency component, then it's back to FFT again)

That wasn't any help i guess, perhaps someone else got something more substancial for you to dig your teeth into.

Author:  BackupUser [ Sun May 12, 2002 8:33 pm ]
Post subject: 

Restored from previous forum. Originally posted by Rings.

Is that what your looking for ?

http://forums.purebasic.com/english/viewtopic.php?t=1284

Its a long way to the top if you wanna .....CodeGuru

Author:  BackupUser [ Tue May 14, 2002 8:33 pm ]
Post subject: 

Restored from previous forum. Originally posted by plouf.

Yes thats it Thanks Rings


Christos

Author:  BackupUser [ Thu May 23, 2002 1:47 pm ]
Post subject: 

Restored from previous forum. Originally posted by Stan.

Hi,

For envelope detection have a look at :

http://www.numerix-dsp.com/envelope.html

Hope this helps.

Stan




Since I attended an MS course, my programs no longer have bugs ... just hidden "features" !! [ PB. registered user ]

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/