Beginner needing help.
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?
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. :-)
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?
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.
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:
Of course, MIDI data resolution and time resolution is often too low, but it depends on what you want to do actually.
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.
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?
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
Ok, cool. Glad you solved it.
This kind of thing?
-- Pasted Max Patch, click to expand. --Copy all of the following text. Then, in Max, select New From Clipboard.----------begin_max5_patcher---------- 854.3oc0YssbaBCD8YmYx+.CuV2Lrh68s9czoSFYihix.RLfbpSyz+8pKfsS BIHS4RyCVLZQV5niVs5rhmu9pUta3GH0tNey4GNqV8rzxJsMkkUsFV4VfOrM GWqan6VdQAgIbW27RA4fP+hZAuzAemfT4.dNavrc0Gazcblnl9ahpg.5Fui1 q1sQYy6LSxlxvE5l598JJN+XuPyzF4ad3qAAGsx1WPY4DgFdPq0RrX68T1ta qHaElYHxGjCiieh9ADpFTGjrz4mm0W78h1NySa8OWek5o7wZqIIF4WRT1AGQ xkjS+zhcbfe2b.p0pYpHdpjXH.W0hh6ZGW2Sy3N3IHN4LdJvuOZBM5zzWbfw hi7tTNhJ8s+P5IRSHgPpljP2D9wrCLX1ofTWi2QdK8LVNP9wWJ4ziiS.R6wj DdhZfjofZdOGms78LS.nwhhB6lhB+P+G0VrleV5N0vYw8tYKXvblfuaW9Iuo Rbkb1KIqaIL7lbM785fAPo8Docn6fPo5G9dskiuaxl8BAm045p2kNqzwNsYk zKROgBaK+LFX.F2.CMK3QwKUbAoidE2IzazHnfAczqEjjej9v2nv9BD.Sh3j whfPASi1DDRGtH0r6JZ5jl7txbqH0DwzIrEhFfv1.Mo.n.c.nnoSW66GPEBF +.pMK1MyKTRa43ukvljZBcpIa4rrILqF.c4K9PrVzEBEO4Y0LPEDf2DofHbA EPjLU5GfTzmd8CQSh7gES8PFIG+jR8vnk493qdnILPi2ST57KefyHJXNZotO 3a2vdxJT6RYjkNu2vwXKHElJ8n.Zf5QMsyMmxdyMLpGL0KdEyUy2WssEfs2v kyYiXFoVPYXAUFS9TqTYqbdqtmlkQXu3znLZs5DprdN+ydf4YCvdM7mAfotu BK.l2x.LTuKkwyOvhsxGSAe+4EXdVCrYlwBrBXyuOl5ppr.XAyOiA1.rWC+Y .XQ1fKXAVIsxECl+URvpMknE.X1soT1HXdOozFXE0KcUPyJ4xzBajR.If96t .luTUf9KU8xZlJwcjtvx3SL+hTrJnSx+mvZATNYkvo+IX0HIFWV9HoptomMH Rl0vC7JU8n0l5Tlot4FEbqHORa+KoFS3JojcgTu99JS1AGRhbkuQOfxh+5Wl wqL -----------end_max5_patcher-----------
- This reply was modified 2 years by brendan mccloskey.
Yes exactly. (The counter in my patch is actually a float counter i’ve written, but it does the same so thanks)
Forums > MaxMSP