Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SmoNote

SmoNote contains the pitch and duration of a note or chord. It can also contain arrays of modifiers like lyrics, articulations etc. Also information about the beaming, flag etc.

Hierarchy

  • SmoNote

Implements

Index

Constructors

Accessors

  • get isTuplet(): boolean
  • get parameterArray(): string[]

Methods

  • addPitchOffset(offset: number): void
  • Add another pitch to this note at offset 1/2 steps

    Parameters

    • offset: number

    Returns void

  • makeHidden(val: boolean): void
  • toggleAddPitch(pitch: Pitch): void
  • toggleFlagState(): void
  • transpose(pitchArray: number[], offset: number, originalKey: string, destinationKey: string): Transposable
  • transpose a note or grace note to a key-friendly enharmonic

    Parameters

    • pitchArray: number[]
    • offset: number
    • originalKey: string

      keySignature from original note

    • destinationKey: string

      keySignature we are transposing into

    Returns Transposable

Generated using TypeDoc