Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can multiple audio files be played in sequence?

Tags:

c#

.net

In my C# application, I need to play multiple audio files (WAV and MP3) one after the other. How can I accomplish that?

like image 693
Attilah Avatar asked Oct 27 '25 16:10

Attilah


1 Answers

CodeProject have several examples that shows how to play audio. Once you get the hang of that playing multiple files after each other should be easy.

  1. A low-level audio player in C#
  2. Playing .wav files using C#
  3. Audio Player using winmm.dll and WPL File
  4. A simple class to allow you to play Wavs in C#

I find that working directly with winmm.dll is pretty easy. My recomendation is to start with example 3

like image 112
Nifle Avatar answered Oct 29 '25 07:10

Nifle



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!