Getting Started
Get up and running with Vocal Synth Engine in under two minutes.
Prerequisites
Section titled “Prerequisites”- Node.js 18 or later
- npm (bundled with Node.js)
- A modern browser (Chrome, Firefox, Edge) for the cockpit UI
Installation
Section titled “Installation”Clone the repository and install dependencies:
git clone https://github.com/mcp-tool-shop-org/vocal-synth-engine.gitcd vocal-synth-enginenpm ciStart the dev server
Section titled “Start the dev server”npm run devThe server starts at http://localhost:4321. The cockpit UI is served from the same port — open it in your browser to start playing.
Production build
Section titled “Production build”npm run buildnpm startThis compiles the cockpit UI and server, then starts the production server.
Available scripts
Section titled “Available scripts”| Script | Purpose |
|---|---|
npm run dev | Dev server with hot reload |
npm run build | Build cockpit and server |
npm start | Production server |
npm run inspect | CLI preset inspector |
Your first render
Section titled “Your first render”- Open
http://localhost:4321in your browser - The Score Editor tab opens by default
- Click and drag on the piano roll to create notes (C2 through C6)
- Choose a voice preset from the dropdown
- Click Render to generate a WAV file
- The render appears in the Render Bank tab for playback
Live mode quick start
Section titled “Live mode quick start”- Switch to the Live tab in the cockpit
- Play notes using the on-screen chromatic keyboard or your computer keyboard
- Connect a MIDI device for hardware control
- Use the XY pad to morph timbre (X axis) and breathiness (Y axis) in real time
Environment variables
Section titled “Environment variables”| Variable | Default | Description |
|---|---|---|
AUTH_TOKEN | (unset) | Optional token to protect API endpoints |
PORT | 4321 | Server port |
When AUTH_TOKEN is not set, all API endpoints are open. Set it to require bearer token authentication on protected routes.