Sunday, June 9, 2013

Sound Programming - Part 5

Playing a Wave file

This is in response to a reader's comment in Sound Programming - Part 2.

I am going to show how to play a sound file using similar API as and

This is part 5 of the series. If you are interested in the whole series, go to the Featured page.

Simple Wave Player

A wave file player with Fading out Effect

Since the comment is under, I would assume the reader wants a fading out effect while playing the sound file. Here is a sample that works for 16-bit wave file.

No comments:

Post a Comment