SharperPortAudio 1.0.3

dotnet add package SharperPortAudio --version 1.0.3                
NuGet\Install-Package SharperPortAudio -Version 1.0.3                
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="SharperPortAudio" Version="1.0.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SharperPortAudio --version 1.0.3                
#r "nuget: SharperPortAudio, 1.0.3"                
#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 SharperPortAudio as a Cake Addin
#addin nuget:?package=SharperPortAudio&version=1.0.3

// Install SharperPortAudio as a Cake Tool
#tool nuget:?package=SharperPortAudio&version=1.0.3                

SharperPortAudio

SharperPortAudio let's you record audio for all desktop operating systems.
Latest version: 1.0.3
Wiki: https://github.com/Adisol07/SharperPortAudio/wiki
NuGet: https://www.nuget.org/packages/SharperPortAudio/


About

Code for base portaudio implementation is from PortAudioSharp2 (PortAudioSharp)
This library contains base portaudio wrapper and most runtimes bundled in (win-64x, osx-64x, linux-64x, win-arm, osx-arm, linux-arm)
Also this library uses NAudio for Wave format processing in Audio class.


Examples

You can find examples in source code (DemoConsole1 and DemoConsole2)

  • DemoConsole1 contains implementation of 3 second recording using just base port audio wrapper.
  • DemoConsole2 contains implementation of audio recording that stops when user presses any key using AudioRecorder class.

Upcoming features

  • Make PortAudio auto-initialize
  • Add bonus functions to AudioRecorder
  • Add AudioPlayer
  • Add ability to save recordings to file
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 (1)

Showing the top 1 NuGet packages that depend on SharperPortAudio:

Package Downloads
SharpSpeech

SharpSpeech is free, local and open source way to speech and wake word recognition.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.3 198 5/31/2024
1.0.2 113 5/30/2024
1.0.1 115 5/30/2024
1.0.0 108 5/30/2024