Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] MIDI controller using Mido #50

Open
vvatelot opened this issue Feb 20, 2024 · 0 comments
Open

[Question] MIDI controller using Mido #50

vvatelot opened this issue Feb 20, 2024 · 0 comments

Comments

@vvatelot
Copy link

I am trying to make a small controller using mido.
While the output MIDI port is detected by Jack (for example), it does not work with MOD Desktop.

Here is a small sample:

import time

import mido

port = mido.open_output("loopMIDI Port 1", virtual=True)

while True:
    msg = mido.Message("control_change", value=127, control=1)
    print(msg)
    port.send(msg)
    time.sleep(1)

    msg = mido.Message(
        "control_change",
        value=0,
        control=1,
    )
    print(msg)
    port.send(msg)
    time.sleep(1)

I am trying to set those changes to a pedal controller, but it is not recognized... Am I doing something wrong ? Missing something ? 🤔

@vvatelot vvatelot changed the title MIDI controller using Mido [Question] MIDI controller using Mido Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant