Skip to content

Commit

Permalink
Update readme to add a link to a tts example. (#18)
Browse files Browse the repository at this point in the history
* Update readme to add a link to a tts example.

* release v1.0.0
  • Loading branch information
csukuangfj authored Mar 20, 2024
1 parent fa02b64 commit 0eb0195
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 8 deletions.
8 changes: 4 additions & 4 deletions PortAudioSharp/PortAudioSharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<Title>PortAudioSharp2</Title>
<Description>.NET wrapper for portaudio supporting Linux, macos, Windows.
</Description>
<Version>0.4.0</Version>
<Version>1.0.0</Version>
<Authors>Benjamin N. Summerton</Authors>
<IncludeSource>true</IncludeSource>
<Copyright>Copyright 2019</Copyright>
Expand All @@ -29,8 +29,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="org.k2fsa.portaudio.runtime.linux-x64" Version="0.4.0" />
<PackageReference Include="org.k2fsa.portaudio.runtime.osx-x64" Version="0.4.0" />
<PackageReference Include="org.k2fsa.portaudio.runtime.win-x64" Version="0.4.0" />
<PackageReference Include="org.k2fsa.portaudio.runtime.linux-x64" Version="1.0.0" />
<PackageReference Include="org.k2fsa.portaudio.runtime.osx-x64" Version="1.0.0" />
<PackageReference Include="org.k2fsa.portaudio.runtime.win-x64" Version="1.0.0" />
</ItemGroup>
</Project>
17 changes: 14 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

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

You can find its usage for real time speech recognition from a microphone using
[sherpa-onnx](https://github.com/k2-fsa/sherpa-onnx) at
<https://github.com/k2-fsa/sherpa-onnx/tree/master/dotnet-examples/speech-recognition-from-microphone>

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

Expand All @@ -18,3 +15,17 @@ directly from [PortAudioSharp][PortAudioSharp].

[PortAudioSharp]: https://gitlab.com/define-private-public/Bassoon/-/tree/develop/src/Bassoon/PortAudioSharp
[portaudio]: https://github.com/PortAudio/portaudio

# Examples

## Recording for speech-to-text

You can find its usage for real-time speech-to-text from a microphone using
[sherpa-onnx](https://github.com/k2-fsa/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](https://github.com/k2-fsa/sherpa-onnx) at
<https://github.com/k2-fsa/sherpa-onnx/tree/master/dotnet-examples/offline-tts-play>
2 changes: 1 addition & 1 deletion scripts/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@


def get_version():
return "0.6.0"
return "1.0.0"


def read_proj_file(filename):
Expand Down

0 comments on commit 0eb0195

Please sign in to comment.