Forums > MaxMSP

Beginner needing help.


October 16, 2012 | 4:44 am

I am fairly new to using MAX and am looking for a little help. I want to create an installation that incorporates LEDs that change (either color or dim or something) based on movement or sound. I need help determining which objects I would use and would greatly appreciate if anyone could direct me to some sample patches that work with LEDs. Also any suggestions for better use(s) of LEDs?

kind regards,
overwhelmed newbie

October 16, 2012 | 5:11 am

You’ll probably get better results if you’re a good deal more specific about what it is you precisely want to do. Better questions will almost always get you better answers here. Once you have a clearer idea of what it is you want, break it down into smaller pieces – that’s what you’ll be doing when you do the problem solving later on, so it’s best to get started now. :-)

October 16, 2012 | 6:37 am

I guess I am still a little unsure of what i want the final result to be. So far i envision an interactive sculpture that incorporates LEDs in it. I would like the lights to move around the piece, change color and brightness depending on the proximity of the viewer. I was thinking i could use a web cam to capture the image and somehow (within MAX?) translate that image into data that the program could use and relay to the lights? Again i am super new to this program and have limited knowledge of programming/ engineering etc.

I have been reading some about arduino boards and think i would like to use one. Which would be appropriate to use for a project like this? I have seen similar projects that use the UNO. Will i need a DMX controller or is it possible to get the same results within MAX?

October 16, 2012 | 2:55 pm

I think the best way to approach this is to first search here using relevant keywords: DMX; controlling LEDs; Arduino; motion tracking; webcam, etc. Then have a rummage around youtube etc using the same keywords. You can then judge whether this idea is achievable with your existing skills. It is very doable in Max, using either Arduino or DMX, but you need to establish what your interaction model and tools will be.

Brendan

October 17, 2012 | 3:38 pm

In case it can help, Doepfer makes some affordable PCBs for converting MIDI data [from Max, for example] into analogue gates (on/off switches) or continuous analogue voltages:
http://www.doepfer.de/mtc.htm
http://www.doepfer.de/MTV16.htm

Of course, MIDI data resolution and time resolution is often too low, but it depends on what you want to do actually.

Regards

March 22, 2015 | 5:48 am

Hi,
I wanted to know how can I stop a button from sending out bangs. I have created a metro, which is connected to a button. The metro itself starts counting with a bang message. But the second button doesn’t stop sending bangs. So the order of the objects are so: Button—>Metro–>Button
I did try sending a reset, stop, 0 message to the second button but it doesn’t work.

March 22, 2015 | 7:56 am

Hi
a few things I don’t understand: why you posted this question in a two and a half year old thread; and why the second button connected to the metro, if you DON’T want bangs?

The metro object will output regular ticks, causing the bang to activate repeatedly until you stop the metronome – this is the purpose of metro and that is the purpose of bang.

What is it exactly that you want to achieve?

Brendan

March 22, 2015 | 10:40 am

Well, the answer to the first question is, that i simply didn’t realise this is an old thread. To the problem:
I needed to get bangs with a special sequence to get a counter object going. So that part of the patch was : Button–>Metro–>Button–> Counter object… ( I didn’t know any better way. Without the metro I had to keep clicking on the button in order to send bang. But still I wanted the metro to stop some day ). As u said too I solved the problem by simply sending a 0,stop,… message to the metro. Thanks anyways

Nava

March 22, 2015 | 10:53 am

Ok, cool. Glad you solved it.

This kind of thing?

– Pasted Max Patch, click to expand. –

Brendan

March 22, 2015 | 3:10 pm

Yes exactly. (The counter in my patch is actually a float counter i’ve written, but it does the same so thanks)

Viewing 10 posts - 1 through 10 (of 10 total)

Forums > MaxMSP