just a little toy to play with the quickstart pads. Connecting the QS with your PC, you can pilot the GM drums with the pad.
It uses the usb to send Midi message to the PC
How to setup:
on the right select microsoft GM / on the left select the USB port where QS is connected
install hairless midi (ubuntu : sudo apt install hairless)
install sound fount : apt://fluid-soundfont-gm
install a virtual synth : sudo apt install fluidsynth it will install a gui synth called qsynth (launch it from a terminal)
How to start:
after downloading to EEPROM, disconnect the QS, then launch your midi software (hairless (with qsynth for linux)) then re-connect your QS.
this is because the midi is sent to port 31,30 the same as the terminal.
to change a bank :
just modify these define
#define BASSDRUM 0x23
#define SNARE 0x26
#define CLAP 0x27
#define TOM1 0x29
#define CLOSEDHH 0x2A
#define TOM2 0x2D
#define OPENHH 0x2E
#define CYMBAL 0x34
you can find the hexa code here :
at compilation you can put a -D__DEBUG to GCC and see whats going wrong on parallax terminal
Next evolution i suppose that could be fine
propose a bunch of drums set that could be selected at the beginning.
For C coders guru:
i'm sure that code could be optimzed a lot since this is my first time in bits manipulation. If you find better way to do it i would be glad to read your improvments.