Skip to content

litheon/PortAudioSharp2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C# 93.3%
  • Python 3.5%
  • Shell 1.9%
  • Dockerfile 1.3%