PortAudioSharp2 1.0.3

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

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

Introduction

C# binding for portaudio supporting Linux, macOS, and Windows.

See https://www.nuget.org/packages/PortAudioSharp2

The binding code is copied from PortAudioSharp.

Different from PortAudioSharp, this project packages pre-compiled portaudio into the nuget package, which simplifies user's life.

It's worth mentioning again that the binding code is copied directly from PortAudioSharp.

Examples

Recording for speech-to-text

You can find its usage for real-time speech-to-text from a microphone using sherpa-onnx at https://github.com/k2-fsa/sherpa-onnx/tree/master/dotnet-examples/speech-recognition-from-microphone

Playing for text-to-speech

You can find its usage for text-to-speech with a speaker using sherpa-onnx at https://github.com/k2-fsa/sherpa-onnx/tree/master/dotnet-examples/offline-tts-play

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  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 is compatible.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  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.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on PortAudioSharp2:

Package Downloads
Deepgram.Microphone

Helper Microphone Package

WhisperLive.Client.Recorder

A dotnet client for WhisperLive speech to text server with microphone record support.

MonoStereo

An custom audio engine built using NAudio and PortAudio.

Walgelijk.PortAudio

Cross-platform audio backend for Walgelijk using PortAudio

Deepgram.Unstable.Microphone.Builds

UNSTABLE DEVELOPER BUILDS - Deepgram .NET Microphone

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.4 1,640 7/31/2024
1.0.3 245 6/27/2024
1.0.2 189 6/13/2024
1.0.1 222 5/19/2024
1.0.0 3,784 3/20/2024
0.4.0 1,698 7/2/2023
0.3.2 182 7/1/2023
0.3.1 150 7/1/2023
0.3.0 207 7/1/2023
0.2.0 164 7/1/2023
0.1.0 178 7/1/2023