I happened to be writing a desktop app that does something similar to this; I saw https://www.youtube.com/shorts/lF8fEn20OaU and many related videos, so I wrote up a simple QGraphicsView/pymunk app that implements these. The code is a dog's breakfast and will be under development for some time.
I see some videos which suggest that the developer actually set up the map and the physics such that specific songs get played, although I think there is some trickery to simplify it.
At the moment I'm working on a subproject which is generating the audio sounds for various bumping events, having found musicpy/sf2_loader a quick way to generate samples.
I see some videos which suggest that the developer actually set up the map and the physics such that specific songs get played, although I think there is some trickery to simplify it.
At the moment I'm working on a subproject which is generating the audio sounds for various bumping events, having found musicpy/sf2_loader a quick way to generate samples.