Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [midi]

Musical Instrument Digital Interface.

-1
votes
1answer
63 views

State change detection with a colour sensor

I have added static variables to this code and instead of getting repeated notes whilst dwelling on green, I get a single note instead. This is what I wanted. However, my loop isn't allowing for a new ...
0
votes
0answers
65 views

How do I send MIDI using rtpMIDI on Arduino Mega + ESP8266?

Because of specification issue, I can't change the microcontrollers used. It have to contain Mega and ESP. What I've done : changed WiFi shield to ESP8266, according to this link. It has worked. I ...
1
vote
2answers
81 views

How do I properly send and receive MIDI with Arduino?

I'm using Arduino Mega. I tried to find specific topic about this and can't find any. The target is actually send and receive MIDI, then forward it as rtpMIDI using esp8266 (thats the start of the ...
1
vote
1answer
60 views

Midi controlled LED by USB [closed]

I am trying to create something that will allow me to control an individually adressable LED strip using an electric piano using its midi output. Some things to note: The piano can output midi ...
0
votes
0answers
32 views

Problem processing serial data

What I'm doing: piano --(usb)--> computer --(usb)--> Arduino UNO --> LED strip Basically, I play a piano and an LED strip illuminates the active notes. Problem: It works fine, until I ...
0
votes
2answers
87 views

Using Teensy 3.5 (Arduino) to produce USB and Hardware MIDI messages simultaneously. Help?

Currently trying to get a teensy 3.5 to spam a series of notes in a loop over USB and hardware serial, which I am pretty sure it can do. I have a MIDI circuit set up as per the specifications here: ...
1
vote
1answer
52 views

Arduino Mega Pins for SoftwareSerial (vs. AltSoftSerial)

I am currently looking at using an Arduino Mega to build a MIDI Receive box that will then pump the data over USB, but am having design issues/uncertainties with the Arduino's receiving end. I am ...
1
vote
2answers
141 views

Writing “theremin” outputs to a MIDI file on an SD card

I am making a musical instrument (theremin simulator). I want there to be a "record" capability which stores the volume and note the user is playing, into a MIDI file. Note this doesn't actually ...
1
vote
1answer
92 views

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 ...
0
votes
1answer
101 views

Unexpected value change of 2nd Potentiometer

I'm trying to connect 2 potentiometer (10k) and pass their value to Hairless Midi software (For Serial to Midi Bridge) the first pot is working fine but the second pot's value keep on changing and ...
0
votes
0answers
275 views

How to use USB midi AND a physical 5 - Pin DIN port to output MIDI

I am currently working on a MIDI controller and would like to be able to output MIDI messages both over USB to interface with modern DAWs, and also be able to output using a MIDI jack so that I can ...
0
votes
0answers
103 views

Pro Micro/Leonardo : USB won't work when powered from RAW pin

I'm trying to use a Pro Micro 5v to send MIDI data to my iPhone, via USB, to control a music app. I have an Apple Camera Connection Kit (CCK) to make the connections. My iPhone sees the SparkFun board,...
1
vote
1answer
215 views

ATtiny85 MIDI IN with less than 3V -can it be done? [closed]

I've been trying to add a MIDI INput to an ATtiny-based synthesizer, powered by a CR2032 battery (3v) and running softwareSerial. Currently I'm using an H11L1 optocoupler, which works fine at 5v, but ...
1
vote
1answer
378 views

ATtiny85 MIDI IN using SoftwareSerial - Is it possible?

I'm trying to read MIDI notes using an ATtiny85 via SoftwareSerial; so far, I've got no success at all. The ATtiny is using the internal clock, 8Mhz, 5V. The MIDI keyboard sends clean note on/off ...
0
votes
1answer
114 views

Atmega328p screen + midi, possible?

I'm trying to build this Midi2CV (control voltage for analog synths) using a Arduino Nano: https://photos.app.goo.gl/3IhhFL3PrLELLODB3 I was hoping to use this Nokia screen too for settings and ...
1
vote
1answer
260 views

Building mocoLUFA under OSX & Linux

I am attempting to build mocoLUFA under OS X el Capitan 10.11.6. [Editor: mocoLUFA (MIDI firmware for Arduino Uno)] I am using the specified LUFA version (LUFA101122) and I have tried building with ...
0
votes
2answers
92 views

Midi Timecode Fails to Send

I have an ATMEGA 2560 platform running HIDUINO and a sketch based on the stock MIDI library. I'm intending to use it to convert Linear Timecode (LTC) to MTC. Got a long way through the project - LTC ...
1
vote
2answers
31 views

Midi Program not sending notes

I'm working on a midi device with a pro micro, it's reading as a midi device, but not outputting any notes, here's my program: const int button1 = 2; const int button2 = 3; const int ...
0
votes
1answer
273 views

How to store/get MIDI SystemExclusive data?

In the MIDI library from the Arduino (FourtySeven MIDI library), there exist a function to get the length and bytes of a System Exclusive message: Functions getSysExArray() template<class ...
0
votes
1answer
140 views

MIDIUSB - Why is the command put twice?

Consider this function: void noteOn(uint8_t pitch) { midiEventPacket_t noteOn = {0x09, 0x90 | 9, pitch, 127}; MidiUSB.sendMIDI(noteOn); } midiEventPacket_t is defined as: typedef struct { ...
0
votes
0answers
138 views

Arduino MIDI-USB

I have this code downloaded, https://pastebin.com/gS2iUYQE ,to work in modified it to work with one potentiometer. But I need to use hairless midi-serial and create with Loopmidi a virtual midi port. ...
1
vote
1answer
216 views

MIDI output circuit behaving incorrectly when not connecting with USB

I recreated this circuit to send MIDI notes to my MIDI-USB adapter to my computer. It works fine when the Arduino is powered via USB. When I power the Arduino Nano with 9v on Vin however, the output ...
0
votes
1answer
60 views

Which connection should I use (preferably wireless)?

For a (for now MIDI only) project I was planning to use multiple Arduinos and send messages around. However, for the latency, I can have max 10ms (to prevent audible delay). I hoped to use WIFI ...
3
votes
1answer
956 views

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 ...
4
votes
1answer
240 views

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 ...
1
vote
2answers
483 views

Arduino Uno: Receive MIDI data from DAW

I basically want to have my Arduino accept MIDI data from my digital audio workstation, my choice is Ableton Live. I would then like it to check the received data and change the state of a digital pin ...
0
votes
1answer
26 views

How to logically tell than an UNO is being, or about to be programmed

I have an MIDI application that uses the RX and TX serial interface. When I program the UNO there is a collision between the on board programmer and the MIDI application RX serial port. The MIDI ...
1
vote
0answers
179 views

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 ...
2
votes
1answer
149 views

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 ...
1
vote
0answers
54 views

Changing function to work with Midi controller instead of buttons

I am trying to change up this function to work with a midi controller instead of buttons most of the code for the function i will be using as is. it just the parts of the code the deal with button ...
1
vote
2answers
55 views

How do i get stored Midi to Play back without the notes sounding sustained?

How can i get my stored midi notes to play back without sounding sustained like in this video : https://youtu.be/zc1zbwheyE0?t=2m30s. Here is some of my code: // Callback function to for recording ...
1
vote
0answers
32 views

Not hearing PlayBack from code that records and plays back MIDI

I have altered some code that i found online that records and playback midi data from a midi controller. from my testing i am pretty sure that notes are being recorded from my midi controller, i have ...
1
vote
1answer
232 views

Recording and storing Midi data with arduino and midi shield

i need help getting started on writing a sketch that would let me record and store midi data from a midi controller connected to a arduino mega through a midi shield. are there any functions in the ...
2
votes
1answer
90 views

Matching the blink of an LED to midi music

I have a function that plays a song and lights an LED corresponding to the note that is being played. when the same note is played consecutively(i.e E in bar 6) instead of the LED turning on and off ...
1
vote
0answers
234 views

How to play Midi from the Sparkfun Mp3 Player Shield?

in the video: https://www.youtube.com/watch?v=zc1zbwheyE0 I suspect they may be using the midi playback functionality of the chip (VS1053b) on the Mp3 shield. how do you playback Midi from the mp3 ...
0
votes
0answers
59 views

Voltage via 9V adapter and MIDI

I want (eventually) to power my Arduino using MIDI inputs/output with a 9V adapter like this: adapter MIDI also offer power but this seems quite unreliable (like 3V, 5V or uncertain, or none at all ...
-1
votes
2answers
35 views

Help Led matix isn't lighting up correctly Is it a Hardware or software issue?

I am trying to reverse engineer the project from this video: https://youtu.be/zc1zbwheyE0?t=50s. From the video a visible 10 wires are going from the LEDs to the Arduino mega, i am assuming that ...
0
votes
1answer
202 views

Using two MIDI inputs with Arduino UNO (with one serial)

Would it be possible to use TWO MIDI inputs (and a MIDI output) on an Arduino having only one RX/TX serial port? Timing will be somewhat critical so a software serial port is not usable probably. I ...
0
votes
1answer
258 views

47Effects MIDI Library and serial debugging

I noticed that since I use the MIDI library from 47effects, I cannot use the print(ln) for the serial port for debugging purposes, neither I can find it in the documentation. It states that the MIDI ...
1
vote
1answer
96 views

Easy way to upload sketches using MIDI (without RX pin removed)

I noticed when I use sketches with MIDI (using RX/TX), before uploading I have to remove every time the RX wire ... is there an easy way to prevent this? (I'm thinking about making a push button/...
0
votes
1answer
186 views

MIDI connectors / Diodes

Does anybody know if the following MIDI DIN connectors will fit in a breadboard? (or in general with 'generic' electrical components?) MIDI DIN And the same for: Diodes to be used for MIDI in.
1
vote
1answer
207 views

Arduino MIDI Program Change to Voodoo Labs GCX Converter

To define the problem, the L6 Helix can generate 6 immediate MIDI messages. These messages are pretty flexible as to what you want, but the Voodoo Labs GCX needs at least 8 CC messages to properly ...
2
votes
1answer
104 views

Is there a good Arduino enclosure for that works with the Olimex MIDI shield

I have a MIDI project I put together using an Arduino UNO R3 and the Olimex Shield-MIDI. I want to install the project permanently in my Guitar rack so I want a decent enclosure, but there doesn't ...
3
votes
2answers
325 views

MIDI and DMX together

I am fully new to Arduino (even don't have one ... yet), however, I'm looking into possibilities to use both MIDI in/out and DMX together. If I understand correctly the MIDI library (re)uses the UART/...
3
votes
1answer
188 views

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 ...
2
votes
1answer
554 views

MIDI controlled analog RGB LED strip (code problem)

I have a an Arduino Uno doing PWM on an RGB analog LED strip ala the Adafruit guide: https://learn.adafruit.com/rgb-led-strips?view=all. I've written a sketch that accepts MIDI data over USB and uses ...
4
votes
1answer
3k views

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 ...
2
votes
0answers
228 views

sending midi to software using arduino [closed]

Friends Here is what i want to ask. I have a midi keyboard that is casio cps7. Its an old model so its not a USB midi keyboard. I use it with a cheap midi to usb cable. I just wanted to use my ...
2
votes
1answer
1k views

How to send a pitch bend MIDI message using arcore?

I'm new to MIDI and started playing with an Arduino Leonardo and arcore. Based on the example code, I can easily send noteOn/noteOff/controlChange messages, but I can't seem to send a pitch bend ...
3
votes
1answer
492 views

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,...