Controler MIDI

by maycensaci in Circuits > Arduino

416 Views, 3 Favorites, 0 Comments

Controler MIDI

20220826_191934.png

The last time, while redoing my room, I came across some old things, for example I found old speakers and an old headphone box and that's how I told myself that I could do something with them.

Having a hardware interface with your favorite music/DJ/VJ software can really open doors in your creativity. The most common form of hardware control on your PC for such applications is a MIDI controller. A MIDI controller can send and receive MIDI messages on your PC, allowing direct control of your software. Not only that, but controls can usually be mapped to whatever you want. So what might be a volume fader for one person may be an effect filter for another. With objects reused in this instructable, I will show you how I made

Supplies

Capture d’écran 2022-08-26 165719.jpg

Below is a list of components used to create the MIDI controller. The cost for this project is based on the components needed for the MIDI controller. Other tools such as a soldering iron or a power drill, or common components such as solder and wire aren't included in the final cost.

Required Components

1 x Arduino UNO

1 x led (which I took from an old speaker)

3 x potentiometer (which I also took from an old speaker)

1x cardboard box

Assemble Components

Capture d’écran 2022-08-23 174034.jpg
20220826_114346.png

Electronic circuit: 3 potentiometers on PIN A0, A1, A2 and powered by 5V

the leds have an apparent circuit because they come from an old enclosure the potentiometers

Programmation

for the code I used this code if you want to add a led the code supports it just connect the leds to PINS 4, 6, 8 and 10 powered by 5V on the github you can find a code that will allow you to test your potentiometer you will have to open the serial monitor on arduino and turn the potentiometer

Convert MIDI and Set Obs

unknown.png
unknown.png
Capture d’écran 2022-08-23 182258.jpg

components work it is necessary to translateall this information at noon forthose who don't know roughly it's a communication protocol which is recognized in particular by the software of montage music but also by obs for the stream for example and in what concerns me I will not reinvent the wheel I will already take a program already done on a project and adapt it to the mine once I have arranged my code correctly that I was televerses and that he works well

it's not completely over yet level there the values ​​of the potentiometers are well converted into midi but for to be able to transmit them to the different stream editing software etc. you have to create a kind of virtual channel the channel between the two we can imagine it like a hold that we will call in real life the midi port so I use a small

software called loop midi for create this midi port and another software called airless which goes make the connection between the arduino and this port that we just created we press more on loop midi to create a port and on the hairless side on connect our arduino I can now open obs my stream software I go to the tools and I click on obs midi settings who is aun free obs plugin to download, in the device tab I select my body MIDI is in the configuration i click on listen one and i do turn one of my potentiometer so that it can be detected the corresponding action I wantto do is to play with the volume on one of the audio sources i createdin my obs I click on had mapping

Mounting

20220826_163406.jpg
HTB141KuaiYrK1Rjy0Fdq6ACvVXaE.jpg

To make the box I used an old headphone box that I painted black the potentiometer buttons and the LEDs were integrated into the speakers, inside there was foam I used it to place the potentiometers correctly. So that we can see the light, I took a geor grid that was on my speaker, I placed pieces of white plastic there, and finally I cut the box to let the wires out and I put a cable tie to hold it all together .

Results

20220826_191931-_1_.png
20220826_191934.png
20220826_191931.png
20220826_191858.png

If you want to put leds I advise you to use like me a plastic plate which drags you just have to cut it and place the pieces in different places of the box with that the light will spread much better. The advantage of my project and that it is not compulsory to use it on OBS this is only an example you can use it for music software and others thank you for reading all until at the end and wish you a good day