Skip to content

SnipSign freeze due to MIDI buffer overload? #5

Description

@esride-nik

// usbMIDI.read() needs to be called rapidly from loop(). When
// each MIDI messages arrives, it return true. The message must
// be fully processed before usbMIDI.read() is called again.
if (usbMIDI.read())
{
processMIDI();
}

=> Maybe there are more than one incoming MIDI messages per loop. Try

while (usbMIDI.read())
{
processMIDI();
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions