Interface TabNoteStruct

Hierarchy

Properties

align_center?: boolean
auto_stem?: boolean
clef?: string
dots?: number

The number of dots, which affects the duration.

duration: string

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

duration_override?: Fraction
glyph_font_scale?: number
keys?: string[]

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

line?: number
octave_shift?: number
positions: TabNotePosition[]
stem_direction?: number

Stem.UP or Stem.DOWN.

stem_down_x_offset?: number
stem_up_x_offset?: number
stroke_px?: number
type?: string

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