Namespace Uniform.Matrix.Audio
Classes
AlsaAudioDevices
ALSA devices by name; the default ones route through PipeWire or PulseAudio on desktops, so the system's sound settings apply.
AudioDevice
A microphone or speaker a platform offers.
AudioDevices
The audio devices of the platform the app runs on.
MicrophoneFrames
Turns what a microphone records, in whatever format its device gives, into 20 ms voice frames: mixed to mono and resampled to 48 kHz.
RingTone
A ring tone for an incoming call, played on a speaker until disposed: two bursts of a two-tone chord, then a pause, repeated; for platforms without a ringtone of their own, such as desktops.
SpeakerFrames
Plays 20 ms voice frames through a speaker, keeping a short buffer against uneven arrival; silence fills the gaps.
VoiceDecoder
Decodes Opus packets into 20 ms voice frames; a missing packet is concealed from the ones before it.
VoiceEncoder
Encodes 20 ms voice frames as Opus packets, with Concentus in pure C#.
VoiceFormat
The audio of voice calls: 48 kHz mono 16-bit samples in 20 ms frames, as Opus over RTP usually carries them.
VoiceLoopback
Plays the microphone back through the speaker after a round trip through Opus, a delay later, to test the audio path without a call: speak, and hear yourself.
WasapiAudioDevices
Windows devices through WASAPI, in shared mode, chosen by part of their friendly name, e.g. Headset.
Interfaces
IAudioDevices
Opens the microphone and speaker of a platform, as NAudio devices.