Playing wav

This is a discussion on Playing wav within the C++ Programming forums, part of the General Programming Boards category; One day I recorded a song,and saved as wav format. Then I want to compare it to the original song,findingThe ...

  1. #1
    Registered User
    Join Date
    Apr 2009
    Posts
    6

    Question Playing wav

    One day I recorded a song,and saved as wav format. Then I want to compare it to the original song,findingThe similarities and differences.

    But I don't know what is the really important data in the wav format.

    In the wav formant,Data Chunk - is what??????? I mean those self-defined data.

    [channels,Sample rate,Average bytes per second,Block align......???? WaveX APIS???]

    Please help me~~

  2. #2
    Not stupid, just stupider yaya's Avatar
    Join Date
    May 2007
    Location
    Earthland
    Posts
    204
    Huh? I suggest getting a sound API. Good ones are OpenAL and FMOD.

  3. #3
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,170
    frequency (pitch) and amplitude (volume) as functions of time perhaps?

  4. #4
    Registered User
    Join Date
    Apr 2009
    Posts
    6
    Huh,can this enough?

  5. #5
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,170
    Yeap, except if it's recorded (as opposed to computer generated), chances are many things will be happening at the same time (many notes). Even if there is only 1 note, it will have a few harmonics. So yes, it's just amplitude and frequency, except you have a function that is a sum of many waves. It won't be easy to separate them out.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Playing a wav file while a thread is running
    By etzarfat in forum C Programming
    Replies: 0
    Last Post: 08-25-2009, 04:05 AM
  2. Replies: 5
    Last Post: 07-30-2003, 03:04 PM
  3. Wav edit programmation for dos with DJGPP
    By sprudhom in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 07-17-2003, 07:35 AM
  4. Playing a wav file in C language
    By tvkswamy in forum C Programming
    Replies: 1
    Last Post: 09-13-2001, 10:01 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21