Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 746 Bytes

File metadata and controls

20 lines (15 loc) · 746 Bytes

aiOla TTS Synthesize Vanilla JS SDK

Stream Speech Example

this example demonstrates how to use the aiOla TTS SDK to synthesize speech and download the audio file as a .wav.

Spin up the example (using http-server)

Install http-server globally:

npm install -g http-server
  1. Run in the project directory:
    python cors_server.py
  2. 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.