Public
Like
SimpleAudioPlayerPWA
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data ā all from the browser, and deployed in miliseconds.
A simple Progressive Web App (PWA) that transforms text into speech with podcast-style playback controls.
- Paste any text to have it read aloud
- Choose from 6 different high-quality voices
- Full audio playback controls:
- Play/pause
- Skip forward/backward 10 seconds
- Speed control (0.5x to 2.0x)
- Seek bar with time display
- Progressive Web App capabilities (works offline, installable)
- Paste or type text in the input area
- Select a voice from the dropdown
- Click "Generate Speech" to convert the text to audio
- Use the playback controls to navigate the audio
The app uses OpenAI's Text-to-Speech API with these voices:
- Alloy - Neutral, versatile voice
- Echo - Deeper, resonant voice
- Fable - Warm, folksy voice
- Onyx - Authoritative, deep voice
- Nova - Energetic, youthful voice
- Shimmer - Clear, light voice
This app can be installed as a Progressive Web App:
- Open the app in Chrome or Edge
- Click the install icon in the address bar
- Follow the prompts
- Open in Safari
- Tap Share > Add to Home Screen
- Open in Chrome
- Tap menu > Add to Home Screen