I'm working on a midi mixer- the main problem i'm facing right now is Storing/Recalling Pot Values.
ex.... Once a parameter is adjusted with a pot and the project is saved via music software- When i open a different project the parameters assigned to the same Pot then adjust to that pot value- if i slightly adjust the knob, turn it on accident...etc
So what i would like to do is set up an LCD screen that will read the Midi software parameters and keep them until the pot is adjusted to that exact parameter/value
I am familiar with the basic wiring for the midi input-
I'm a noob with the Arduino Code/Library
so i'm not sure how to write midi read code or how to implement all that i'd like to do-
but here is a noobs interpretation of the functions i need
something like
print to LCD MidiCC16, channel 2, value
if Pot1 != Midi CC16, channel 2, value
Pot1 does nothing
if Pot1 = Midi CC16, channel 2 value
analogread pot1
send Pot 1 info to Midi CC16, channel 2, new value 80
print new value to LCD screen
So what i would like to do is set up an LCD screen that will read the Midi software parameters and keep them until the pot is adjusted to that exact parameter/value
I've never seen a piece of hardware (the LCD) that could read anything from the code.
So what i would like to do is set up an LCD screen that will read the Midi software parameters and keep them until the pot is adjusted to that exact parameter/value
I've never seen a piece of hardware (the LCD) that could read anything from the code.
Try again.
Seriously?
Well i know it is possible to read midi cc information for motorized faders
Maybe not just Arduino code but something in C++ i can implement to print the MidiCC returned value to an LCD?
and while searching i found this- not sure if it will help with what i want to do- but it looks like reading midi CC info to an LCD is possible- Youth Vulture: Arduino Midi Message Decoder
You have to remember what you last sent to the MIDI channel.
You then set a flag indicating you do not update the MIDI channel with the pot value.
You then read the pot value until it is equal to your stored MIDI value. When it is you clear the flag.
You only update the MIDI channel with the pot value when it has changed from the last reading AND the flag is clear.
You need to implement these things using an array if you want to use more than just a few channels.
Grumpy_Mike:
You have to remember what you last sent to the MIDI channel.
You then set a flag indicating you do not update the MIDI channel with the pot value.
You then read the pot value until it is equal to your stored MIDI value. When it is you clear the flag.
You only update the MIDI channel with the pot value when it has changed from the last reading AND the flag is clear.
You need to implement these things using an array if you want to use more than just a few channels.
sounds good-
I think this may be a good solution to the issue we we chatted about on my other post- when you suggested the Rotary encoders-
I played with the idea but the detents annoy me for some parameter controls