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 milliseconds.
Viewing readonly version of main branch: v2View latest version
A simple Progressive Web App (PWA) that transforms text into speech with podcast-style playback controls.
- Paste any text to have it read aloud
- Full audio playback controls including:
- Play/pause
- Skip forward/backward 10 seconds
- Speed control (0.5x to 2.0x)
- Seek bar with time display
- Choice of 6 different high-quality voices
- Progressive Web App capabilities:
- Works offline
- Can be installed to home screen
- Responsive design
- Paste or type text in the input area
- (Optional) Click the settings icon to choose a different voice
- Click "Generate Speech" to convert the text to audio
- Use the playback controls to navigate and adjust the audio
- Built with React and TypeScript
- Uses the OpenAI TTS (Text-to-Speech) API for high-quality voice synthesis
- Implements PWA features with service worker for offline capabilities
- Alloy - Neutral voice
- Echo - Deeper, resonant voice
- Fable - Warm, folksy voice
- Onyx - Authoritative, deep voice
- Nova - Energetic, youthful voice
- Shimmer - Clear, light voice
To install this as a PWA on your device:
- Visit the app URL
- Click the install icon in the address bar
- Follow the prompts to install
- Open in Safari
- Tap the share button
- Select "Add to Home Screen"
- Follow the prompts
- Open in Chrome
- Tap the menu button
- Select "Add to Home Screen"
- Follow the prompts