Click to See Complete Forum and Search --> : Pitch And Amplitude


Atlantisoft
February 24th, 2000, 07:28 AM
Hi. I need to know how to find the Pitch and Amplitude of a song (wav, mid, cda, mp3, etc) in realtime (as it plays) and by decoding it to find the pitch and amplitude of each frame. I'm sure you can probably do this using a DirectX Dll on the system. Can anyone help? Thanx in advance - Atlantis

Chris Eastwood
February 24th, 2000, 07:34 AM
There's some code on the CodeGuru site that shows how to examine a MIDI file in detail (so much detail, that I haven't the faintest idea what it all means ;-) - it may just help you out.

Take a look at : http://codeguru.developer.com/vb/articles/2041.shtml



Chris Eastwood

CodeGuru - the website for developers
http://codeguru.developer.com/vb

Atlantisoft
February 24th, 2000, 06:22 PM
Just wanted to let you know how big of an impact this code had on me. I've been searching for this kind of info for the past few months, litterally every day. I thought there was just a few variables per frame in songs, I had no clue there was this much info. Now, thanx to you =), I'm able to do ALOT more than originally planned and probably get ALOT of cash off it hehe. You don't know how much this has helped me, I can't thank you enough! THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU!

Chris Eastwood
February 25th, 2000, 03:01 AM
So you're happy with it then ? :)

If you like the code, add a comment to the article on the site to let the author know (he's been coming up with some excellent stuff recently (checkout his Tetris game on the site)) - this kind of feedback keeps the top-quality submissions coming in.


Chris Eastwood

CodeGuru - the website for developers
http://codeguru.developer.com/vb