-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from Swimburger/main
Make Microphone stream sample Windows compatible, add readmes
- Loading branch information
Showing
3 changed files
with
33 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Transcribe audio from the microphone in real-time | ||
|
||
The following things are required to run the sample: | ||
* [.NET 8 or up](https://dotnet.microsoft.com/en-us/download) | ||
* [Install SoX and add it to the PATH environment variable](https://sourceforge.net/projects/sox/) | ||
* An [AssemblyAI](https://www.assemblyai.com/dashboard/signup) account with credit card set up | ||
* Configure [your AssemblyAI API key](https://www.assemblyai.com/app/account) using .NET user-secrets: | ||
```bash | ||
dotnet user-secrets set AssemblyAI:ApiKey [YOUR_API_KEY] | ||
``` | ||
|
||
Now run the sample: | ||
|
||
```bash | ||
dotnet run | ||
``` | ||
|
||
Speak into your microphone to see your speech transcribed in real-time. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Samples for the AssemblyAI C# .NET SDK | ||
|
||
This solution contains a variety of samples that show how to use the AssemblyAI SDK for C# .NET. | ||
|
||
* [MicrophoneStream](./MicrophoneStream): A console app to transcribe speech from the microphone in real-time. | ||
* [Avalonia](./Avalonia): An Avalonia app that lets you transcribe audio files, prompt LLMs using LeMUR, and transcribe speech from the microphone in real-time. | ||
* [BlazorSample](./BlazorSample): A Blazor WASM and Server app that lets you transcribe audio files, prompt LLMs using LeMUR, and transcribe speech from the microphone in real-time. | ||
* [TwilioVoice](./TwilioVoice): An ASP.NET Core app that uses Twilio Media Streams to transcribe speech from Twilio Voice calls in real-time. |