https://github.com/yousef0sa/speech-to-text
Speech-To-Text is a C# desktop app that uses Azure Cognitive Services to convert and translate speech. You can copy or show the text on the screen, and choose the language of the speech or the translation.
https://github.com/yousef0sa/speech-to-text
azure-cognitive-services c-sharp desktop-application dotnet speech-to-text speech-translation
Last synced: 2 months ago
JSON representation
Speech-To-Text is a C# desktop app that uses Azure Cognitive Services to convert and translate speech. You can copy or show the text on the screen, and choose the language of the speech or the translation.
- Host: GitHub
- URL: https://github.com/yousef0sa/speech-to-text
- Owner: yousef0sa
- Created: 2023-07-27T08:38:39.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-08-08T05:32:19.000Z (almost 2 years ago)
- Last Synced: 2025-02-07T02:48:36.845Z (4 months ago)
- Topics: azure-cognitive-services, c-sharp, desktop-application, dotnet, speech-to-text, speech-translation
- Language: C#
- Homepage:
- Size: 50.8 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Speech-To-Text
A simple C# desktop application that converts speech to text using Microsoft Azure Cognitive Services.
## Features:
- It can convert speech to text using Microsoft Azure Cognitive Services.
- It can translate speech to different languages using Microsoft Azure Translator.
- It can copy the text to the clipboard or show it on the screen.
- It can select the language of the speech from a dropdown menu.## Prerequisites
Before running the app, make sure you have the following:
- API Keys for Azure Services (Translator and Speech service).
- Installed the following NuGet packages: DotNetEnv, Azure.CognitiveServices.Speech, and Newtonsoft.Json.## Getting Started
To get the app up and running, follow these steps:
1. Clone this repository.
2. Navigate to the directory where the code is cloned.
3. Create a `.env` file in the root directory.
4. In the .env file, add your Keys and Region of Azure Services Subscription as follows:
```bash
Speech_API_KEY = "Your_Speech_service_API_Key"
Translator_API_KEY = "Your_Translator_API_Key"
Region = "Subscription_Region"
```
5. Build and run the application.## How to Use the App
1. Click the "Start" button and begin speaking. The app will automatically recognize when you stop speaking without requiring you to click the "Stop" button.
2. The "Stop" button is only for canceling the process if needed.
3. Radio buttons:
- **Speech:** This option converts speech to text. Remember to select the language for speech recognition.
- **Translation:** Use this option to translate to any language.4. Checkboxes:
- **Copy Text:** Enable this option to copy the text after finishing the speech or translation.
- **Show Text:** Enable this option to display the text of the speech or the translated text from the app.
## Built With
* C#
* DotNetEnv
* Azure.CognitiveServices.Speech
* Newtonsoft.Json## Authors
- [@Yousef](https://github.com/yousef0sa)