Questions tagged [midi]

Musical Instrument Digital Interface.

Filter by
Sorted by
Tagged with
0
votes
1answer
15 views

Using the MIDI library in my own library

Error message : "error: invalid declarator before 'MIDI' MIDI_CREATE_INSTANCE(HardwareSerial, Serial1, MIDI); ^ Plusieurs bibliothèque ...
0
votes
0answers
32 views

How to read from multiple multiplexers (CD74HC4067) with a library

I need to read alot of buttons and analog inputs for my project (60 buttons 15 faders) and there fore need to use multiplexers. But most mux libraries seems to only support one mux, am i wrong?
-1
votes
1answer
35 views

Does DmxSerial stops interrupts?

I am trying to build a setup with an Arduino Mega, having a DMX output (using DMXSimple library), and a MIDI library (to be done). I was wondering, if I get into problems. According to This question, ...
1
vote
1answer
121 views

How do I send MIDI properly with ESP8266?

So, I've finally able to send and receive MIDI using Arduino. My next thing to do was sending 5 pin MIDI to rtpMIDI, and vice versa, using ESP8266, but so far I can't even send MIDI correctly. So ...
0
votes
0answers
33 views

Problem Writing/Reading EEPROM on MEGA

I want to make a program that writes on the EEPROM some structs, the final device will take structs of RGB LED data: typedef struct{ unsigned char r; unsigned char g; unsigned char b; } ...
0
votes
1answer
40 views

How to get more than the 16 Analog INs on a Arduino Mega for using like 24 piezo sensors

i bought an Arduino Mega2560 and flashed it with usbmidi. So now it comes up as a midi device. I need more than those 16 analog ins to be able to put all my 24 piezo sensors into it to receive midi ...
-1
votes
1answer
81 views

How to upload and store settings/variables from computer on the arduino? [closed]

I'm literally as green of a noob as I can be at this moment. Been watching a ton of tuts as I plan my project, but can't seem to find anything about settings being uploaded from an external source, ...
0
votes
1answer
246 views

MIDI keyboard controlled LED strip

My objective is to light a led on a strip corresponding to a keyboard note. I have Arduino Uno with MIDI in module hooked up to a serial port. Piano is hooked with a standart midi cable, Led Strip is ...
0
votes
1answer
242 views

exit status 1 - expected primary-expression before '(' token

When I try to compile the following sketch, the compiler returns the error "exit status 1 - expected primary-expression before '(' token", and highlights "midi();" in my code. Here is my sketch: #...
-1
votes
1answer
188 views

Arduino Nano Midi to cv convertor interesting issue

I created the circuit in this schematic on protoboard, and the code, https://github.com/elkayem/midi2cv I use a dual opamp and a single dac, because i only need note and velocity. The opto i use is, ...
-1
votes
1answer
81 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 ...
1
vote
3answers
311 views

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. =...
1
vote
1answer
292 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
2answers
316 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
136 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
322 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 ...
0
votes
2answers
108 views

Is an atmega 2560 board compatible with the Adafruit Trellis?

I want to build a custom midi controller for my computer, and yes, Adafruit has a mini Untz project. For my purposes, I need more analog inputs than the Leonardo, and the only other option I can find ...
1
vote
1answer
161 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
162 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 ...
1
vote
1answer
394 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
668 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
160 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
2answers
402 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
124 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
43 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
503 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
294 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 { ...
1
vote
1answer
408 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
70 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 ...
4
votes
1answer
2k 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 ...
3
votes
1answer
394 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
733 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
27 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
200 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
158 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
65 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
60 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
33 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
338 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
108 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
360 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
76 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
36 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
262 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
361 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
133 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
307 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
340 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
185 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 ...
2
votes
2answers
428 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/...