06A melody is timed events, not a pitch list

Melody & phrase

Melody emerges when pitches, attacks, durations, rests, register and articulation create a recognizable path through a phrase. Choose the temporal skeleton first; then rank pitches for each position.

event = onset + duration + pitch + velocity + gateA rest is a timed event without pitch. An empty editor cell means “unassigned,” so it cannot replace an intentional rest.

Build from rhythm to pitch

phrase boundary
where are we?
rhythmic skeleton
when?
pitch function
land or travel?
contour + register
which direction?
Contextual example

Breathing line in three

3/4 · ×2 · C major · 2 bars
track123456789101112
metersix beatsXXXXXX
melodyonsets + final spaceXxXx
restintentional breathX
timed pitch path0 → 2 → 4 → 7
0land
2pass
4land
7answer
Hear
Three attacks create a rising answer, followed by an intentional breath.
Use
Establish a phrase that remains legible before adding ornament.
Why it fits
Chord tones occupy structural positions; the final rest marks the boundary instead of filling every slot.

How Build constructs the Melody layer

Every number is a relative collection degree; every empty position is time without a new note. The library combines a contour operation with gate, velocity and rest lanes. Mirror, question–answer, apex and subtraction need only an explicit degree inventory. Chromatic approach is shown only when the collection declares a chromatic-neighbour model; tradition-qualified inventories remain conservative until their phrase grammar is supplied.

Contextual example

Approach a stable tone

C major · weak subdivision → strong beat
context · C major0 2 4 5 7 9 11
0root1·223·43546·758·9610·117
chromatic approach → fifth6 → 7
6outside · weak
7stable · strong
Hear
A chromatic neighbor creates brief friction, then releases by semitone.
Use
Point toward the next anchor without changing the tonal center.
Why it fits
The outside pitch is short, metrically weak and immediately resolves to a chord tone.

Rank by position, then vary

Phrase roleFirst candidatesUseful alternatives
Strong onsetCurrent chord tones and common tonesSuspension if its resolution is audible
Weak subdivisionStepwise collection tonesShort chromatic approach
Phrase endingTarget tone, sustained note or explicit restDeliberate unresolved continuation
Repeated phrasePreserve rhythm and contourMutate one pitch, octave, gate or ending
generator ordertime → role → candidates → contour → articulationProbability chooses among compatible candidates. It does not replace meter, phrase structure or an explicit decision to leave the context.
Keep exploring

Terms, relations and sources

Key terms

phrasecontourrestcollection

Related chapters

Time & meterPhrase grammar across systems

Detailed lookup

Melody operationsNotation legend

Evidence

Editorial sources

Models state their boundary; tradition-specific claims require specialist sources.