-
Notifications
You must be signed in to change notification settings - Fork 7
Notes for programmers
If you’d like to make a contribution to the development of Subsequencely, here’s some information that might be useful.
##VirtualLpp
VirtualLpp is a wrapper around the Launchpad Pro open firmware API that allows you to test your Launchpad code on a desktop computer. This is a simple wrapper to help with testing and debugging, and is NOT a simulator. This means that this program will not accurately reflect things like the running speed of the code, the memory usage, etc. when compared to the actual launchpad hardware.
VirtualLpp is built on the Cinder framework and uses ImGui for a gui and RtMidi for sending the midi messages from your launchpad code. This means it should be very portable, but I haven’t been at a computer other than my mac recently, so currently there is only an XCode project in the git, but if you’d like to run it on another platform, using the Cinder project generator to make a project and then putting it in the VirtualLpp directory and adding the source files to it should be pretty straightforward.
If you’d like to use VirtualLpp to test your code, a helpful thing to know is that there is a file called launchpad_pro_debug.syx in the VirtualLpp/resources directory that you can load onto your Launchpad in order to use it as a controller for VirtualLpp. When you first boot it up the lights around the edge of the Launchpad will turn red, and when you start VirtualLpp it will look for the Launchpad Standalone device and pad events and LED information will be sent between the software and hardware. You do need to connect the launchpad before you start the program, though, since it currently doesn’t support hot plugging.