Help me understand this patch?

Mar 11, 2013 at 12:37pm

Help me understand this patch?

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.

Thanks.

[attachment=217352,5165]

Attachments:
  1. draganddrop.png
#67007
Mar 11, 2013 at 1:18pm

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

#241193
Mar 18, 2013 at 7:58pm

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. –
#241194
Mar 18, 2013 at 11:12pm

Anybody?

#241195
Mar 18, 2013 at 11:16pm

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!

#241196
Mar 18, 2013 at 11:22pm

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.

#241197
Mar 19, 2013 at 12:53am

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.

#241198

You must be logged in to reply to this topic.