Audio playback/capturing engine for C#
SharpAudio is a cross-platform, backend-agnostic library to playback sounds in .NET. It achieves that by wrapping the platform specific backends.
Supported backends:
SharpAudio provides a low-level interface that wraps audio sources & buffers:
…A high level interface that can load and play sound files is provided in the SharpAudio.Codec package:
var engine = AudioEngine.CreateDefault();
var soundStream = new SoundStream(File.OpenRead("test.mp3"), engine);
soundStream.Volume = 0.5f;
soundStream.Play();The following sound formats are supported at the moment:
.wav (PCM & ADPCM).mp3 .ogg (WIP: Vorbis & Opus)No open issues yet, or sync has not completed.