Uniform.Matrix.Audio
0.1.13-rc5
See the version list below for details.
dotnet add package Uniform.Matrix.Audio --version 0.1.13-rc5
NuGet\Install-Package Uniform.Matrix.Audio -Version 0.1.13-rc5
<PackageReference Include="Uniform.Matrix.Audio" Version="0.1.13-rc5" />
<PackageVersion Include="Uniform.Matrix.Audio" Version="0.1.13-rc5" />
<PackageReference Include="Uniform.Matrix.Audio" />
paket add Uniform.Matrix.Audio --version 0.1.13-rc5
#r "nuget: Uniform.Matrix.Audio, 0.1.13-rc5"
#:package Uniform.Matrix.Audio@0.1.13-rc5
#addin nuget:?package=Uniform.Matrix.Audio&version=0.1.13-rc5&prerelease
#tool nuget:?package=Uniform.Matrix.Audio&version=0.1.13-rc5&prerelease
Uniform.Matrix.Audio
Voice audio for Matrix calls: 20 ms voice frames from a microphone and to a speaker over NAudio, with ALSA on Linux and WASAPI on Windows, and Opus encoding and decoding with Concentus in pure C#.
dotnet add package Uniform.Matrix.Audio
To hear yourself through Opus a second later, testing the microphone and speaker:
using Uniform.Matrix.Audio;
IAudioDevices devices = AudioDevices.ForThisPlatform() ?? throw new PlatformNotSupportedException();
using VoiceLoopback loopback = new(devices, TimeSpan.FromSeconds(1));
loopback.Start();
Console.ReadLine();
To encode and decode frames yourself, with MicrophoneFrames delivering 960-sample frames from any NAudio IWaveIn:
VoiceEncoder encoder = new();
VoiceDecoder decoder = new();
byte[] packet = encoder.Encode(frame);
short[] played = decoder.Decode(packet);
| 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
- Concentus (>= 2.2.2)
- NAudio.Alsa (>= 3.3.0)
- NAudio.Core (>= 3.3.0)
- NAudio.Wasapi (>= 3.3.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Uniform.Matrix.Audio:
| Package | Downloads |
|---|---|
|
Uniform.Matrix.Calls
Matrix 1:1 voice calls (m.call.*) for the Uniform.Matrix client engine: signalling over room events, WebRTC media with Uniform.Matrix.WebRtc, voice through Uniform.Matrix.Audio, and received VP8 video decoded with Uniform.Matrix.Video. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.66 | 0 | 11/25/2026 |
| 0.1.65 | 58 | 11/24/2026 |
| 0.1.64 | 55 | 11/24/2026 |
| 0.1.63 | 56 | 11/24/2026 |
| 0.1.59 | 76 | 11/23/2026 |
| 0.1.58 | 84 | 11/19/2026 |
| 0.1.57 | 77 | 11/19/2026 |
| 0.1.55 | 75 | 11/18/2026 |
| 0.1.54 | 78 | 11/18/2026 |
| 0.1.53 | 80 | 11/18/2026 |
| 0.1.52 | 83 | 11/18/2026 |
| 0.1.51 | 110 | 11/15/2026 |
| 0.1.50 | 106 | 11/13/2026 |
| 0.1.49 | 109 | 11/12/2026 |
| 0.1.46 | 106 | 11/12/2026 |
| 0.1.43 | 107 | 11/11/2026 |
| 0.1.42 | 102 | 11/11/2026 |
| 0.1.39 | 104 | 11/11/2026 |
| 0.1.38 | 112 | 11/11/2026 |
| 0.1.13-rc5 | 101 | 10/30/2026 |