Command
Ready.
Syntax
General
wave=(sine|square|saw|triangle|noise)
note=A4 or freq=440Hz
dur=0.5s (max 5s)
volume=-6dB
seed=123 (for noise variation)
Envelope
attack=5ms decay=120ms sustain=0.5 release=80ms
pitch_sweep=+12st/80ms (semitones over time)
Filter
filter=(lowpass|highpass|bandpass)
cutoff=1200Hz q=0.8
LFO & Drive
lfo=5Hz->cutoff:2400
lfo=6Hz->pitch:30c (cents)
drive=0.3 (soft distortion)
Voices & Filter Env
voices=3 detune=7c spread=0.8
filter_env=0.8 filter_attack=10ms filter_decay=200ms
Effects
reverb=0.3 room=(small|medium|large|hall)
delay=0.2s feedback=0.4 delay_mix=0.3
chorus=0.5 chorus_rate=2Hz chorus_depth=5ms
Advanced Synthesis
fm_ratio=2.1 fm_depth=500 (FM synthesis)
am_rate=6Hz am_depth=0.5 (amplitude mod)
ring_freq=440Hz ring_mix=0.3 (ring mod)
h2=0.3 h3=0.2 h4=0.1 h5=0.05 (harmonics)
Audio Processing
bits=8 sample_rate=0.5 (bit crushing)
phaser_rate=2Hz phaser_depth=0.8 phaser_feedback=0.3
comp_threshold=0.7 comp_ratio=4 (compressor)
eq_low=1.2 eq_mid=0.8 eq_high=1.5 (3-band EQ)
Formant & Granular
formant_f1=800Hz formant_f2=1200Hz formant_f3=2600Hz
grain_size=0.1s grain_pitch=1.5 (granular)
Tokens are space-separated key=value
. Units: ms, s, Hz, kHz,
dB, st (semitones), c (cents). Unknown tokens are ignored.
AI Audio Generation Prompt Template
Copy this complete specification to tell AI systems exactly what synthesis tools are available and how to format commands.
Use this with ChatGPT, Claude, or other AI systems
AUDIO SYNTHESIS COMMAND FORMAT:
Use space-separated key=value pairs. Available synthesis tools and parameters:
OSCILLATORS & WAVEFORMS:
• wave=(sine|square|saw|triangle|noise) - Base waveform
• note=A4 or freq=440Hz - Pitch (notes: C3-C6, frequencies: 20Hz-20kHz)
• dur=0.5s - Duration (0.01s to 5.0s maximum)
• seed=123 - Random seed for noise variation
ENVELOPE (ADSR):
• attack=5ms - Attack time (0-1000ms)
• decay=120ms - Decay time (0-2000ms)
• sustain=0.5 - Sustain level (0.0-1.0)
• release=80ms - Release time (0-2000ms)
FILTER:
• filter=(lowpass|highpass|bandpass) - Filter type
• cutoff=1200Hz - Cutoff frequency (20Hz-20kHz)
• q=0.8 - Resonance/Q factor (0.1-30)
• filter_env=0.6 - Filter envelope amount (0-1)
• filter_attack=10ms, filter_decay=200ms - Filter envelope timing
MODULATION:
• lfo=6Hz->cutoff:2400 - LFO to filter (rate in Hz, amount in Hz)
• lfo=5Hz->pitch:30c - LFO to pitch (rate in Hz, amount in cents)
• pitch_sweep=+7st/70ms - Pitch bend (semitones over time)
VOICES & UNISON:
• voices=3 - Number of voices (1-8)
• detune=12c - Voice detuning in cents (0-50c)
• spread=0.8 - Stereo spread (0-1, 0=mono, 1=full stereo)
ADVANCED SYNTHESIS:
• fm_ratio=2.1 fm_depth=500 - FM synthesis (ratio 0.1-20, depth 0-1000)
• am_rate=6Hz am_depth=0.5 - Amplitude modulation (rate 0-50Hz, depth 0-1)
• ring_freq=440Hz ring_mix=0.3 - Ring modulation (freq 0-5kHz, mix 0-1)
• h2=0.3 h3=0.2 h4=0.1 h5=0.05 - Harmonic enhancement (levels 0-1)
AUDIO EFFECTS:
• drive=0.3 - Soft distortion/saturation (0-1)
• reverb=0.3 room=(small|medium|large|hall) - Reverb (mix 0-1)
• delay=0.2s feedback=0.4 delay_mix=0.3 - Echo effect
• chorus=0.5 chorus_rate=2Hz chorus_depth=5ms - Chorus modulation
• phaser_rate=2Hz phaser_depth=0.8 phaser_feedback=0.3 - Phaser sweep
AUDIO PROCESSING:
• bits=8 sample_rate=0.5 - Bit crushing (bits 1-16, rate 0.1-1)
• comp_threshold=0.7 comp_ratio=4 - Compressor (threshold 0.1-1, ratio 1-20)
• eq_low=1.2 eq_mid=0.8 eq_high=1.5 - 3-band EQ (gain multipliers 0.1-10)
• formant_f1=800Hz formant_f2=1200Hz formant_f3=2600Hz - Vocal formants
VOLUME:
• volume=-6dB - Output level (-60dB to 0dB)
UNITS: ms=milliseconds, s=seconds, Hz=hertz, kHz=kilohertz, dB=decibels, st=semitones, c=cents
EXAMPLE COMMANDS:
Basic: wave=saw note=A4 dur=0.8 attack=5ms decay=150ms sustain=0.6 cutoff=1800Hz
Complex: wave=square note=C3 dur=1.5 voices=3 detune=8c fm_ratio=1.5 fm_depth=300 h2=0.2 drive=0.4 reverb=0.3
room=large phaser_rate=1.5Hz eq_low=1.2 comp_ratio=3
AI PROMPT TEMPLATE:
"Generate a [type of sound] using this synthesis command format. Use these available parameters: [paste
parameter list above]. Create a command like: wave=saw note=A4 dur=0.8 attack=5ms decay=150ms sustain=0.6
release=200ms cutoff=1800Hz q=1.2 drive=0.3 reverb=0.25 room=medium. Make it sound [describe desired
characteristics]."
Tests
Sanity checks for synth + parser.