This app is based on the Sample React App fot integration with the Azure Speech service by Azure-Samples.
- This project assumes that you have an Azure account and Speech service subscription. If you don't have an account and subscription, try the Speech service for free.
- Ensure you have Node.js installed.
- Clone this repo, then change directory to the project root and run
npm install
to install dependencies. - Run
cp .env.example .env
- Add your Azure Speech key and region to the
.env
file, replacing the placeholder text. - Run
npm install
- To run the Express server and React app together, run
npm run dev
.
To change the source recognition language, change the locale strings in App.js
speechConfig.speechRecognitionLanguage = 'en-US'
For a full list of supported locales, see the language support article.