orDrumbox drum machine logo

OrDrumbox v2 User Manual

Table of Contents

  1. Getting Started
  2. Toolbar
  3. Pattern Panel
  4. Track Editor
  5. Note Editor
  6. Tools Panel
  7. Output Panel
  8. Synth Editor
  9. Keyboard Shortcuts
  10. Audio Signal Flow
  11. Installation & Offline Use

1. Getting Started

OrDrumbox v2 is a browser-based drum machine and pattern sequencer. When you open the application, you see:

Basic Workflow

  1. Select a Pattern from the Pattern dropdown
  2. Click Start to begin playback
  3. Click on the grid to add/remove notes
  4. Click a track name to open the Track Editor
  5. Click a note cell to open the Note Editor
  6. Use Auto Gen to generate a random pattern

2. Toolbar

The toolbar is the fixed control bar at the top of the screen.

Controls

Button / Control Description
Start / StopToggles playback. Red background when running.
BPMClick to open the tempo slider (range: 20–250 BPM).
PatternDropdown to switch between patterns.
KitDropdown to switch drumkits (samples load on first use).
Auto GenGenerates a complete random pattern with genre-appropriate tracks.
ClearRemoves all notes from the current pattern (asks for confirmation).
ToolsOpens the Tools panel (export/import, pattern name).
OutputOpens the Output panel (master mixer, spectrum analyzer).

3. Pattern Panel

The Pattern Panel displays all tracks as horizontal step grids below the toolbar.

Display

Cell Colors

Appearance Meaning
Dark cellEmpty step
Red cellNote present
White outlineSelected note or track
Left borderStart of a bar
Right white borderLoop point
Semi-transparent red (with number)Note with trigger frequency > 1
Orange (with number)Note with probability < 1
Yellow line inside cellSub-note (retrigger or arp)

Interactions

Action Result
Click empty cellCreates a note and opens Note Editor
Click a noteSelects it and opens Note Editor
Click a selected noteDeletes it
Click track nameOpens Track Editor for that track

4. Track Editor

The Track Editor opens when you click a track name. It contains all track-level parameters organized in groups.

Basic / Transport

Control Description
MuteMutes the entire track
MonoForces monophonic playback
AutoEnables auto mode

Levels / Pitch

Control Range Default Description
Velo0–11.0Track volume multiplier
Pan-1 to 10Stereo panning (left/right)
Pitch-24 to 240Pitch offset in semitones
Len0–11.0Sample playback length

All four parameters support LFO modulation (click the row to open LFO settings).

Filters

Control Range Default Description
Typelowpass, highpass, bandpass, peaking, lowshelf, highshelf, notch, allpassallpassBiquad filter type
Freq0–120Cutoff frequency (normalized, maps to 20Hz–20kHz)
Q0–10.707Filter resonance

The Freq and Q parameters support LFO modulation.

Effects

Each effect has an LED toggle (green = active).

Reverb

Control Options Default Description
LEDon/offoffEnable/disable reverb
RevTnone, room, hall, plate, spring, gatednoneReverb preset
RevV0–10Wet/dry mix

Reverb Presets:

Delay

Control Options/Range Default Description
LEDon/offoffEnable/disable delay
DelTynone, slap, tape, pingpongtapeDelay algorithm
DelT0.0625, 0.125, 0.25, 0.5, 1, 2, 41Delay time (beat multiplier)
DelV0–10Wet mix

Delay Types:

Saturation

Control Options/Range Default Description
LEDon/offoffEnable/disable saturation
SatTsoft, hard, tapesoftSaturation algorithm
SatV0–10Drive amount

Saturation Types:

LFO Sub-Panel

Click any LFO-capable row (Velo, Pan, Pitch, Freq, Q) to open the LFO editor.

Control Range Default Description
LEDon/offoffEnable/disable LFO
Freq0.1–161LFO rate (cycles per 4 bars)
Minvariesparent minLFO sweep minimum
Maxvariesparent maxLFO sweep maximum
Phas0–10Phase offset

The LFO waveform is always sine.

Sound Sub-Panel

Control Description
Auto LEDWhen green, automatically assigns the best sample from the drumkit based on track name
InstrInstrument type (shown when auto-assign is off)
SampleSpecific sample file (shown when auto-assign is off)
GenSoft-synth generated sound selection
EditOpens the Synth Editor for the selected generated sound

Loop / Pattern Sub-Panel

Control Range Default Description
Steps/Bar1–84Number of steps per bar
Bars1–84Number of bars in the pattern
Loop Point1–(bars×steps/bar)endStep where the track loops back
Swing0–10Shuffle amount for odd-numbered steps

5. Note Editor

The Note Editor opens when you click a note in the Pattern Panel. It shows per-note parameters.

Header

Vel / Pitch / Pan

Control Range Default Description
Vel0–10.8Note velocity (volume)
Pitch-24 to 240Semitone offset from C3
Pan-1 to 10Per-note panning

Triggers

Control Range Default Description
TrigF1–161Play every N-th loop (1 = every loop)
TrigP0–150Phase offset for trigger frequency
Trig%0–11Probability of triggering (1 = 100%)
Euc0–160Euclidean fill: adds N evenly-spaced sub-hits

How triggers work:

A note triggers when: (currentLoop + triggerPhase) % triggerFreq === 0

Euclidean fill:

Adds N evenly-spaced notes between this note and the next note in the track, creating complex rhythmic patterns.

Arpeggiator

Control Options/Range Default Description
Sclmajor, minor, pentatonic, etc.majorMusical scale for arp intervals
Dirup, down, updownupArpeggio direction
Rng0–120Number of arp notes (0 = disabled)
Arp%0–11Probability each arp note triggers
Retrig1–161Number of retrigger sub-hits
RetS1–161Spacing between retrigger hits

How arpeggiator works:


6. Tools Panel

The Tools Panel opens when clicking the "Tools" button in the toolbar.

Pattern Settings

Control Description
NameText input to rename the current pattern

Export

Button Format Description
Export JSON.jsonExports pattern data (strips defaults, keeps only changed values)
Export MIDI.midExports as Standard MIDI File (SMF Type 1, multi-track)
Export WAV.wavRenders audio using OfflineAudioContext
Control Range Default Description
Loops1–321Number of times pattern loops in WAV/MIDI export

Export filenames: ordrumbox-{patternName}.{ext}

MIDI Export details:

Import

Button Description
Import JSONOpens file picker for .json files, imports as a new pattern

7. Output Panel

The Output Panel opens when clicking the "Output" button in the toolbar. It provides master mixing controls and a real-time spectrum analyzer.

Master

Control Range Default Description
Volume0–21.0Master output volume

Filters (Master)

Control Range Default Description
Low Cut10–500 Hz35 HzHigh-pass filter (removes low frequencies)
High Cut1000–20000 Hz18500 HzLow-pass filter (removes high frequencies)

Compressor

Control Range Default Unit Description
Threshold-40–0-12dBCompression threshold
Ratio1–204Compression ratio
Attack0–10.005sResponse speed
Release0–10.15sRecovery speed
Knee0–4030dBCurve softness

Spectrum Analyzer

A real-time frequency spectrum display updated via requestAnimationFrame. Bars are colored from dark (low amplitude) to red (high amplitude).


8. Synth Editor

The Synth Editor is a full-screen overlay for editing soft synthesizer parameters. It opens from the Track Editor's "Edit" button when a generated sound is selected.

Header: OK (saves changes) / Cancel (reverts) buttons.

Master Volume

Parameter Range Default Description
masterVolume0–10.8Synth output volume
slide0–5000Portamento/glide time

Oscillators (VCO1, VCO2, VCO3)

Each oscillator has:

Parameter Range Default Description
gain0–1vco1:1, others:0Oscillator volume
octave-4 to 40Octave offset
detune-100 to 1000Fine detuning in cents
wavesquare, sawtooth, triangle, sinesineWaveform

Filter

Parameter Range Default Description
typelowpass, highpass, bandpass, etc.lowpassFilter type
freq20–20000400 HzCutoff frequency
Q0.1–241Resonance
envAmount0–10Envelope modulation depth

LFO

Parameter Options/Range Default Description
targetNOT, filter.freq, vco1.detune, etc.NOTModulation target
wavesquare, sawtooth, triangle, sinesineLFO waveform
freq0–200LFO rate
depth0–10Modulation depth

Noise

Parameter Range Default Description
mix0–10White noise level
filterTypefilter typeshighpassNoise filter type
filterFreq20–200001000 HzNoise filter cutoff
filterQ0.1–241Noise filter resonance

Envelope (ADSR)

Parameter Range Default Description
attack0–2 s0Attack time
decay0–2 s0.12Decay time
sustain0–11Sustain level
release0–3 s0.05Release time

9. Keyboard Shortcuts

Key Action
SpaceStart/Stop playback
PLog patterns (legacy CSV format)
BAuto-generate a new pattern
SLog patterns as JSON to console
FSwitch to a random pattern
GSwitch to a random drumkit
HConvert all tracks to soft-synth sounds
1–9Toggle mute for tracks 1–9
Q, W, E, R, T, Y, U, IPreview (audition) tracks 0–7
Left/Right arrowsAdjust focused slider by one step

10. Audio Signal Flow

Per-Track Signal Chain

Sample/Synth → Filter → Saturation → Dry Gain → Reverb → Delay → Output
                                                                      ↓
                                                              Stereo Panner
                                                                      ↓
                                                            Mixer Compressor
                                                                      ↓
                                                          Master Low-cut Filter
                                                                      ↓
                                                          Master High-cut Filter
                                                                      ↓
                                                            Master Gain → Analyser → Speakers
    

Global Signal Chain

All tracks feed into a shared compressor, then through master filters and gain before reaching the output.


11. Installation & Offline Use

orDrumbox v2 can be used in three different ways:

1. Web Application

Simply visit the website in any modern browser. Note that an internet connection is required for the initial load.

2. Progressive Web App (PWA)

You can install orDrumbox directly from your browser:

Once installed, the application will have its own icon and window, and can function offline thanks to the integrated Service Worker.