Log in

View Full Version : Audio Mixing (Playing multiple audio files (all .wav file formats) simultaneously on Pocket PC)


HRW01
07-07-2005, 08:06 AM
Here is a detailed description of the functionality we are trying to achieve and the problems we are facing.

Background:
We are developing a Pocket PC application which needs the functionality for audio mixing and tempo based audio playing.
The development environment we are using is as follows:

Project Type: Smart Device Application
Device: Pocket PC 2003
Language: C#
OS: Windows CE 4.2
IDE: Visual Studio 2003.

Problem Description: Audio Mixing (Playing multiple audio files (all .wav file formats) simultaneously on Pocket PC)
What we are trying to achieve is that C# should open multiple threads and each thread should contain the logic for playing single .wav file, so when the pocket pc runs multiple threads, (since each thread runs a single audio file), we get the effect of audio mixing.

Basically in short, we want to implement a logic which will read the audio files from a directory and play it in a program thread.

As of now, we have implemented logic to play a single audio file using the Windows CE API. Using the same logic if we try to implement playing multiple files, it stops playing the current file and starts playing the new one (and hence audio mixing effect is not achieved)

Problem Description: Fade-in and fade-out audio samples and tempo based playing

We want to implement the fade-in, fade-out sound effect and the tempo based sound effect functionality in the pocket pc program by using compact frame work and C#.Net.

Note: - A prerequisite in our application is that the number of audio files (and hence the number of program threads playing audio files) is not a predefined number.

Any help would be very much appreciated.

Hope to hear soon from you.