dev
    Preparing search index...

    Function getInitialOffset

    • Get the initial offset of the articulation from the y value of the starting position. This is required because the top/bottom text positions already have spacing applied to provide a "visually pleasant" default position. However the y values provided from the stavenote's top/bottom do not have any pre-applied spacing. This function normalizes this asymmetry.

      Parameters

      • note: Note
      • position: number

      Returns number