@libraz/libcantus - v0.9.3
    Preparing search index...

    Function createsVoiceOverlap

    • Whether two voices overlap: the upper voice descends below where the lower voice just was, or the lower voice rises above where the upper voice just was. Distinct from a simultaneous voice crossing.

      Parameters

      • upperPrev: number

        Previous pitch of the upper voice.

      • upperCur: number

        Current pitch of the upper voice.

      • lowerPrev: number

        Previous pitch of the lower voice.

      • lowerCur: number

        Current pitch of the lower voice.

      Returns boolean