Musical Instrument Digital Interface.
Questions tagged [midi]
80 questions
7
votes
1 answer
Sending MIDI messages using PING ultrasonic sensor
I am working on a project that uses a potentiometer and an ultrasonic sensor to create MIDI signals. This is my first time working with an arduino. I took a class in C++, but am teaching myself some C in order to program the arduino. So far I have…
EarleAB
- 71
- 2
4
votes
1 answer
SoftwareSerial too slow for MIDI?
I tried to use the SoftwareSerial library for MIDI (by 47 effects), but it seems I get regularly corrupted/unexpected messages.
The circuit I'm using works perfectly when I connect it with the HardwareSerial solution (so the problem must lay in…
Michel Keijzers
- 13,014
- 7
- 41
- 58
4
votes
1 answer
Teensy MIDI Show Control
I'd like to use my Teensy 3.1 to send MIDI Show Control messages using USB MIDI in order to control an ETC Nomad system. These are different from standard NoteOn, NoteOff, ProgramChange, etc. commands, but as far as I can tell they are not supported…
Alfo
- 144
- 1
- 7
3
votes
0 answers
Hiduino as a Serial-USB midi coverter
I have an Arduino Mega2560 configured to Hiduino, which makes the Arduino a driverless class-compliant MIDI interface.
I am currently converting RS232 serial I/O data to midi data using the 'hairless midi-serial' software running in the background.…
Scott K
- 61
- 4
3
votes
1 answer
Way to use other baud rates in console or different input/output rates
I want to send some test codes to a MIDI synthesizer, so I wrote a program that lets me just type in hex codes on the serial monitor and send it over serial as the byte value. For example typing "90 45 63" should turn on note 0x45 with a velocity of…
deltaray
- 284
- 1
- 11
3
votes
1 answer
Arduino clone CH340G (ATmega328P), MIDI over USB
I just bought my first Arduino compatible device, and I am greatly enjoying it. I finally could not resist the urge after going to an Arduino meetup, where someone showed me their Teensy connected to their laptop and reacting to MIDI signals over…
insaner
- 155
- 1
- 10
2
votes
1 answer
Question regarding using Arduino and MIDI
I'm using an Arduino Leonardo for sending MIDI In and Out messages to Ableton Live.
Components include a Potentiometer, a Capacitive Touch Sensor, and a DC Motor, which I'm powering with a L298N Motor Driver.
Right now I have it set up so that I can…
zRockafellow
- 131
- 7
2
votes
2 answers
Assistance with PID DC Motor Acceleration
I'm working on a project that uses an Arduino UNO and a motorized fader to send and receive MIDI data from my computer/musical keyboard. I'm trying to set up my motor with PID to control the position and speed of the motor - Been having some…
zRockafellow
- 131
- 7
2
votes
1 answer
how to convert the following code into one using direct port manipulation
Following is the program for scanning a keyboard for MIDI transfer.
At present the code works fine, but it could be faster.
I need to know how to use direct port manipulation inside the for loop.
boolean keypressed[6][6]; //for storing key…
User
- 139
- 4
2
votes
4 answers
How do I properly receive MIDI with Arduino, with 6n138?
UPDATE : I still can't receive MIDI as of 2019/07/01.
Here goes so far : I'm trying to follow this schematics from instructables, using 6N138. To make it easier, I'm going to copy his schematics.
===================================
I'm using…
Rinaldo Jonathan
- 185
- 4
- 11
2
votes
1 answer
How to control a DSP-G1 programmatically/electronically?
I want to generate music/sounds for a video game I am making with my son (using an Arduino Mega and a 240x320 LCD graphical display). I have a basic understanding of the MIDI protocol. I've been a computer programmer for over 30 years. I read the…
Gary G
- 21
- 1
2
votes
1 answer
USB MIDI HID with the ATmega32u4?
There are existing projects that allow the Uno and other devices using the ATmega8u2 to operate as a USB MIDI HID, such as MocoLUFA. Unfortunately, as far as I am aware, these require uploading new firmware that isn't compatible with programming via…
naught101
- 123
- 1
- 6
2
votes
1 answer
Using a MIDI connector both as MIDI In and Out (not simultaneously)
I asked this question also in Electrical Engineering (stack exchange), however on question is more appropriate on this board (question 5). For completeness, I kept all questions intact, but made question 5 bold.
Electrical Engineering StackExchange…
Michel Keijzers
- 13,014
- 7
- 41
- 58
2
votes
0 answers
How to pass input from a Midi controller to a function?
I am trying to pass the input[], data1(pitch) from a Midi controller to the waitForButton function. When a key is pressed it sends data1(pitch) into the array input[], and when the key is up the array value goes to zero. But the input isn't being…
Hjhk90
- 291
- 3
- 13
2
votes
1 answer
Arduino Simon Says with Midi Controller
I altered code for the Simple Simon says to work with a Midi controller instead of push buttons. i am having trouble with the input of the song sequence with the Midi Controller. during the time where the code is waiting for input from the Midi…
Hjhk90
- 291
- 3
- 13