- Node.js 16+ installed
- npm or yarn package manager
- Install dependencies:
npm install- Start the development server:
npm run dev- Open your browser:
Navigate to
http://localhost:3000
That's it! You should see the Pedalboard.js interface with sample pedals.
The example app demonstrates all features:
- Add/remove pedals
- Adjust pedal settings
- Upload audio files or use microphone input
- Save/load presets
Create your own pedalboard in just a few lines:
import { Stage, Board, Overdrive, Delay, Reverb } from '@pedalboard/core';
// Initialize
const stage = new Stage();
const board = new Board(stage.getContext());
// Add pedals
const overdrive = new Overdrive(stage.getContext());
const delay = new Delay(stage.getContext());
const reverb = new Reverb(stage.getContext());
board.addPedals([overdrive, delay, reverb]);
stage.setBoard(board);
// Play audio
await stage.play('/audio/sample.mp3');# Build the library
npm run build:lib
# Build the example app only
npm run build:app
# Build both library and example app
npm run build- Overdrive - Distortion/overdrive effect
- Delay - Echo/delay effect
- Reverb - Room/hall reverb
- Volume - Simple volume control
- Cabinet - Guitar cabinet simulator
import { PedalBoard, AudioControls } from '@pedalboard/core/components';
function App() {
const stage = new Stage();
const board = new Board(stage.getContext());
return (
<>
<AudioControls stage={stage} />
<PedalBoard board={board} />
</>
);
}- Read the full README
- Check the Migration Guide if coming from v1
- Explore the example app source
- Create custom pedals
Click anywhere on the page first. Browsers require user interaction to start audio.
- Check your volume (both system and in-app)
- Make sure you've uploaded an audio file or enabled microphone
- Check that pedals aren't bypassed (LED should be on)
- Allow microphone permissions when prompted
- Make sure you're using HTTPS (required for getUserMedia)
- Check your browser console for errors
npm run dev # Start development server
npm run build # Build library and example app
npm run build:lib # Build library only
npm run build:app # Build example app only
npm run preview # Build and preview the example app
npm run lint # Run ESLint
npm run type-check # Run TypeScript type checkingYou're all set! Start experimenting with different pedal combinations and create your perfect tone.