Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [midi]

Musical Instrument Digital Interface

Filter by
Sorted by
Tagged with
0
votes
0answers
62 views

Make MIDI messages and audio signal transit in the same jack cable

I know it's a crazy (bad) idea, but still: I hate having many cables attached to a music instrument when I move in the room. Let's take the example of a Akai MPC500 sampler: it is battery powered (so ...
1
vote
3answers
90 views

How to keep PWM from “contaminating” analog read values on my pcb

So I'm designing a PCB for a MIDI controller with a lot of slide potentiometers and push buttons. I'm also backlighting the pushbuttons with LEDs running on PWM and I'm worried that the PWM for the ...
2
votes
3answers
103 views

Why optocouplers for MIDI Out/Thru?

I found this article: midi-in-through-out Credits by Zynthian I like that it has notification LEDS for MIDI in/out/thru. However, I also notice there are optocouplers for MIDI Out and Thru, while ...
0
votes
2answers
91 views

Compensating clock drift “by hand” - what have I solved?

Edit: I'm not actually looking for a solution, because short of syncing the hardware clocks (which I can't do) there isn't one. What I'm looking for is an explanation of where the magic -8.4ms I seem ...
2
votes
2answers
70 views

Connect MIDI input shield connection to ground with capacitor. What voltage / kind?

The midi specification mentions optional capacitors between connector shield and ground for a midi input: Neither the type of capacitor nor the voltage rating is specified. I would think that the ...
0
votes
0answers
30 views

How to include new path in compiling qmk project

I have a running qmk project. I have used msys2 to produce the .hex file.Now I am trying to add MIDI functionality . when i add library folders such as MIDI . when I add include "midi.h" inside a ...
1
vote
4answers
144 views

Is it possible to use a DPDT switch to swap 2 inputs and 2 outputs?

I want to create a passive device with two MIDI inputs and two MIDI outputs, with a switch that has two states. In the first state, input 1 is connected to output 1, and input 2 is connected to output ...
1
vote
3answers
69 views

Implementing digital control on analog potentiometer [closed]

I have an analog sound processor unit, which uses either ICs or spare components. There are four controls, which are simple potentiometers. I would like to control their levels digitally, storing the ...
3
votes
1answer
1k views

Do I really need diodes to receive MIDI?

All the schematics above use a diode before the receiving pin on the optocouplers. The problem was, I never able to find the exact same diode as the schematics. Before, I'm using H11L1, but it never ...
0
votes
1answer
53 views

Generating a midi signal from switches or digital logic [closed]

I have a control board I have wired up consisting of various buttons and momentary switches. (For an art project) There are enough for exactly two octaves (C3 to C5). I want to connect these control ...
0
votes
1answer
58 views

Reverse Engineer DIN 5-pin connector

Summary I have a digitial guitar amplifier that can be controlled via a footswitch. The footswitch is connected to the amplifier via a DIN 5-pin cable. I want to be able to control the amplifier with ...
0
votes
2answers
169 views

Making a simple 1 MIDI IN + 1 arduino MIDI OUT merger (MIDI THRU + TX)

From the Midi DIN spec schematics we can see MIDI THRU is just MIDI OUT directly at the end of a MIDI IN. Is it possible to just add a midi signal from the arduino TX ("FROM UART") to the midi thru (...
3
votes
2answers
217 views

Building a midi project with Arduino + scrap components (optocoupler and diode)

Original title: 300V output Optocoupler in a 5V circuit I'm (new to this) trying to build a midi controller (in and out) with arduino and scrap. I guess I had several questions in one so I changed ...
3
votes
1answer
141 views

Shaping ground plane on a 4 layer USB Midi controller PCB

I have asked about this before but I have to admit that I didn't read enough before asking and therefore was'nt able to ask the question properly. I hope I am now. I'm designing a 4 layer board with ...
4
votes
2answers
82 views

±12V protection for MIDI input

TLDR; how to make a MIDI input withstand shorting to \$\pm12V\$? This is a counterpart to this question, I'm asking this as I was inspired by the great answer I got there. I'm designing a MIDI input ...
5
votes
2answers
173 views

±12V protection for MIDI output

TLDR; how to make a MIDI output withstand shorting it to \$\pm12\$V? I'm designing a MIDI output in a eurorack modular synth module on a TRS jack (this is a semi-standard non-standard way to save ...
0
votes
0answers
36 views

EMG controlled sustain pedał in MIDI keyboard for handicapped

I’m facing the following problem, which seems to be pretty easy to solve, but I’m not much experienced in this field and I’m not sure where to begin. The problem is about an adaptive device for a ...
1
vote
1answer
51 views

Verilog: MIDI receiver port fails when more than two keys are pressed at the same time [closed]

I'm designing a MIDI receiver port (using Altera CLPD MAX 7000S). The device samples the second byte it receives and outputs the binary value on an LEDs. The device works fine whenever I input MIDI ...
0
votes
2answers
654 views

Ferrite bead in cable or in device?

I am wondering, I made a MIDI circuit and was advised to use ferrite beads in my device for MIDI input/output. It is a similar to the following circuit (only the L1/L2 ferrite beads are important for ...
5
votes
1answer
1k views

How important is to have some form of electrical isolation in MIDI connectors?

I want to connect two MIDI keyboards by connecting the MIDI OUT of the first keyboard to the MIDI IN of the second keyboard, but I don't have the connector and I'm nowhere near a music store to buy ...
0
votes
1answer
74 views

What actually is MIDI and how does it function in a system?

Sorry for the primitive question but this is a topic where I'm completely blank and has been a mystery for me until now. I had some readings on the net but couldn't get a clear picture. All say MIDI ...
3
votes
2answers
503 views

how do I use H11L1 correctly to receive MIDI?

I was following this schematics. This is the first result on google images My Arduino Serial Monitor received nothing. I tried to replace the H11L1 with LED, and it does blink. but as soon as I ...
3
votes
2answers
111 views

Using audio instrument cable for 1MHz transmission

I'd like to transmit digital data together with an audio signal along an instrument cable. In more detail, I'd like to send MIDI data and the audio signal of a guitar on a single cable. The rationale ...
0
votes
1answer
150 views

Midi Timestamp Implementation

I am building a HID USB device (via Microchip PIC MCU) with a MIDI interface, which is functioning as intended (sending midi to the host). My intent is to make it usable by a DAW (such as Reaper), and ...
0
votes
1answer
88 views

Component that plays single .mid music file? [closed]

Is there a component, (that is not Raspberry Pi or other mini computer it would be an overkill), that I can use to play a MIDI music file on loop? Even by uploading it on it or program it to the tune. ...
1
vote
1answer
109 views

Effects of 200R (199R) instead of 220R in this circuit

I'm building a MIDI in circuit, and I found out my batch of 220R resistors are actually 199R... Can this cause problems/have negative effects for using in a MIDI In/Thru circuit ?
0
votes
1answer
112 views

Several MIDI over USB Device

I'm looking at creating a "specialized" MIDI over USB device for a project I'm working on and my requirements have gone beyond that of the Arduino/Pi/etc, due to limited I/O. I am very much a beginner ...
2
votes
2answers
264 views

Extra pins on MIDI connector?

I'm designing a MIDI project using these SDS-50J connectors. The datasheet provides a suggested footprint diagram and labels the pins 1 through 5: It does not, however, label the bottom-most two ...
0
votes
1answer
406 views

Is my PCB layout ok? (ATMEGA32U4, WizNet W5500, Ethernet)

I want to design a device that listens to certain network communication and calculates a MIDI clock signal out of this information. The MIDI output is via classical MIDI port or via USB MIDI. I am ...
0
votes
1answer
380 views

Best Arduino for Midi-Board

I came across this device recently: The Loupedeck. Now, most reviews say that it's built very poorly and a simple Midi controller paired with Midi2LR will get the job done better and cheaper. But, I'...
2
votes
2answers
184 views

Calculating Component Values for MIDI synth

I am reasonably new to this, and I am trying to find the calculations used to choose the component values in this circuit. Concerning the Optocoupler, from what I can work out: 6N139 Forward ...
17
votes
9answers
3k views

Reading a huge number of analog sensors in real time

I'm trying to build a MIDI-like controller that has a neck like a guitar. On that neck, there is a huge matrix of pressure sensors. The controller will emulate 3 strings. The way this works is: ...
0
votes
2answers
804 views

Why is my MCP4822 DAC not outputting 0 V?

As part of my MIDI to CV project I am using an MCP4822 (datasheet) two channel 12 bit DAC. After much toil I have everything working as planned, except for the fact that even when initialised with ...
1
vote
2answers
473 views

Is it possible to test a MIDI device through its connector with a multimeter?

I have a Fluke 115 multimeter available that I'm hoping has capabilities to register (even with low fidelity) any MIDI signals flowing out of a handful of devices. ...
1
vote
2answers
368 views

Burnt Diode in MIDI Keyboard? [closed]

A while back I think I may have plugged the wrong power adapter into my MIDI keyboard and it started to smoke and then never turned on again. So... I popped it open and it looks like it's a burnt ...
2
votes
1answer
662 views

Connecting MIDI patch cable DIN connector shielding and pins 1, 5

I am building myself a MIDI patch cable. According to resources such as http://www.leadsdirect.co.uk/technical-library/pinouts-wiring-diagrams/din-midi-wiring/ the middle pin of the DIN connector (pin ...
2
votes
4answers
314 views

MIDI source selector switch

So I am looking for a way to switch three signal lines between 1 source and another, the idea being I want to switch a MIDI Port on my device between thru and out modes, but also can't have any delay ...
6
votes
4answers
2k views

4N35 opto-isolator for MIDI input does not work?

I have the following circuit which I would like to use to connect a MIDI enabled device. I am not getting any signal on pin 5, could it be because the resistor from the base to ground in too small? I ...
0
votes
1answer
76 views

Minimum distance between inductor beads and an RF transceiver?

I there a minimum distance needed between the beads and the RF transceiver? Like below ... the connections do not really matter, just if there are requirements regarding the distance between the bead ...
0
votes
1answer
945 views

I cannot get opto-coupler H11L1 to work as MIDI Input

I received my H11L1 opto isolators (yeah) to use for my MIDI input(s). However, I cannot receive anything (and tried various circuits). According to the H11L1 (see datasheet) an example circuit is: ...
2
votes
2answers
95 views

Rh versus MHz/resistance for inductor beads

In my previous question question I learnt I have to use inductor beads, which is also according to the MIDI specs, see below They state 1K@100MHz, but if I look e.g. on AliExpress for inductor beads,...
1
vote
1answer
827 views

MIDI out / thru circuit questions

I made a MIDI in/out circuit, which works, however, I see I have some changes compared to some other circuits I see. In the official documentation Midi Org I see two resistors on the MIDI out circuit,...
0
votes
0answers
136 views

Creating a SPDT 'transistor' solution for MIDI

In my previous question MIDI Both as Input or Output the advice was to use a CD4053 to make a SPDT switch (multiples). However, I was thinking how it could be done with transistors. Not that I want ...
2
votes
2answers
563 views

Difference between H11L1 and H11L1M

What is the difference between a H11L1 and H11L1M opto coupler? (I want to use it for MIDI). Datasheets H11L1 H11L1M If I check the data sheets, I see some different values, but for me it is ...
2
votes
1answer
1k views

Using a MIDI connector both as MIDI In and Out (not simultaneously)

In my current (Arduino) project I have (currently) 3 MIDI INs and 2 MIDI OUTs. However, it would be nice, if I can configure each of the MIDI connectors as IN or OUT by software (Arduino). The ...
3
votes
3answers
178 views

Opening serial port for reading, when data is already flowing

I have a drummachine (Roland TR505, but all of this would be true with any other device) sending a byte 11111000 (Timing Clock MIDI message), 48 times per second, ...
2
votes
1answer
129 views

Midi input that doubles as gate voltage input

I'm building something that would benefit from a midi-clock input, but also a analog clock input. In order to save space, i'd like to use a mini-jack with an adapter for the midi cable (as seen in the ...
1
vote
2answers
1k views

Multi channel optocoupler

I'm new to electronics, so forgive not using official terms. I want to make a MIDI project with an Arduino (Mega) and want to have 3 MIDI input channels. Currently on my breadboard I use 6N137 ...
0
votes
1answer
33 views

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

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 they ...
5
votes
2answers
741 views

Electronic component that detects angular rotation like a potentiometer, but endless and digital

I am relatively new to this whole scene but am wanting to start a small project sending midi-signals from a board I am creating. That said, I am a big fan of these endless, smooth digital ...