I’ve got a trigger finger (MIDI tablet) and I want to be able to read its input live and make python execute actions depending on the pressed key.
I need it for Windows, and preferably working with python 2.5 +
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
PyGame includes a built-in midi module, available for Linux, Windows and MacOS and is very well supported.
For example, here is the documentation for pygame.midi.Input:
If you’re looking for an alternative, have a look at PythonInMusic in the Python wiki.
There are various different projects related to MIDI input and output there, some for Windows as well. (Click the little > sign after each project to follow the link to the project homepage)
I have not used any of them personally, but I’m sure it will help you get started.