Skip to content

Hi, how do I open a midi device without knowing its name? Is there any command to list available devices? #562

Answered by rdoursenaud
ruiseixasm asked this question in Q&A
Discussion options

You must be logged in to vote
mido.open_output()

Should do exactly what you're looking for.
Otherwise, please check our documentation: https://mido.readthedocs.io/en/stable/ports/index.html#common

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rdoursenaud
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants