The positioned clef object

Type: Dictionary

Represents a clef as positioned at a specific location within a measure.

If the position isn't encoded, the position is assumed to be the start of the measure.

Keys

Name Type Required? Description
clef clef Yes
position rhythmic position No If this position isn't provided, the clef's position is assumed to be the start of the bar.
staff staff number No In a multi-staff part, this specifies which staff the clef is in. If unspecified, this should be interpreted as 1.

Parent objects

This object is used by the following parent objects:

Examples

This object is used in the following examples:

Accidentals, Articulations, Beams, Beams (across barlines), Beams (hooks), Beams (secondary beam breaks), Beams (with inner grace notes), Clef changes, Dotted notes (augmentation dots), Grace note, Grace notes (beamed), Grand staff piano music, Jumps (D.S. al Fine), Jumps (Dal Segno), Key signatures, Lyric line metadata, Lyrics (basic), Lyrics (multi-line), Multimeasure rests, Multiple layouts, Multiple voices, Organ layout, Ottavas (8va), Parts, Repeats, Repeats (more than once repeated), Repeats (with alternate endings, advanced), Repeats (with alternate endings, simple), Repeats (with implied start repeat), Rest positions, Slurs, Slurs (for chords), Slurs (incomplete slurs), Slurs (targeting specific notes), Styling elements (basic), Styling via a class (basic), Tempo markings, Three-note chord and half rest, Ties, Time signatures, Tremolos (single-note), Tuplets, Two-bar C major scale, “Hello world”