CodeBrix.Audio.MitLicenseForever
1.0.201.77
dotnet add package CodeBrix.Audio.MitLicenseForever --version 1.0.201.77
NuGet\Install-Package CodeBrix.Audio.MitLicenseForever -Version 1.0.201.77
<PackageReference Include="CodeBrix.Audio.MitLicenseForever" Version="1.0.201.77" />
<PackageVersion Include="CodeBrix.Audio.MitLicenseForever" Version="1.0.201.77" />
<PackageReference Include="CodeBrix.Audio.MitLicenseForever" />
paket add CodeBrix.Audio.MitLicenseForever --version 1.0.201.77
#r "nuget: CodeBrix.Audio.MitLicenseForever, 1.0.201.77"
#:package CodeBrix.Audio.MitLicenseForever@1.0.201.77
#addin nuget:?package=CodeBrix.Audio.MitLicenseForever&version=1.0.201.77
#tool nuget:?package=CodeBrix.Audio.MitLicenseForever&version=1.0.201.77
CodeBrix.Audio
A fully managed, cross-platform audio file library for .NET. CodeBrix.Audio reads WAV and MP3 waveform audio, reads and writes Standard MIDI Files, reads MP3 ID3v2 tags, and exposes a set of DSP primitives (FFT, biquad filters, envelope follower, voice-activity detection) for audio analysis — and it behaves identically on Windows, macOS, and Linux.
The managed CodeBrix.Audio library has no dependencies other than .NET. It is provided as a .NET 10 library in the CodeBrix.Audio.MitLicenseForever NuGet package — which now also bundles CodeBrix.Audio.Engine, a cross-platform audio engine with a native backend (see below).
CodeBrix.Audio supports applications and assemblies that target Microsoft .NET version 10.0 and later. Microsoft .NET version 10.0 is a Long-Term Supported (LTS) version of .NET, and was released on Nov 11, 2025; and will be actively supported by Microsoft until Nov 14, 2028. Please update your C#/.NET code and projects to the latest LTS version of Microsoft .NET.
CodeBrix.Audio supports:
- Reading WAV (
.wav) waveform audio files, including PCM, IEEE-float, and A-law/μ-law encodings. - Reading MP3 (
.mp3) waveform audio files via a fully managed MPEG audio decoder (no ACM/DMO, no native code). - Writing WAV (
.wav) files. - Reading and writing Standard MIDI Files (
.mid). - Reading MP3 ID3v2 metadata tags.
- Audio analysis building blocks: fast Fourier transform, biquad filters, envelope follower, and voice-activity detection.
Sample Code
Read a WAV or MP3 file into samples
using CodeBrix.Audio.Wave;
using var reader = new AudioFileReader("track.mp3");
float[] buffer = new float[reader.WaveFormat.SampleRate * reader.WaveFormat.Channels];
int read = reader.Read(buffer, 0, buffer.Length);
Read and write a MIDI file
using CodeBrix.Audio.Midi;
var midi = new MidiFile("song.mid", strictChecking: false);
MidiFile.Export("song-copy.mid", midi.Events);
CodeBrix.Audio.Engine (bundled audio engine)
The same CodeBrix.Audio.MitLicenseForever package also ships CodeBrix.Audio.Engine, a full cross-platform audio engine: audio playback and recording, effects, editing/mixing, MIDI, synthesis, and visualization. Its types live under the CodeBrix.Audio.Engine.* namespaces (separate from CodeBrix.Audio.*).
Unlike the managed CodeBrix.Audio library, the Engine has a native dependency: a bundled codebrix_miniaudio backend (built from miniaudio) shipped for Windows, macOS, and Linux on x64 and ARM64. The correct native binary is selected automatically at runtime.
CodeBrix.Audio.Engine is vendored from the MIT-licensed SoundFlow project (v1.4.1). See THIRD-PARTY-NOTICES.txt for full attribution and license terms.
License
The project is licensed under the MIT License. see: https://en.wikipedia.org/wiki/MIT_License
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on CodeBrix.Audio.MitLicenseForever:
| Package | Downloads |
|---|---|
|
CodeBrix.Platform.GameEngine.MitLicenseForever
A fully managed, cross-platform 2D and 2.5D game engine for .NET, with tile maps, sprites, layered scenes, camera/view systems, animation, physics/collision, input, audio, and SkiaSharp rendering. Includes the CodeBrix.Platform host layer. |
|
|
CodeBrix.Platform.AudioPlayer.ApacheLicenseForever
Audio playback for CodeBrix.Platform Skia apps on every head: Windows (Win32 and Skia-on-WPF), Linux (X11, Wayland, FrameBuffer), and macOS. Provides the XAML-declarable AudioPlayer element - a bindable WAV/MP3 player with play/pause/stop, seek, volume, looping, and a timecode position that two-way binds to a Slider for scrubbing - plus the SoundEffect class for fire-and-forget sound effects. Audio files load from file paths, ms-appx:/// asset URIs, embedded://Assembly/Resource.Name URIs (embedded resources), or streams. Playback is fully managed via CodeBrix.Audio (with its bundled codebrix_miniaudio native backend) - no other native audio dependency is required. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.201.77 | 113 | 7/20/2026 |
| 1.0.199.38 | 56 | 7/18/2026 |
| 1.0.196.835 | 86 | 7/15/2026 |
| 1.0.196.416 | 77 | 7/15/2026 |
| 1.0.174.154 | 110 | 6/23/2026 |