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.
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
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