Forums > MaxMSP

Bouncing Ball

February 3, 2009 | 10:55 am

I’m very new to Max/MSP, and have a hard time with the learning curve, but when I get inspired by something I tend to go a little overboard. Today’s episode was brought on by http://www.youtube.com/watch?v=qt6RVrmvh-o < - this video. I decided that I could probably build something similar in Max, and this is what I came up with.

I ran into a similar problem that he did with sensitivity, I’d like to go beyond the ms clock, but I’m not sure how to translate my messages into signals quite yet. This is only my second (functioning) max patch, and I’m pretty proud of it. The fun part is where you can actually see me going insane building from left to right.

The three variables are in the upper left corner, and the "scope" is adjustable… space launches the ball and Q resets it.

———-begin_max5_patcher———-
4932.3oc6c01aqabr9y97qf0HE31Sbb12eo.2ObQ+OzuTbQ.sMONpQVxPR9j
SZQyu8JtyRYRYxcGJRslTNHIVYojnl8gyNusyL6+9SWc8cq+Vw1qy9qY+irq
t5e+oqtxcoxKbke7UW+T92teY9V2G65mJ1tM+whquAducEeam65TR0kdNe28
+7hUO9SaJteGbq0D5sjaxDt+xY2JuIiZtkj8+6+JKdvcOVe2+7GLhp6yWVuZ
2p7mJbu0+2lE4Kqdm0uraYwtc+1yEvs+5qObmJ+RaW7ubuAks+mCt7pWdZwp
8eG2bf85Eg6j6pzxK9e9zmJ+yMCDLjAvBog3PAabrPSu.vBxsl.nAWIcbF53
ngPdAfF7PKS3DGLHIwAC9k.XPUA.ClfiELd89LC.iUE+5dZ9MXwx04ObW9pG
iiHL2JFkCWXjNPjSQJp6muWnB8biJeeVn0KFsxAB00qzEhnIm.hrX0t2K1jh
+0C42+6Al7TPmJk5jYHjU+sU1gCJRPPsjw6w2yYqVuXaQHKCbOAUR2KBaHdZ
c7GfmNOKoNIVrwOU8y0823EKK9ZwlsKVup183pqq83v8.fCSAtDr2obZUMU1
CgOtb88+RwC098t55GJ9RutIqetX0qeAmPfF+o4mbwpm2TrsX0t7cdRu9Ob9
KK28SsiYMe+ujeeQme4VeTb00OtYwCqWURDM9lkWt5mqZBSk0oa2mXU9ys7k
2sd8x6x270EaWb2xhFOI1yeluZwS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7zdyI49lB.
XggazPoVLNSvSaLxwgfoUdr.yB7Dm4FBNVbJcQBGSPUJaig8gjpL3WCZgf85
vMZnDq4b3GHGNPU7V5qk0pGB+nCc.EXdYG9xXIlkwhDuomX7xVl1kLteNJFb
pO5oqTd.A7AN+zaejud+UC2aDIEqByo1S7SS0Gi4atv1CiF5peLlbHSbhvhp
lrHm3Nr2HfjMFQ8kUDH6xMZnn64XetGCzMpTxztSUn3BUzSZMijaq44fazPs
RGi9cUZSgNIpxqR1SY5d4LPr74bYsC.qggfLrTaB88RhMkJR3SUTzTZ2kCba
FaZsxRgJcXRqc.JK1mc8wYdC3zKrya9UjtQIHxCZVe2gcRsbEfaEGFMzjXlL
8pdGlb500aXpoW2AhhJIPSbgxfYoJKwFAiYGBjIMGmPSRILEmPknyIN4VwvM
Y0Sv1JyosIjf3cMraBMGwfLeWaMsLBN0iMTYKiz5zjgH8NQsqRCF8q4oscLR
XeToOXZ4iQ0ZTzocCRzDj7whSjj1O3+7o+Kv65JIF
———–end_max5_patcher———–


October 27, 2009 | 5:59 pm

Hey i was really interested to see your patch but the code you wrote doesnt seem to open in max……do you still have it?



dB
November 15, 2009 | 9:00 am

Wanted to thank you for this patch! I heavily modified it for use with Max For Live. I gave you credit where credit is due. This was my first full Max patch and was one I was trying to create (with little success). I think this is only valid for M4L, though. If I create a video, I will upload it.


November 15, 2009 | 12:18 pm

cool… what is an amxd file; pc version or something…?



dB
November 15, 2009 | 8:46 pm

An axmd file is the instrument file for Max For Live. Here is the compressed version. You may need Max For Live to run it though as it uses some buttons from the Max For Live library.

– Pasted Max Patch, click to expand. –

November 15, 2009 | 11:17 pm

Radness! Thanks for sharing this patch, I’m learning a lot from it.


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