GirlNamedGoo

For my final year project at University I intend to make a MIDI Controller which utilises the Arduino Uno.

It's still in the very early stages as I'm still getting to grips with coding (not exactly my forte!)

At the moment, I have a linear potentiometer that is sending serial data to my computer, which I can view in the serial monitor window. Unfortunately, I cannot set the Baud Rate to 31250 as I cannot view anything in the serial monitor window otherwise (anyone know a work around for this?)

All I want to do at the moment is get the potentiometer to send MIDI information to my computer, so I can change the volume or something in a DAW. Ideally, I'd like to do this via USB. I don't really know where to start - I've been desperately searching the internet for some coding tutorials for Arduinos and MIDI, but no luck.

I understand I probably sound a little ignorant and for that I apologise - but I'd really appreciate any help anyone can give.

If you're not sending the data to an actual MIDI device and just need to view it on a computer, just set the baud rate to some more normal rate, like 115200.You don't have to use the serial monitor, you can use any terminal emulator, like puTTY.Or have I not understood the question?

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.Do not send technical questions via personal messaging - they will be ignored.I speak for myself, not Arduino.

So how have you wired it up?The arduino only looks like a serial port to a USB connection.That link which is a rubbish circuit by the way, needs to be fed into a MIDI interface attached to your computer. It is that interface that the computer will recognise.

It is a bad circuit because the current output is less than the MIDI specification, you need a transistor in the circuit. Look at the link I poster earlier for a much better output circuit.Also a lot of people get the connections to the MIDI plugg wrong. Depending on if you are looking at the pins or looking at the back of the socket those two can be swapped over.If you have a USB to MIDI lead then your system will see that, if it does not then there is something wrong on your PC end not the arduino.

GirlNamedGoo

Firstly thank you for your previous help. My Arduino now plays MIDI notes straight into Pro Tools and I'm getting to grips with changing the code so that I can change the velocity, length of the notes and the min/max pitch.

The next thing I'd like to do is add a potentiometer so I can begin to control parameters in my DAW. What would be my first steps? I want to be able to go into the DAW and select a parameter for the potentiometer to effect.

Wire up a pot and read the value. Do this once in each loop, save the reading as te last thing you do. When you read it next time round the loop compair it to the last time reading, if it is not the same send a CC message with the reading from the pot shifted to the right 4 times to put it into range. The shift operation is >> and <<