Asv.Audio.Source.Windows 0.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package Asv.Audio.Source.Windows --version 0.0.1
                    
NuGet\Install-Package Asv.Audio.Source.Windows -Version 0.0.1
                    
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.Source.Windows" Version="0.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Asv.Audio.Source.Windows" Version="0.0.1" />
                    
Directory.Packages.props
<PackageReference Include="Asv.Audio.Source.Windows" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Asv.Audio.Source.Windows --version 0.0.1
                    
#r "nuget: Asv.Audio.Source.Windows, 0.0.1"
                    
#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.
#addin nuget:?package=Asv.Audio.Source.Windows&version=0.0.1
                    
Install Asv.Audio.Source.Windows as a Cake Addin
#tool nuget:?package=Asv.Audio.Source.Windows&version=0.0.1
                    
Install Asv.Audio.Source.Windows as a Cake Tool

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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.1.3 131 6/6/2024
0.1.2 119 5/8/2024
0.0.1 97 5/8/2024
0.0.0 93 5/8/2024