Hello, I'm looking for a way to run the code on a Raspberry or Arduino. Connect the apc to a Raspberry or Arduino via USB and then communicate with a DOT2 core via network. Do you have a way to do that? Thanks
My code will work on a Raspberry Pi, but you need to install Node.js and the required libraries/modules on the Raspberry Pi. You'll likely also need to provide the correct console IP address and the correct MIDI device name in the main file, as it might look different on the Raspberry Pi. However, it does work, though running it on a PC is easier. Create a directory and copy the main JS file into it. Commands to execute: npm init npm install websocket npm install easymidi That's all!
But it will be more convenient if you run dot2 onPC and run my code on it. Connect the console and the computer with dot2 onPC via LAN and join them in one session. This works very well, and in case of a failure, you have a backup.
Hello, I'm looking for a way to run the code on a Raspberry or Arduino. Connect the apc to a Raspberry or Arduino via USB and then communicate with a DOT2 core via network. Do you have a way to do that? Thanks
My code will work on a Raspberry Pi, but you need to install Node.js and the required libraries/modules on the Raspberry Pi. You'll likely also need to provide the correct console IP address and the correct MIDI device name in the main file, as it might look different on the Raspberry Pi. However, it does work, though running it on a PC is easier.
Create a directory and copy the main JS file into it.
Commands to execute:
npm init
npm install websocket
npm install easymidi
That's all!
But it will be more convenient if you run dot2 onPC and run my code on it. Connect the console and the computer with dot2 onPC via LAN and join them in one session. This works very well, and in case of a failure, you have a backup.
new code (only) on github
github.com/ArtGateOne/dot2apc20
this nodejs code - required easymidi and websocket