Asv.Audio 0.1.2

dotnet add package Asv.Audio --version 0.1.2
NuGet\Install-Package Asv.Audio -Version 0.1.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Asv.Audio" Version="0.1.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Asv.Audio --version 0.1.2
#r "nuget: Asv.Audio, 0.1.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Asv.Audio as a Cake Addin
#addin nuget:?package=Asv.Audio&version=0.1.2

// Install Asv.Audio as a Cake Tool
#tool nuget:?package=Asv.Audio&version=0.1.2

asv-audio

Simple library for working with audio sources in .NET with a reactive interface

// format for raw audio
var format = new AudioFormat(48000,16,1);

// platform audio source for windows (it will be extended for Linux (ALSA), Android, iOS... in future)
IAudioSource src = new MmWindowsAudioSource();

// get first capture and render devices
using var rec = src.CreateFirstCaptureDevice(format) 
          ?? throw new Exception("Capture device not found");

using var play = src.CreateFirstRenderDevice(format) 
                 ?? throw new Exception("Render device not found");

// Example 1: send audio from capture to render (loopback)
rec.Subscribe(play);

// Example 2: encode/decode audio by opus codec
rec.OpusEncode(format)
    // may be some processing here (e.g. send over network)
    .OpusDecode(format)
    .Subscribe(play);

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Asv.Audio:

Package Downloads
Asv.Audio.Source.Windows

Simple library for working with audio sources in .NET with a reactive interface

Asv.Audio.Codec.Opus

Simple library for working with audio sources in .NET with a reactive interface

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.1.2 73 5/8/2024
0.0.1 65 5/8/2024
0.0.0 63 5/8/2024