CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2000
    Location
    America
    Posts
    130

    Pitch And Amplitude

    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


  2. #2
    Join Date
    May 1999
    Location
    Oxford UK
    Posts
    1,459

    Re: Pitch And Amplitude

    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

  3. #3
    Join Date
    Feb 2000
    Location
    America
    Posts
    130

    Re: Pitch And Amplitude

    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!


  4. #4
    Join Date
    May 1999
    Location
    Oxford UK
    Posts
    1,459

    Re: Pitch And Amplitude

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured