HomSpace Forum
Midi from Python - Printable Version

+- HomSpace Forum (https://homspace.nl/forum)
+-- Forum: SamplerBox (https://homspace.nl/forum/forum-1.html)
+--- Forum: Community (https://homspace.nl/forum/forum-2.html)
+--- Thread: Midi from Python (/thread-144.html)



Midi from Python - Murc - 30-03-24

Love the project.

I'm trying to make Samplerbox react to touch for a musician friend who works with the elderly.
So I have a MPR121 module attached to the Raspberry, wrote a Python program to read touched pins and convert to midi (rtmidi2).
I have already seen in the code that rtmidi input is filtered away and commented that out but I get this error after every touch:
"Callback queing killed"

I'm not proficient at Python so if anybody can help me out I would be very grateful.