Smart Speed is a simple demo that turns any article into audio you can compare in two ways: a standard “baseline” text-to-speech and a “smart speed” version. The smart version automatically varies tempo based on punctuation and context, so sentences sound more natural than a flat .5×, 1.5×, or 2× playback. It can also apply subtle pitch and tone changes, such as a slower, softer “bedtime” style to help listeners fall asleep. The goal is to make speed-adjusted listening clearer, smoother, and more enjoyable.
This project was created with Better-T-Stack, a modern TypeScript stack that combines Next.js, Next, and more.
- TypeScript - For type safety and improved developer experience
- Next.js - Full-stack React framework
- TailwindCSS - Utility-first CSS for rapid UI development
- shadcn/ui - Reusable UI components
- Next.js - Full-stack React framework
- Node.js - Runtime environment
- Biome - Linting and formatting
First, install the dependencies:
bun installThen, run the development server:
bun devOpen http://localhost:3001 in your browser to see the web application. The API is running at http://localhost:3000.
smart-speed/
├── src/
│ ├── app/ # Frontend application (Next.js)
│ └────── /api # API route for TTS (Next)
bun dev: Start all applications in development modebun build: Build all applicationsbun test: Run Jest testsbun dev:web: Start only the web applicationbun dev:server: Start only the serverbun check-types: Check TypeScript types across all appsbun check: Run Biome formatting and linting