jpetazzo / griode

Griode + Novation Launchpad + Raspberry Pi = a music instrument!
151 stars 18 forks source link

Freezes on Clock.py late prompt. #20

Open BeanWizard131 opened 2 years ago

BeanWizard131 commented 2 years ago

Attempting to run with an original launchpad mini. Program starts but then freezes and says clock.py is running late on the tick speed. I've gotten the pad to do a sort of firework looking animation but no playing yet unfortunately. But there's a decent chance it's because I'm using the latest version of Raspbian and a port name got changed along the stream of updates.

jpetazzo commented 2 years ago

Hi!

Would you be able to run mido-ports and copy-paste the output here? (It's a small program that normally gets installed with the mido Python package.)

It should show the names of the devices, and there is a good chance that it will show us the name that needs to be put in the code to get the LaunchPad Mini correctly detected.

(I happen to have a LaunchPad Mini at home, but I'm currently on vacation so I can't check yet unfortunately!)

jpetazzo commented 2 years ago

...Oh, scratch that, I just saw your screenshot on our other conversation: image

OK, it looks like the LaunchPad isn't detected as a MIDI device 🤔

Could you also run lsusb to see if it was at least detected at all?

About the firework pattern: if it looks like circles (a bit like the waves when you drop a rock in a pond of water), I think it is the pattern made by the LaunchPad when it is powered on, but not connected through USB (or, at least, hasn't been "hooked" to the bus). I would try to connect it to another port; or maybe try with another cable. (This happened to me once because I had bought a very short cable to put the LaunchPad in a custom case along with the Pi; only to realize that the short cable that I had bought was defective: it brought power to the LaunchPad but didn't work with USB...)