0 3 7 lab
A single-file browser app (037-lab.html, lives in ../037-lab next to this wiki) that teaches music theory in semitones for tracker musicians, built by m64. Named after the question "is the chip-arp formula 0 3 7 the right chord on every note of the scale?" — it isn't (see diatonic-chords). Everything is synthesised with pulse/triangle/saw waves in Web Audio; no build, works offline (source: s-037-lab).
Tabs#
- Scale & Chords — keyboard lights up the scale; every chord shape built on every scale note, shown as the digits to type in an arp; "snap to scale" toggles raw vs diatonic formulas (adjusted digits amber, out-of-scale red); common progressions play as fast arps.
- Melody Lab — a melody generator that thinks like a tracker: 16 rows per bar, hex step numbers,
C-4notes,|for a held note,···for a rest; chord tones on strong steps, stepwise motion between, A B A B′ phrase form; chord arps and a triangle octave bass (octave-bass) come along. Optional slide placement writes SID-Wizard03xxtone-portamento values (pitch-slide-and-portamento). - Techniques — cards with "Hear it" demos: chord arps, inversions, fake echo, delayed vibrato, slides, octave bass, detune, PWM, sidechain pump, one channel two jobs, arrangement.
- Theory — semitones, scales, chords, inversions, progressions, melody, rhythm, cheat sheet.
Export#
Each Melody Lab column copies to the clipboard as openmpt ModPlug Tracker IT text (11-char cells; notes shifted one octave because IT calls middle C C-5; first rest after a note becomes === note-off; slides converted to Gxx assuming speed 6 and tempo = BPM, Gxx = xx/16 semitone per tick) or as DUET SW text (9-char cells, sid-wizard 03xx slides verbatim), ready to paste into duet (m64's tracker, whose SID-Wizard columns read the DUET SW dialect), OpenMPT or Schism Tracker (source: s-duet-readme).
Pasting into DUET (producer rules)#
From duet's producer guide for clipboard-writing programs (source: s-duet-docs-clipboard):
DUET SIDis the canonical SID header;DUET SWis accepted as an equivalent — either pastes whole onto both kinds of SID column (a duet project's1:1columns and a.swmmodule's tracks), notes and effects alike.- Paste lands with
ALT+SHIFT+V(or theALT+SHIFT+Xlist). A notes-only text writes the notes and leaves the channel's instruments, volumes and effects standing — the generator need not know what is already on the channel. - Write no instrument numbers (
..): the clipboard never carries instruments, and in DUETALT+Sstamps the pasted block with the selected instrument. Portamento goes on the row of the note glided to (ITGxx; SID effect03+ hex speed). - DUET forgives short cells, ragged rows and lowercase; OpenMPT and Schism require all 11 characters of every cell.
Related#
chord-arpeggio · semitone-math · scales-and-modes · melody-writing · openmpt · sid-wizard