HDM-AS

ADVANCED SEQUENCER · v14.0 PK NOTATION SYSTEM
crafted with Claude — Anthropic
TRACK A
WAVE
VOL 80
PAN C
TRACK B
WAVE
VOL 70
PAN C
TRACK C
WAVE
VOL 75
PAN C
TRACK D
WAVE
VOL 65
PAN C
TRACK P
PERC K S H F M T W G
VOL 80
TRACK V
VOX LAYERED
VOL 75
MOVEMENTS
no &movement& tokens detected
NOTATION INPUT — PK FORMAT v1.2
BPM MOD
FORMAL TOKEN ORDER
T,[RS],<D;O>,(PK),{V;H},/Q;I/,@F;X@,!J;Y!,?W;Z;B?
All 9 tokens, all 17 variables, always explicit.
Brief: T: followed by context + notes, space-separated. State is sticky.
Rest: R(x1)   Grace: (g)   Pass: _   Combined: ~D;D;D~(PK)
Ditto: |N| at end of line = repeat line N×   T: |N| alone = repeat last T line N×
PLAY FUNCTIONS
x sustain   s slur   o staccato   g grace   r/a repeat/arp   c chord strike
K DURATION
Integers: 124=whole
Fractions: %2=1/2 %3=1/3 %4=1/4 %6=1/6 %8=1/8 %67=2/3
Modifiers: d=dotted(×1.5) h=+0.5
SCALES
maj dor phr lyd mix aeo loc
hmi mmi pen mpe blu wht dim aug chr
COMBINED D
~1;3;5~(x1) — play degrees simultaneously
Per-voice octave shifts: ++~-1;2;--3~(s1)
COMBINED H
{3;^4;3^} — non-uniform voice gaps
Each gap is intervoice semitones
ARP DIRECTIONS
ups dns upi dni spu spd
TRACK P — DRUMS
P: with degrees K S H F M T W G
Combined: ~K;H~(x1)   Roll: @8;0@ S(r1)
[RS] SCALE TOKEN
Root + scale concatenated: [Cmaj] [F#dor]
Sharps only: C C# D D# E F F# G G# A A# B
Use _ to leave part unchanged: [_dor]
SCALE LIST
maj Major   dor Dorian   phr Phrygian   lyd Lydian
mix Mixolydian   aeo Aeolian   loc Locrian
hmi Harmonic min   mmi Melodic min
pen Maj pent   mpe Min pent   blu Blues
wht Whole tone   dim Diminished   aug Augmented   chr Chromatic
DEGREE RESOLUTION
Degrees beyond scale length wrap into next octave.
freq = 440 × 2^((root + interval[deg] + O×12 - 69) / 12)
<D;O> DEGREE TOKEN
D = scale degree (1+), R = rest, ~ = combined
O = Western octave (4 = A440 range)
Default: <1;4>
OCTAVE SHIFTS
Sticky: <;++> shifts O up 2 permanently
Non-sticky: ++5(x1) shifts this note only
EXTENDED DEGREES
Degree 8 in 7-note scale = root one octave up
Degree 9 = second one octave up, etc.
(PK) PLAY TOKEN
x eXtend — sustain K beats
s Slur — connected envelopes
o staccatO — short, detached (~50% of K)
g Grace — ornamental, non-metric
r/a Repeat/Arp — at rate F
c Chord strike — all voices per strike
K DURATION
1 beat = 1 quarter note at BPM
%2%3=⅓ %4%6=⅙ %8=⅛
d = dotted (×1.5)   h = +0.5 beat
Stackable: 2dh = 3.5 beats
SLUR CHAIN
x s s s x — middle s notes suppress attack
Last s extends release to next note
{V;H} CHORD BUILD
V = voice count, H = stacking interval
{3;3} = triad in thirds
{2;5} = dyad a fifth apart
COMBINED H
{3;^4;3^} = non-uniform gaps
^4;3^ = 4 semitones then 3 semitones
H INTERVALS
3=thirds(4st) 4=fourths(5st) 5=fifths(7st)
6=sixths(9st) 7=sevenths(11st) 8=octave(12st)
/Q;I/ CHORD QUALITY
Q names a chord: maj min dim aug sus2 sus4
  maj7 min7 dom7 m7b5 dim7 6 add9 9 11 13
1/sus2/ = chord by name — no hand-stacking
def keeps the {V;H} voicing instead
I: inversion (0=root, 1=first, 2=second...)
@F;X@ ARP BUILD
F = strikes per beat, X = octave span
@4;0@ = 4 strikes, no span
@2;+@ = 2 strikes, +1 octave
!J;Y! ARP QUALITY
J: ev even   sw swing
Y: ups up-seq   dns down-seq
upi up-interleaved   dni down-interleaved
spu sprinkle-up   spd sprinkle-down
SLOT COUNT
Total slots = V × (|X| + 1)
V=3, X=+ → 6 slots across 2 octaves
?W;Z;B? TIMBRE TOKEN
W tone: sin tri saw sqr wrb warble
W noise: wht pnk red nbn (synthcore)
Z: volume 0–100
B: pan/Balance — C center, L## left, R## right
Grace notes always use triangle at 55% vol
AUTO VOLUME
When V>1, volume is divided by V automatically
Z=80 with V=4 = effective 20 per voice
UI DEFAULTS
Track wave/volume/pan controls seed W, Z, B defaults
Use ?W;Z;B? tokens to override inline
P: PERCUSSION TRACK
Track P is for drums. Use P: prefix.
Degree letters replace scale degrees:
K = Kick   S = Snare   H = Hihat
F = Floor tom   M = Mid tom   T = high Tom
Example: P: K(x1) H(x%2) H(x%2) S(x1) H(x1)
COMBINED DRUMS
~K;H~(x1) = kick + hihat together
~K;S;H~(c2) = all three on each strike
Arp/repeat works: @4;0@ ~K;H~(r2) = alternating kick & hihat at 4/beat
ROLLS
P: @8;0@ S(r1) = snare roll (8 hits/beat)
P: @16;0@ H(r1) = fast hihat
TOM TUNING
Toms (F M T) form a 2nd inversion triad of the root.
In C major: F=G2, M=E3, T=C4
[RS] changes tom pitch. <;O> is ignored.
IGNORED TOKENS
{V;H} /Q;I/ have no effect on Track P
?W;Z? — W ignored, Z controls volume
Rests work normally: R(x1)
COMBINED NOTATION SIMPLIFIER enter a brief line with ~combined D~ events
awaiting input...
VOICE PREVIEWER enter a brief line to see resolved pitches & chord name
awaiting input...
HOW TO WRITE PK NOTATION

1. Every line belongs to a track. Start with A: B: C: D: or P: (percussion) — no space after colon.

2. Notes are D(PK). D = scale degree, P = play function, K = duration. 3(x1) = degree 3, 1 beat. Prefix with +/- for octave shifts.

3. Context tokens set the environment. [RS] key, <D;O> degree/octave, {V;H} voicing, /Q;I/ quality, @F;X@ arp, !J;Y! direction, ?W;Z? timbre.

4. State is sticky. Once set, persists until changed. Only write what changes.

5. Rests and grace notes. R(x1) = 1 beat rest. (g) before a note = grace note.

6. Play functions. x sustain, s slur, o staccato, g grace, r/a repeat/arp, c chord strike.

7. K durations. 1 2 3 4 beats. %2%4%3=⅓. d=dotted h=+½. Stackable: 2dh=3.5.

8. Arpeggios. Set {V;H} for shape, @F;X@ for rate+span, !J;Y! for direction. Use P=a or r.

9. Movements. &name& alone on a line. Play sequentially. State resets at boundaries.

10. Combined D. ~1;3;5~(x1) plays multiple degrees. Per-voice octave shifts: ++~-1;2~(s1).

11. Track P (Drums). Use P: with drum degrees: K kick, S snare, H hihat, F floor tom, M mid tom, T high tom, W woodblock (melodic, tuned to [RS] root), G triangle (atonal metallic ping). Combined: ~K;H~(x1). Rolls: @8;0@ S(r1).

12. Ditto |N|. At end of line: repeat the line's events N more times. As the only token (T: |N|): repeat the last line on that track N times.

FORMAL NOTATION OUTPUT HDM3 · PK v1.2 · EXPANDED
// begin entering notation above to see formal output