Using the USB-microDig and Wi-microDig on Linux in standalone mode.
First, set up the USB-/Wi-microDig to output MIDI messages, eg. using EditorX. Here we have a simple example with a Push slider connected to the first port which is mapped to MIDI channel 1, Control 0 with continuous output from 0 to 127:
Next, download and compile the ttymidi-based serial to MIDI driver:
https://github.com/I-CubeX/microDig-LinuxDriver
Note that the driver expects the serial port called "/dev/ttyUSB0" by default. The driver for the USB-microDig should be built into all modern linux systems. For the Wi-microDig, you should call the application with an explicit port setting after the bluetooth serial port is set up, i.e.:
./ttymidi -s /dev/rfcomm0
Running this application will generate a virtual MIDI port called "microDig-port"
From here, MIDI applications should be able to open this port and read the MIDI messages. As an example, using rtmidi's cmidiin test:
Appendix: Pairing Wi-microDig to Raspberry pi:
Based on these instructions.
(Latest Raspbian should have all drivers and utils installed)
First, get the MAC address of the Wi-microDig using:
hcitool scan
then:
sudo bluetoothctl
(this should open a prompt [bluetooth]# inside this prompt:
agent on
default-agent
[to be continued]
|