Beginner: Could someone tell me what this means?

Mar 13, 2013 at 6:27pm

Beginner: Could someone tell me what this means?

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
#67064
Mar 13, 2013 at 6:48pm

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)

#241364
Mar 13, 2013 at 9:48pm

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. –
#241365
Mar 13, 2013 at 9:49pm

you may want to refer to your previous post:

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

(rather than double posting)

#241366

You must be logged in to reply to this topic.