Forums > MaxMSP

Beginner: Could someone tell me what this means?

March 13, 2013 | 6:27 pm

Hello,

if anyone has the time, I would greatly appreciate help in understanding what this portion of a patch is doing.
I'm not sure what the replace$ is functioning as and how that relates to the float and the argument patch below it.
I am trying to incorporate this drag and drop function into a simple drum machine that I'm building and would really love to understand the function of this in order to fashion it to make sense in my patch.

I appreciate it!

[attachment=217620,5180]

Attachments:
  1. DrumMachine2.png


Nat
March 13, 2013 | 6:48 pm

The $1 in a message box means that any number you feed into the message will be appended to the message, meaning if you input 5 into the [replace $1] replace 5 will be sent to the buffer object.

When you need help it’s also a better idea to post the actual patch (Select and right-click the objects, then choose copy compressed)


March 13, 2013 | 9:48 pm

Heres a little patch to illustrate what Nat says ( i got bored watching the football :P )

(i also got confused by the $ when i started)

– Pasted Max Patch, click to expand. –

March 13, 2013 | 9:49 pm

you may want to refer to your previous post:

http://cycling74.com/forums/topic.php?id=45746

(rather than double posting)


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