Beginner: Could someone tell me what this means?

cnam's icon

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!

5180.DrumMachine2.png
png
Nat's icon

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)

Oli Mason's icon

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

Max Patch
Copy patch and select New From Clipboard in Max.

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

Floating Point's icon

you may want to refer to your previous post:

(rather than double posting)