Hiyve Components - v1.0.0
    Preparing search index...

    What an attack sounds like, asked question by question: the follower tests several score positions against one attack, and each test needs the notes that position expects checked in the audio.

    interface AttackVerifier {
        estimate(): PitchCandidate[];
        rising?(midis: readonly number[]): boolean;
        verify(
            expected: readonly number[],
            context: readonly number[],
        ): VerifyPitchesResult;
    }
    Index

    Methods

    • Whether these notes grew at this attack, rather than merely still ringing (undefined: unknown)

      Parameters

      • midis: readonly number[]

      Returns boolean

    • Check the notes an event expects. context lists notes that should still be sounding from earlier events; they are explained away but not graded.

      Parameters

      • expected: readonly number[]
      • context: readonly number[]

      Returns VerifyPitchesResult