Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Playing a wave file by iterating byte by byte??

Status
Not open for further replies.

Hedphoniks

Programmer
Feb 13, 2006
1
GB
How can I read a wav file byte by byte and play it by iterating the bytes through a buffer (talking actual full length .wav files 30 - 40mb so a streaming method similar to that in directsound I guess). I have looked into directsound and other such sdk/api's but cannot find anything at the level of actual PCM byte iteration, that gives full control of the samples. I eventually want to re organise a wav file with samples in reverse order for
backward playback (for a virtual DJ turntable project) I assume there is a way, i hope someone can help me.

Thanks

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top