Author |
Message |
supercollider
Joined: Oct 08, 2013 Posts: 2 Location: Berlin
|
|
Back to top
|
|
|
capicoso
Joined: Nov 19, 2012 Posts: 128 Location: Argentina
|
Posted: Tue Oct 08, 2013 6:21 am Post subject:
|
|
|
With an arduino UNO you'll be fine or MEGA if you don't want to expand the digital io with shifters... but even the MEGA has only 14? analog inputs, so you'll still need to expand the analogs.
About the MIDI connection, you want it to have classic DIN 5 MIDI jack? Or want to make the connection via USB?
I always prefer DIN 5, because all my synths have this, and it's easier to make a standalone circuit with the atmega328(the microcontroller) and don't have to solder the USB part...
The good thing about USB is that you have both midi in and out with a single cable, so this would be good for the led feedback... having to connect another cable just for the leds would be annoying i think...
You have lot of potentiometers, arduino only has 6 inputs for pots, so you'll need to read about multiplexers... i use 4051 and 4067, 4051 expands it to 8 more inputs, and 4067 to 16. They work the same, 4067 has one more bit. You can put many daisy chained...
http://playground.arduino.cc/learning/4051
For connecting it with USB you'll need http://projectgus.github.io/hairless-midiserial/ the user will have to open that to connect the controller to the DAW or any program.
Or use Hiduino and make it native https://github.com/ddiakopoulos/hiduino
the VU part isn't very hard. But it depends how you want to make it... if the program being controlled can send back for example, a CC 7(volume) with the volume of the track or whatever it's using, it'll be good. You need a row of leds that respond to that message... you could make it respond to audio too but it seems annoying...
for MIDI you can use the MIDI library, search it in the arduino playground |
|
Back to top
|
|
|
elmegil
Joined: Mar 20, 2012 Posts: 2177 Location: Chicago
Audio files: 16
|
Posted: Tue Oct 08, 2013 8:38 am Post subject:
|
|
|
You'll want to look at LM3914 Display Driver chip as well, it may simplify the details.
I strongly encourage using the MIDI library, it's not particularly fun to try and deal with the corner cases and vagaries of MIDI implementation differences yourself. |
|
Back to top
|
|
|
supercollider
Joined: Oct 08, 2013 Posts: 2 Location: Berlin
|
Posted: Wed Oct 09, 2013 1:26 am Post subject:
|
|
|
Wow, this is great. Thanks very much!
I am reasonably familiar with shifters, but will definitly read up on the page you posted.
The machine will be USB, for sure. It will be for connecting to a computer. If during development I decide I want to use both, do you think that would be viable?
I would much rather make it native, I do not mind reading up on a bit of Arduino programming, but like I say, I have no experience with it, can you point me in the direection of good arduino books for beginners / intermediates?
Regarding Vu meters, They should respond to a CC message, rather than actual audio for sure.
I'll go dig around the arduino playground!
Thanks again, and a recommendation of books would be great |
|
Back to top
|
|
|
elmegil
Joined: Mar 20, 2012 Posts: 2177 Location: Chicago
Audio files: 16
|
Posted: Wed Oct 09, 2013 5:31 am Post subject:
|
|
|
You might check out Teensy as well. I've seen it used commonly when USB interfaces are desired, and it is somewhat compatible with the Arduino environment (I think it requires a plugin). It doesn't work with shields because it's more on the form factor of a nano, but I'd say it's worth a look. |
|
Back to top
|
|
|
capicoso
Joined: Nov 19, 2012 Posts: 128 Location: Argentina
|
Posted: Wed Oct 09, 2013 5:49 am Post subject:
|
|
|
I think the arduino learning tutorials are enough, go one by one, understand them, modify them. There's the Arduino cookbook too, and other one written by Massimo Banzi...
Understand how it works, the functions, for(), if(), while(), millis(), arrays... etc
I'm not sure if you can have both DIN 5 and USB interface... i suppose you can... |
|
Back to top
|
|
|
|