Skip to content

C# binding for portaudio supporting Linux, macOS, Windows, iOS

License

Notifications You must be signed in to change notification settings

csukuangfj/PortAudioSharp2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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