Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Looking for a simple MP3 library for C# [closed]

I'm writing a larger project and a part of the project is playing MP3 files. Nothing fancy, just playing files from a playlist, start/stop, next/previous (can be done outside the library), fast forward/rewind. I'm looking for a (free) library, or any other method of doing that. Relying on an external player is not an option.

like image 978
Mg D Avatar asked Jan 25 '26 07:01

Mg D


2 Answers

You can find a very simple C# library that plays MP3 audio files at:

A Simple C# Player MP3 with NAudio

The library have the following functionality:

  • Full control over the implementation of the audio file (load, play, stop and pause)
  • Volume control audio level and balance of sound.
  • Indication of the execution time
like image 117
Luca Farias Avatar answered Jan 27 '26 20:01

Luca Farias


Bass Audio Library is one option.

Check out SDL.NET http://cs-sdl.sourceforge.net/ It's a library and has ways to play music.

NAudio is an open source .NET audio library that can play back WAV files, using ACM codecs installed on your computer for decompression purposes. It also has preliminary support for MP3 file playback (works good with CBR, not always so reliably with VBR). It can't do WMA and OGG yet though.

like image 22
sikender Avatar answered Jan 27 '26 19:01

sikender