Free .NET Library for Manipulating Audio Documents

Render, Encode and Stream Audio File Format.

LibVLCSharp is an open source API to render, ecnode and deco Audio file fromats. Using The API, you can not only play all type of audio file formats including MP3, MPEG, AAC, TrueAudio and more but, can also play them on any platform including Windows, Linux, Mac, Android, iOS and TVs. In short, the API supports most of the features supported by the VLC desktop app for free.

LibVLCSharp is a free software released under the LGPL. The developer can create their own audio manipulation application using the API. The developers can work with a wide range of Audio file formats for metadata manipulation. Furthermore, you can play 3D audio playback, use audio filters, supports audio passthrough with APDIF and HDMI and more.

Previous Next

Getting Started with LibVLCSharp

The best way to install to insall LibVLCSharp is via NuGet you can run the following command and install LibVLCSharp in you application.

Install LibVLCSharp from NuGet

 Install-Package LibVLCSharp -Version 3.4.8

Play Audio with Free C# API LibVlcSharp

LibVLCSharp allows .NET programmers to play all aduio file formats easily. In order to run an audio file format, the developer can start by initializing LibVLC main object, and then load audio file by using Media class that is responsible for proving information about the file format. Once you have your audio file loaded, you can open new instance of MediaPlayer to play the audio file using MediaPlayer.Play() method.

Install LibVLCSharp from NuGet

 Install-Package LibVLCSharp -Version 3.4.8

Retrieve Audio Track Info via C#

The open source API LibVLCSharp allows .NET developers to retrieve Audio track information programatically. In order to extract the information, first you need to load the file using the Media class and check if the file is a propert Audio track. After that, you can extract the track information by accessing Track properties like Track.Data.Channels, Track.Data.Rate and more.

Install LibVLCSharp from NuGet

 Install-Package LibVLCSharp -Version 3.4.8