This script allows you to convert multiple MIDI notes (velocity sensitive) to messages sent to Buttplug.io devices, through Intiface using the buttplug client package.
- Get loopmidi and install it.
- After install, create a new port and call it loopMIDI (or whatever the default is)
- Copy
.env.exampleto.envand fill it out accordingly - In your DAW, enable the loopback MIDI port created by loopmidi, and allow MIDI to be sent to it.
- Install the script with
pnpm install - Run the script with
pnpm dev - Send midi to the loopback device
- question why you did this
- This script supports note-per-device (untested), based off of what devices are free. In theory, you can have multiple devices connected, and whatever devices are free and not taken up by a note, will get assigned that note and vibrate.
- Killing Midi-to-Buttplug will force all devices in Intiface to disconnect, and you'll have to reconnect them
The code for this project is licensed under MIT but the libraries used may have differing license.