CodeBrix.Audio.MitLicenseForever
1.0.174.154
See the version list below for details.
dotnet add package CodeBrix.Audio.MitLicenseForever --version 1.0.174.154
NuGet\Install-Package CodeBrix.Audio.MitLicenseForever -Version 1.0.174.154
<PackageReference Include="CodeBrix.Audio.MitLicenseForever" Version="1.0.174.154" />
<PackageVersion Include="CodeBrix.Audio.MitLicenseForever" Version="1.0.174.154" />
<PackageReference Include="CodeBrix.Audio.MitLicenseForever" />
paket add CodeBrix.Audio.MitLicenseForever --version 1.0.174.154
#r "nuget: CodeBrix.Audio.MitLicenseForever, 1.0.174.154"
#:package CodeBrix.Audio.MitLicenseForever@1.0.174.154
#addin nuget:?package=CodeBrix.Audio.MitLicenseForever&version=1.0.174.154
#tool nuget:?package=CodeBrix.Audio.MitLicenseForever&version=1.0.174.154
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 — all with no native dependencies, so it behaves identically on Windows, macOS, and Linux.
CodeBrix.Audio has no dependencies other than .NET, and is provided as a .NET 10 library and associated CodeBrix.Audio.MitLicenseForever NuGet package.
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);
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 (3)
Showing the top 3 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. |
|
|
CodeBrix.Audio.Opus.BsdLicenseForever
Fully managed Ogg Opus decoding and encoding for CodeBrix.Audio, with no native binaries on any platform. Registers itself with the CodeBrix.Audio engine so .opus files play through AudioFilePlayer, SoundEffectClip and the GameEngine, open by file name through AudioFileReader, and record through the engine's Recorder. Ships separately from CodeBrix.Audio because the Opus codec is BSD-3-Clause rather than MIT. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.212.816 | 47 | 7/31/2026 |
| 1.0.212.418 | 38 | 7/31/2026 |
| 1.0.212.307 | 39 | 7/31/2026 |
| 1.0.201.77 | 372 | 7/20/2026 |
| 1.0.199.38 | 117 | 7/18/2026 |
| 1.0.196.835 | 99 | 7/15/2026 |
| 1.0.196.416 | 89 | 7/15/2026 |
| 1.0.174.154 | 115 | 6/23/2026 |