[Python] If I request a MIDI dump and the instrument is off, my program freezes, how can I...

Discussão em 'Python' iniciado por Stack, Abril 10, 2025.

  1. Stack

    Stack Membro Participativo

    The part of my code that sends the requesta and then prepares to get the answer.

    'SEND dump request'
    self.msg_send(message) # this is a routine I wrote that just sends messages

    'CATCH back answer'
    with md.open_input(self.cur_in_port) as port:
    message = port.receive()

    Continue reading...

Compartilhe esta Página