Skip to main content

Questions tagged [midi]

Musical Instrument Digital Interface.

0 votes
0 answers
95 views

The control function is not sending out correct values

#include <MIDI.h> int scale = A4; int oct = A2; int potval, octval,octval2=0; int newnote, prevnote = -1; int newpotval,prepotval=-1,potval2=0; int trigr = 7; // Ultrasonic right int echor = ...
DETOX's user avatar
  • 1
1 vote
1 answer
93 views

How to detect when a key is played on a musical keyboard

I have a musical keyboard (Casio CTK3500) which has an USB B to A output. I want to know a way to connect one (or more) of the wires from the USB cable to Arduino so that it can detect when a key is ...
Monty Swanson's user avatar
1 vote
0 answers
91 views

Arduino Nano not receiving MIDI messages

so I am currently creating a MIDI to CV module and am still having trouble with my MIDI input circuit. I am following this circuit as my guideline and am sending MIDI messages via MIDI interface with ...
Harmony's user avatar
  • 11
1 vote
0 answers
51 views

Arduino Nano not recieving MIDI Message

I'm building an MIDI to CV converter using an Arduino nano along with a MIDI input circuit, however, when uploading the code and connecting the MIDI to a laptop via USB, the Arduino doesn't recognize ...
Max Ellzey's user avatar
0 votes
1 answer
538 views

Arduino Zero not recognised as MIDI device via native USB port

I'm currently trying to get an Arduino Zero to show up as a native USB MIDI device in my DAW (ableton). No matter what I try, I cannot get it to show up as a device in Ableton. I have previously used ...
Danny Herbert's user avatar
2 votes
1 answer
179 views

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 ...
zRockafellow's user avatar
1 vote
0 answers
131 views

Question about MIDI library

I'm trying to replace this code with something that uses the Arduino MIDI library: #include <SoftwareSerial.h> #define rxPin 2 #define txPin 1 SoftwareSerial midiSerial (rxPin,txPin); void ...
zRockafellow's user avatar
2 votes
2 answers
494 views

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 ...
zRockafellow's user avatar
1 vote
0 answers
98 views

Motor response is lagging

I've got a DC motor connected to an Arduino Nano, L298N H-Bridge and a 12v Power supply. I'm trying to make it respond to incoming MIDI data a bit quicker. Right now, it seems awfully slow, and lags ...
zRockafellow's user avatar
1 vote
0 answers
2k views

How to get the esp32s2 recognized as USB device?

I have an esp32-S2 saola and I am trying to use it as a MIDI usb device. I am trying to use this github repository: https://github.com/chegewara/EspTinyUSB. I am able to run the code on the esp32s2 ...
Arjuna Deva's user avatar
0 votes
1 answer
2k views

ESP32 USB HID/MIDI library (not the BLE one)

I couldn't find any library to use an "old" ESP32 (not the new ESP32-S2) as an HID connected physicaly to the Usb port (not over BLE pairing) to send keystrokes to the PC ... Is there any solution? ...
Paul Efford's user avatar
2 votes
1 answer
177 views

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. ...
User's user avatar
  • 139
0 votes
1 answer
154 views

Teensy 2.0 MIDI: Number of notes in a chord limited to 6?

I am using the Teensy 2.0 with USBMidi in a project that allows musicians to use retro computers as "instruments" (https://github.com/fredlcore/midijoy). So far, all these computers had no more than ...
fredlcore's user avatar
0 votes
1 answer
340 views

C3 not declared in this scope when running MIDI example code

I'm trying to run the MIDI example from Arduino.CC in Arduino Studio. I am using an Arduino Leonardo, which has USB HID capabilities. I have installed the library as mentioned: When I press the ...
Thomas Weller's user avatar
1 vote
2 answers
972 views

How to debug MIDI input?

I'm trying to receive MIDI messages on a Leonardo. To do that I used the circuit in the diagram below (only the top half for receiving). The only thing I did differently was using an 1N4148 diode ...
flawr's user avatar
  • 117

15 30 50 per page
1
2 3 4 5 6