Wiring Forum
http://wiring.org.co/cgi-bin/yabb/YaBB.pl
Wiring Hardware >> Tangible computing >> Build a MIDI controller ???
http://wiring.org.co/cgi-bin/yabb/YaBB.pl?num=1207586256

Message started by julienb on 04/07/08 at 16:37:35

Title: Build a MIDI controller ???
Post by julienb on 04/07/08 at 16:37:35
Hi,

I'm a newbie here!

I plan to build a MIDI controller.

I watched around midibox.org stuff, but I guess arduino/wiring are more open, more directed to the future (OSC, etc etc)

here is a little sketch:

I need a lot of LEDs, a lot of button.

Could Wiring board natively support that?
Any ideas about making that with arduino? I mean, Do I have to use Processing (only) between hardare and my MIDI Application ? or can I use max/msp ? or even, none soft interface (C/C++ embedded?!) ??

Any informations appreciated :)


Title: Re: Build a MIDI controller ???
Post by Titus on 04/07/08 at 17:36:50
I would choose Wiring above arduino,
since wiring has way more pins and speed.
how many switches? and how many leds(RBG leds?)?

Titus

Title: Re: Build a MIDI controller ???
Post by julienb on 04/07/08 at 17:39:22
56 LEDS (rgb) + about 66 Buttons..


Title: Re: Build a MIDI controller ???
Post by Titus on 04/07/08 at 18:53:38
then you'll definetly need 2/2+ wiring boards(or 4/5+ arduino :P).
Did you take a look at a led driver? just to scale down the I/O's needed for the leds

They all need to be controlled individually?

Titus

Title: Re: Build a MIDI controller ???
Post by julienb on 04/07/08 at 18:58:01
with 2/2+, you mean "at least 2 boards ?

I didn't take a look at a led driver ; I'll look for infos about that
yes, all need to be control individually and via MIDI message (CC or NoteON/Off)
but this part can be software part, if I understood right..

Is Wiring interfaceable directly with MAX/msp? or Does it require Processing/Wiring environment?

Title: Re: Build a MIDI controller ???
Post by Titus on 04/07/08 at 19:14:56
well, if you are experienced with electronics and with programming, you could do it with 1, but it's so much easier to do with 2. Though with the led drivers and a smart electronics thing you could do it with one.

I hope someone reacts soon, more people, more ideas, quicker solutions

Titus

Title: Re: Build a MIDI controller ???
Post by Vaccumdiode2 on 04/07/08 at 19:46:01
Hello,
         Hey I'm not sure how you would do it but you could wire the LEDs a a matrix.  The programing would be a little tricky.   This my be what Titus was thinking of.  It would take you 56 out puts and turn them into 3.  You could do the same thing with the buttoms.  They do it with key boards.

    Good Luck and if I run across something I'll post it.

Vaccumdiode


Title: Re: Build a MIDI controller ???
Post by Titus on 04/07/08 at 19:59:18
that was what i was thinking of, you could even use 3 PWM as outputs then, easier for the code.

I'll give it a thought and a dream tonight,

Titus

Title: Re: Build a MIDI controller ???
Post by julienb on 04/07/08 at 21:07:10
Is Wiring interfaceable directly with MAX/msp? or Does it require Processing/Wiring environment?

Title: Re: Build a MIDI controller ???
Post by Vaccumdiode2 on 04/07/08 at 21:55:05
Hey,
         Are you going to use three color LEDs that would be 168 outputs to handle it straight to the board.  If you use three matrixes you will only use 9 out puts.  again the programing could be quite tricky.

check out the Wiring Hello matrix example...

http://www.wiring.org.co/learning/examples/hello_matrix.html

I hope this helps.

Vaccumdiode

Title: Re: Build a MIDI controller ???
Post by julienb on 04/07/08 at 22:12:02
RGB colors LEDS would be nice

I'd like to build my own matrix, not utilize an already existing matrix
because I have to build a gear with precise size..


What could be the interfacing:
-gear<--usb-->{wiring environement}<--MIDI inter application-->{My MIDI application}
-gear<--MIDI-->{wiring environement}<--MIDI inter application-->{My MIDI application}

can I build an architecture without wiring environement ?? (I mean, with embedded code)

Title: Re: Build a MIDI controller ???
Post by Vaccumdiode2 on 04/08/08 at 03:48:01
             That was the idea I was talking about.  a matrixis a way of wiring up a group of devices.  You would have to wire them yourself.  You could wire the LEDs in three matrixs and the switches as well.  Then youwould use encoder/decoder chips to send the signals to nd from the wiring board.

Vaccumdiode

Title: Re: Build a MIDI controller ???
Post by barragan on 04/08/08 at 04:40:42
Yes you can interface Wiring with MAX/msp directly.

Title: Re: Build a MIDI controller ???
Post by julienb on 04/08/08 at 09:30:09
ok
thanks a lot(again)

barragan, can I send directly midi from/to maxmsp to/from wiring board?
I guess: yes!

I hesitate between wiring and a midibox stuff... more specialized, but less open (obviously!)

Title: Re: Build a MIDI controller ???
Post by julienb on 04/11/08 at 14:33:34
did someone already do that? I mean making midi stuff with wiring

I really hesitate with a midibox...

Title: Re: Build a MIDI controller ???
Post by rux on 04/12/08 at 08:17:16
hi Julien!

u can definitely build ur midi controller with Wiring!
there will b many ways to do this and matrix for buttons and leds is the best way to go but also the harder (and more rewarding too!).
u can build ur own matrix using multiplexers to enable u to expand the number of inputs for buttons.

communication with max-msp can b done through serial (e.g. using simplemessagesystem library)
serial will also allow u for more resolution (0- 1024 as opposed to 0-127 midi) in analog inputs - sensors.

sure an 'plu n play' midi sensor box  will be easier but also doesn't have that many possibilities and it's way more expensive.
using wiring will b able to control sensors, blinkies, everything!

.r

Title: Re: Build a MIDI controller ???
Post by julienb on 04/12/08 at 08:36:19
Hi rux,

I think I'll buy the platform.
but In order to be sure that as many leds and as many buttons works in midi, I need experiencies from the other
because I cannot buy all if after the tests I discover that it doesn't work  :'(

I'll buy the wiring board and several leds etc.... because even if I won't do this project, I'm very interested by all the features this board provides...
and I use processing too, so..

thank you for your answer

Title: Re: Build a MIDI controller ???
Post by julienb on 04/16/08 at 09:30:58
I ordered  :D

Now, I would like to find stuff about midi.
any ideas? links? informations?

Wiring Forum » Powered by YaBB 2.5 AE!
YaBB Forum Software © 2000-2010. All Rights Reserved.