简体   繁体   中英

Arduino MIDI controller library

I am trying to make a MIDI controller with three buttons (play, pause, and rec), a potentiometer and a fader. I am using this library: https://github.com/tttapa/MIDI_controller

I can't manage to make the buttons do what I want (trigger the play button on my daw).

Also when I tested the potentiometers with Hairless , I got this error:

Enter image description here

This seems like a communication error.

The autor recommends to change to the new version . If you want to stay with that version, try tweaking the set speeds on both sides.

The default Hairless baud rate in Arduino is 115,200 symbols/second.

(You could change it in the settings, but I recommend just changing it in Hairless, as I think it is the default.)

 MIDI_controller/src/Settings/Settings.h
     Line 10
  #define HAIRLESS_BAUD 115200

I had the same problem.

Your setup does not provide a MIDI input to the DAW. A DAW can read from a MIDI input but not from a serial port.

The Arduino sends MIDI via serial port to the application "Hairless serial MIDI bridge" and Hairless sends that MIDI data with the correct baudrate to a MIDI input device.

You can use http://www.tobias-erichsen.de/software/loopmidi.html for a MIDI input.

Have a look at https://piecesofpi.co.uk/arduino-usb-midi-the-easy-way/ for details.

Another option may be an Arduino with internal USB (Atmega 32U4) without the need for Hairless and the MIDI loopback (I have not tries this).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM