Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface NoteHeadStruct

Hierarchy

Index

Properties

Optional align_center

align_center?: boolean

Optional custom_glyph_code

custom_glyph_code?: string

Optional displaced

displaced?: boolean

Optional dots

dots?: number

The number of dots, which affects the duration.

duration

duration: string

The time length (e.g., q for quarter, h for half, 8 for eighth etc.).

Optional duration_override

duration_override?: Fraction

Optional glyph_font_scale

glyph_font_scale?: number

Optional index

index?: number

Optional keys

keys?: string[]

Array of pitches, e.g: ['c/4', 'e/4', 'g/4']

Optional line

line?: number

Optional note_type

note_type?: string

Optional slashed

slashed?: boolean

Optional stem_direction

stem_direction?: number

Optional stem_down_x_offset

stem_down_x_offset?: number

Optional stem_up_x_offset

stem_up_x_offset?: number

Optional style

style?: ElementStyle

Optional type

type?: string

The note type (e.g., r for rest, s for slash notes, etc.).

Optional x

x?: number

Optional x_shift

x_shift?: number

Optional y

y?: number