Forums > MaxMSP

Help me understand this patch?

Mar 11 2013 | 12:37 pm

Hello all,

I am a beginner and am trying to make sense of a patch and I was wondering if you might be able to help.
I am confused as to what it all means (the replace $1, buffer~ sample1, info~ sample 1, float, message arguments….)
If you have the time I would love to begin to under stand it.



  1. draganddrop.png


Mar 11 2013 | 1:18 pm

Think of a buffer as a piece of space allocated in your computer’s memory– using the replace message you can replace the *contents* of the space with something else (ie the data from another sound file). You can access the information about the contents of the buffer (such as how many channels, sample rate, number of frames etc) using the info object. By accessing the appropriate information you can then play back the buffer contents using signal generators such as line~.

Further details are in various tutorial files and relevant help files for each object

Mar 18 2013 | 7:58 pm

Hello again,

with this patch I would like to have multiple drum modules running at the same time.
I have a metro sending out to different counters and am not sure how to make the modules all run in sync.
If there are any suggestions on how to build this more efficiently I would definitely appreciate any feedback.

Essentially, I would like to be able to drag and drop any drum sample into this patch. I would four versions of this patch in one master patcher giving more options for samples and drum beats. I’m not sure if this is making any sense. Again, I’m a beginner and have been labouring at this project for quite some time.

Any help would be so great!

-- Pasted Max Patch, click to expand. --

Mar 18 2013 | 11:12 pm


Mar 18 2013 | 11:16 pm

So to get it running in sync you just need to use the same clock. Max does have its own transport which makes that very easy – look up the transport object.

Here is another way of making a basic step sequencer, press preset 1:

-- Pasted Max Patch, click to expand. --

When I started out using Max I did exactly the same thing as you and used lots of objects, one for everything. It’s often not necessary – as in this example the same objects can be used for each step, you just need to find a way of storing and retrieving the data, in this case with multislider.

Hope that helps.

ps. This is a small but helpful community, 3 hours isn’t very long to wait for an answer!

Mar 18 2013 | 11:22 pm

Thank you so much. You are right. This has been an incredibly helpful community. I will in future show more patience.
Thank you for the reminder Mark.

Mar 19 2013 | 12:53 am

I really like the drag and drop feature of the patch I made.
I’m still not understanding how to sync the modules. I feel confused by how to connect my patch to the transport object.

Thanks again for any suggestions.

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

Forums > MaxMSP