this example demonstrates how to use the aiOla TTS SDK to synthesize speech and download the audio file as a .wav
.
Install http-server globally:
npm install -g http-server
- Run in the project directory:
python cors_server.py
- Open your browser and navigate to
http://localhost:3000
Note: Due to security restrictions, modern browsers require a secure context (HTTPS or localhost) to access the microphone. Running directly from
file://
protocol won't work for microphone access.