Recent Arduino boards like Leonardo and Micro can natively be seen as HID devices.
However is there any advantage (or disadvantage) to use this kind of connection instead of the regular serial-over-USB connection ?
Thank you in advance.
I guess it depends on what and how much hardware input you require? I’ve never stress-tested the [hi] object, so I don’t know what it’s tolerance level is . . .
Probably best to go into USB MIDI class compliant mode, so you just come in as MIDI straight up.
I just bought a Teensy for that very reason.
(The teensy, as it turns out, has very robust usb mode implementation, so you can still reprogram it while in USB MIDI mode, unlike an Arduino, which you have to reflash the USB chip every time you want to reprogram the actual Arduino board).
+1 for the teensy, I use it both as a midi device and as a serial device with max and the speed is really impressive !
Since I had problems with the serial object (may be due to misuse on my part), I use nodejs to retrieve information from Arduino, and route it to max via udp.
There are modules for Aduino through nodejs, programming the Arduino can be achieved through js script, relatively simple for beginners.
Nodejs indeed allows me to send data simultaneously to a website, convenient for me.
Now is that this configuration is the most efficient, I do not know, however, it meets my needs effectively
C74 RSS Feed | © Copyright Cycling '74