Hello all
I am working on a program that can load a wave file, read the wave file and play it.Next I want to display the waveform of the wave file.
Can someone give me an idea on how can I do this?
I use VC++.

You can use PlaySound to playback a wav file.

The actual contents can be a little complex because the data can be encoded in a number of different ways including mp3. However in its simplest form PCM it is actually very simple has it consists of an simple array of 8 or 16 bit integers.

The Wikipedia entry for WAV is a good place to start your research of WAV file format.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.