Symbolic / Note sequence / Humdrum **kern (first spine from the right)

A note sequence in humdrum **kern (first spine from the right)

exactNeeds tempo before it sounds· carries root, octave, timing

**kern *M4/4 *k[] *C: 2d 2c == *-

  • Drops key, meter. A melody does not carry the key C major, meter 4/4; read the score to keep them, or pass them as context when writing it back.
Addressmelody/kern/**kern%0A*M4%2F4%0A*k%5B%5D%0A*C:%0A2d%0A2c%0A==%0A*-

Realization

See and hear it

Each note is one step; durations are not kept in this preview.

62 60

Same value

Also written as

Every notation of the melody concept, formatted from this value by the Symbolic library.

  • 62:2,60:2
    • Drops key, meter. A melody does not carry the key C major, meter 4/4; read the score to keep them, or pass them as context when writing it back.
  • 62:960,60:960
    • Drops key, meter. A melody does not carry the key C major, meter 4/4; read the score to keep them, or pass them as context when writing it back.
  • 62:1000,60:1000
    • Drops key, meter. A melody does not carry the key C major, meter 4/4; read the score to keep them, or pass them as context when writing it back.
  • D4/h,C4/h
    • Drops key, meter. A melody does not carry the key C major, meter 4/4; read the score to keep them, or pass them as context when writing it back.
  • 62,60
    • Drops key, meter. A melody does not carry the key C major, meter 4/4; read the score to keep them, or pass them as context when writing it back.
    • Drops durations, rests. Only the order of the pitches is written.
    • Drops interpretation. MIDI pitches in order is an interpretation and does not read back exactly.
  • D4,C4
    • Drops key, meter. A melody does not carry the key C major, meter 4/4; read the score to keep them, or pass them as context when writing it back.
    • Drops durations, rests. Only the order of the pitches is written.
    • Drops interpretation. Note names in order is an interpretation and does not read back exactly.
  • X:1 M:4/4 L:1/8 K:C D4 C4 |]
    • Drops key, meter. A melody does not carry the key C major, meter 4/4; read the score to keep them, or pass them as context when writing it back.
  • **kern *M4/4 *k[] *C: 2d 2c == *-

Other concepts

Bridges

Converting into another concept may need context this value does not carry (a root, an octave, a key). Where it is missing the library assumes a default and says so; where a step drops information it is listed.

  • Note distribution · MIDI : weight pairs

    lossy
    60:1,62:1

    Path melody → note-space

    • Drops key, meter. A melody does not carry the key C major, meter 4/4; read the score to keep them, or pass them as context when writing it back.
    • Drops order, duration, rests. Counts how often each MIDI note occurs (weighted by occurrence, not duration).
  • Note set · Letter names

    lossy
    C4-D4

    Path melody → note-set

    • Drops key, meter. A melody does not carry the key C major, meter 4/4; read the score to keep them, or pass them as context when writing it back.
    • Drops order, duration, rests, repetition. A melody collapses to the unordered, untimed set of pitches it uses.
  • Point melody · Point : beats

    lossy
    2:2,0:2

    Path melody → point-melody

    • Drops key, meter. A melody does not carry the key C major, meter 4/4; read the score to keep them, or pass them as context when writing it back.
    • Drops root, register. A melody loses its absolute pitch, keeping rhythm and relative shape.
  • Rhythm · Beats

    lossy
    2,2

    Path melody → rhythm

    • Drops key, meter. A melody does not carry the key C major, meter 4/4; read the score to keep them, or pass them as context when writing it back.
    • Drops pitch. A melody's timing alone — its durations and rests, with the pitches removed.
  • Scale degrees · Jianpu (numbered notation)

    lossy
    1=C 2 1

    Path melody → scale-degrees · needs key, octave

    • Assumed key C major. No key was given, so C major is used.
    • Assumed octave 4. No octave was given, so octave 4 is used.
    • Drops key, meter. A melody does not carry the key C major, meter 4/4; read the score to keep them, or pass them as context when writing it back.
    • Drops timing, rests. Each note's distance from the key's tonic (in the context octave) as a degree; rests and durations are dropped.
  • Score (voices) · Voices: pipe-separated melodies in beats

    lossy
    62:2,60:2

    Path melody → score · needs key, meter

    • Assumed key C major. No key was given, so C major is used.
    • Assumed meter 4/4. No meter was given, so 4/4 is used: one cycle is one 4/4 bar.
    • Drops key, meter. A melody does not carry the key C major, meter 4/4; read the score to keep them, or pass them as context when writing it back.
    • Drops metadata. Voices notation writes the notes only: key, meter, tempo, title and chords are dropped.
  • Grid position · Cells col,row (optional layout@origin: prefix)

    lossy
    aura@C3:3,0 2,2

    Path melody → note-set → grid-position · needs layout, root

    • Assumed layout aura. No layout was given, so positions are read on the aura layout.
    • Assumed root C3. No root was given, so the value sounds above C3.
    • Drops key, meter. A melody does not carry the key C major, meter 4/4; read the score to keep them, or pass them as context when writing it back.
    • Drops order, duration, rests, repetition. A melody collapses to the unordered, untimed set of pitches it uses.
    • Drops alternative positions. C4 has 2 positions on aura; the one nearest (0, 0) is kept.
  • Pitch-class distribution · Twelve weights

    lossy
    1,0,1,0,0,0,0,0,0,0,0,0

    Path melody → note-space → pc-space

    • Drops key, meter. A melody does not carry the key C major, meter 4/4; read the score to keep them, or pass them as context when writing it back.
    • Drops order, duration, rests. Counts how often each MIDI note occurs (weighted by occurrence, not duration).
    • Drops octave, register. Folds 128 MIDI bins into 12 pitch-class bins, keeping the weights.
  • Pitch-class set · Pitch-class numbers

    lossy
    0-2

    Path melody → note-set → pc-set

    • Drops key, meter. A melody does not carry the key C major, meter 4/4; read the score to keep them, or pass them as context when writing it back.
    • Drops order, duration, rests, repetition. A melody collapses to the unordered, untimed set of pitches it uses.
    • Drops octave, register, duplication, order. A note set collapses to the unordered set of its pitch classes.
  • Point set · Semitone offsets

    lossy
    0-2

    Path melody → note-set → point-set

    • Drops key, meter. A melody does not carry the key C major, meter 4/4; read the score to keep them, or pass them as context when writing it back.
    • Drops order, duration, rests, repetition. A melody collapses to the unordered, untimed set of pitches it uses.
    • Drops root, register. A note set keeps its shape as offsets from its lowest note and forgets where it sits.
  • Rhythmic pattern · Binary onsets

    lossy
    1010

    Path melody → rhythm → fractional-rhythmic-pattern

    • Drops key, meter. A melody does not carry the key C major, meter 4/4; read the score to keep them, or pass them as context when writing it back.
    • Drops pitch. A melody's timing alone — its durations and rests, with the pitches removed.
  • Set class · Forte name

    lossy
    2-2

    Path melody → note-set → pc-set → pc-set-analysis

    • Drops key, meter. A melody does not carry the key C major, meter 4/4; read the score to keep them, or pass them as context when writing it back.
    • Drops order, duration, rests, repetition. A melody collapses to the unordered, untimed set of pitches it uses.
    • Drops octave, register, duplication, order. A note set collapses to the unordered set of its pitch classes.
    • Drops transposition. The set's Tn class (Forte name with A/B, prime form); the transposition is dropped.
6 bridges exist but fail for this value
  • Chord progression

    score→chord-sequence: The score has no chord lane and its simultaneities name no chords.

    Path melody → score → chord-sequence · needs key, meter

    • Assumed key C major. No key was given, so C major is used.
    • Assumed meter 4/4. No meter was given, so 4/4 is used: one cycle is one 4/4 bar.
    • Drops key, meter. A melody does not carry the key C major, meter 4/4; read the score to keep them, or pass them as context when writing it back.
  • Chord symbol

    note-set→chord: Invalid note set as a chord: received "C4-D4", expected notes that name a chord

    Path melody → note-set → chord

    • Drops key, meter. A melody does not carry the key C major, meter 4/4; read the score to keep them, or pass them as context when writing it back.
    • Drops order, duration, rests, repetition. A melody collapses to the unordered, untimed set of pitches it uses.
  • Pitch class

    note-set→chord: Invalid note set as a chord: received "C4-D4", expected notes that name a chord

    Path melody → note-set → chord → pitch-class

    • Drops key, meter. A melody does not carry the key C major, meter 4/4; read the score to keep them, or pass them as context when writing it back.
    • Drops order, duration, rests, repetition. A melody collapses to the unordered, untimed set of pitches it uses.
  • Pitch-class set sequence

    score→chord-sequence: The score has no chord lane and its simultaneities name no chords.

    Path melody → score → chord-sequence → pc-set-sequence · needs key, meter

    • Assumed key C major. No key was given, so C major is used.
    • Assumed meter 4/4. No meter was given, so 4/4 is used: one cycle is one 4/4 bar.
    • Drops key, meter. A melody does not carry the key C major, meter 4/4; read the score to keep them, or pass them as context when writing it back.
  • Roman-numeral progression

    score→chord-sequence: The score has no chord lane and its simultaneities name no chords.

    Path melody → score → chord-sequence → functional-harmony · needs key, meter

    • Assumed key C major. No key was given, so C major is used.
    • Assumed meter 4/4. No meter was given, so 4/4 is used: one cycle is one 4/4 bar.
    • Drops key, meter. A melody does not carry the key C major, meter 4/4; read the score to keep them, or pass them as context when writing it back.
  • Note

    note-set→chord: Invalid note set as a chord: received "C4-D4", expected notes that name a chord

    Path melody → note-set → chord → pitch-class → note · needs octave

    • Drops key, meter. A melody does not carry the key C major, meter 4/4; read the score to keep them, or pass them as context when writing it back.
    • Drops order, duration, rests, repetition. A melody collapses to the unordered, untimed set of pitches it uses.

Live coding

Use in Symbolic Cycle

sym('melody/kern/**kern%0A*M4%2F4%0A*k%5B%5D%0A*C:%0A2d%0A2c%0A==%0A*-')

The slash address goes in single quotes; in double quotes it would be mini-notation, where / divides time.

Open in Code Sequencer

More about Humdrum **kern (first spine from the right)