Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

Generates chord progression WAV files with 28 presets, 22 arpeggio patterns, 7 instruments, and drum tracks via MCP tools like generate_wav and list_options.

README.md

chord-synth

Generate chord progression WAV files. Zero dependencies. Node.js only.

28 named presets, 22 arpeggio patterns, 7 instruments, slash chords (Am/E), transposition, pad/bass/drum tracks, reverb.

Quick Start

# Install globally
npm install -g chord-synth

# Generate a WAV file
chord-synth --preset "C G Am F" --bpm 120 --output pop.wav

# Custom jazz with slash chords
chord-synth --preset "Dm9 | G7/B | Cmaj7 | Am7/E" --instrument piano --drums bossanova --output jazz.wav

# Named preset transposed to key of G
chord-synth --preset "I-V-vi-IV (Pop)" --transpose 7 --output pop_in_G.wav

# Batch render from JSON file
chord-synth --batch render_jobs.json --output ./wavs/

Use as MCP Server

Exposes generate_wav and list_options tools to any MCP-compatible agent (Claude Desktop, Claude Code, Cursor, Windsurf, etc).

Claude Desktop — add to claude_desktop_config.json: ```json { "mcpServers": { "chord-synth": { "command": "npx", "args": ["-y", "chord-synth", "mcp"] } } }


**Claude Code:**

Add to Claude Code (point to the installed mcp-server.js)

claude mcp add chord-synth -- npx chord-synth --mcp ```

Then ask Claude: "Generate a sad violin arpeggio over Am F C G at 80 BPM" — it will call generate_wav directly.

ChatGPT Codex: `` Prompt: I have a mcp tool to generate chord wav files at https://github.com/Misfits-Rebels-Outcasts/chord-synth, use it generate a chord progression for violin "Am Dm G C" at 128 bpm ``

Use as Node.js Module

const { renderJob, PRESETS, SCHEMA } = require('chord-synth');
const fs = require('fs');

// Render a WAV buffer
const wav = renderJob({
  preset: "C G Am/E F",
  bpm: 120,
  instrument: "piano",
  pattern: 1,        // Up
  enablePad: true,
  drumPattern: "poprock"
});

fs.writeFileSync('output.wav', wav);

Agent Interface

Agents should call chord-synth --schema to get the full JSON tool specification:

chord-synth --schema

Returns: ``json { "tool": "chord-synth", "description": "Generate chord progression WAV files...", "input_schema": { "type": "object", "required": ["preset"], "properties": { "preset": { "type": "string", "description": "Named preset or custom chords..." }, "bpm": { "type": "integer", "default": 120 }, "instrument": { "type": "string", "enum": ["piano","guitar","violin",...] }, ... } }, "examples": [...] } ``

List all available options: ``bash chord-synth --list ``

Parameters

| Parameter | Type | Default | Description | |-----------|------|---------|-------------| | preset | string | required | Named preset ("I-V-vi-IV (Pop)") or custom chords ("C G Am/E F") | | bpm | int | 120 | Tempo | | transpose | int | 0 | Semitones (-11 to +11) | | pattern | int | 1 | Arp pattern index (see below) | | rate | string | "1/8" | Note rate: 1/1 1/2 1/4 1/8 1/16 1/32 (add T for triplet) | | instrument | string | "piano" | piano guitar violin flute clarinet cello bass | | octaveRange | int | 1 | 1-4 octave span | | baseOctave | int | 3 | Starting MIDI octave | | velocity | int | 90 | MIDI velocity 1-127 | | swing | float | 0.5 | 0.5=straight, 0.66=medium, 0.75=heavy | | loops | int | 2 | Progression repetitions | | enablePad | bool | true | Sustained pad chord track | | padOctave | int | 4 | Pad voicing octave | | padVolume | float | 0.12 | Pad volume (0.0-0.3) | | enableBass | bool | true | Auto bass (slash chords set bass note) | | enableDrums | bool | true | Drum track | | drumPattern | string | "poprock" | See drum patterns below | | reverbMix | float | 0.18 | Reverb amount (0.0-0.5) |

Named Presets

| Category | Presets | |----------|---------| | Pop/Rock | I-V-vi-IV (Pop), I-vi-IV-V (50s), vi-IV-I-V (Sad), I-IV-V-IV (Rock), I-V-vi-iii-IV (Canon) | | Jazz | ii-V-I (Jazz), I-vi-ii-V (Jazz Turnaround), iii-vi-ii-V (Coltrane), Autumn Leaves, So What, Steely Dan | | Neo-Soul/R&B | Neo-Soul I, Neo-Soul II, R&B Smooth | | Blues | 12-Bar Blues, Minor Blues | | Latin | Bossa Nova, Girl from Ipanema, Andalusian Cadence, Royal Road (JP) | | Modal/Ambient | Dorian Vamp, Lydian Float, Ambient Pads | | EDM | EDM Anthem, Trance, House | | Classic | Pachelbel Canon, Gospel |

Or use any custom chord string: "Fmaj7 Em7 Dm9 Cmaj7", "Am | Dm/F | E7 | Am", etc.

Arp Patterns

| Index | Name | Index | Name | |-------|------|-------|------| | 0 | Chord (Block) | 11 | Pinky-Thumb | | 1 | Up | 12 | Thumb-Pinky | | 2 | Down | 13 | 1-3-5-3 | | 3 | Up-Down | 14 | 1-5-3-5 | | 4 | Down-Up | 15 | 1-5-8-5 | | 5 | Up-Down (No Repeat) | 16 | 1-3-5-8-5-3 | | 6 | Down-Up (No Repeat) | 17 | Alberti Bass | | 7 | Random | 18 | Stride | | 8 | Random Walk | 19 | Broken 3rds | | 9 | Outside-In | 20 | Pedal Tone | | 10 | Inside-Out | 21 | Alternating Bass |

Drum Patterns

8beat 16beat poprock acousticpop bossanova swing funk rnb waltz arpeggio none

Chord Notation

Roots: C C# Db D D# Eb E F F# Gb G G# Ab A A# Bb B

Qualities: (major) m 7 maj7 m7 dim aug sus2 sus4 9 m9 maj9 11 m11 13 6 m6 dim7 m7b5 add9 5 power

Slash chords: Am/E (Am chord, E bass note), C/G, Dm7/A

Separator: spaces or | both work. C G Am F = C | G | Am | F

Output

WAV PCM 16-bit mono 44100 Hz. Compatible with all DAWs, audio players, and audio processing tools.

License

MIT

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Files & Docs servers.