Alsa.Net
1.0.10
dotnet add package Alsa.Net --version 1.0.10
NuGet\Install-Package Alsa.Net -Version 1.0.10
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="Alsa.Net" Version="1.0.10" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Alsa.Net" Version="1.0.10" />
<PackageReference Include="Alsa.Net" />
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 Alsa.Net --version 1.0.10
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Alsa.Net, 1.0.10"
#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.
#:package Alsa.Net@1.0.10
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Alsa.Net&version=1.0.10
#tool nuget:?package=Alsa.Net&version=1.0.10
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
ALSA.NET
Simple .Net Standard Wrapper for the Advanced Linux Sound Architecture (ASLA).
Dependencies
Make sure to have the following libary installed on your target device:
sudo apt-get install libasound2-dev
First Steps
- Create your custom device settings or use the systems defaults
var soundDeviceSettings = new SoundDeviceSettings();
- Build your sound device interface
using var alsaDevice = AlsaDeviceBuilder.Create(soundDeviceSettings);
- Record 10 seconds of Audio to a file
alsaDevice.Record(10, "output.wav");
- Play a Wav file
alsaDevice.Play("output.wav");
Ensure to look into the example projects for more details on how to use this package.
Thank you
Thanks to ZhangGaoxing for the initial work on the ALSA Native Bindings.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. net10.0 was computed. 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. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.1
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Alsa.Net:
| Package | Downloads |
|---|---|
|
Respeaker.Net
Simple .Net Standard Library to control Respeaker Microphone Arrays |
GitHub repositories
This package is not used by any popular GitHub repositories.