Generation of Triplets in a generative style music

MD Drummer's icon

Hi Guys,

I am new to Max/Msp so bear with me if it is a beginner question. I am taking inputs as bangs, from which i am trying to make a generative patterns on snare from the input bangs. But my problem is on how to make make an algorithm which is musical instead of randomly playing something. I also want to be able to generate triplets on the snare which is the second question I have. Could you guys guide me to do this in the correct way.

Thanks in Advance!!

MD Drummer's icon

Guys can any one help me out with the problem????

nouserid's icon

I'm sorry if this is a bit confusing but this is one way that I like to make generative patterns. I don't know what you consider musical so you'll have to tweak the way the patterns are generated to fit your taste. Let me know if there's anything specific in here that's confusing and I'll try my best to explain it.

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

MD Drummer's icon

Thank you for the reply Kyle Wells, but can you briefly explain what is being done in the patch???

nouserid's icon

Ok, I'll try but I'm not the best at explaining things. The two important objects to pay attention to here would be seq~ and dict. I'd read the help files on those two objects first to get a good understanding of what they're up to. In this patch you basically just send a list of numbers in to the dict that correspond to the points of a phasor~ that you want a message to be triggered at. So, sending a 1 to the dict would cause it to output a 0., which would then be formatted with "prepend add 0" and "append 1" and then sent to seq~, which would then cause seq~ to output a "1" on beat one of a bar. I worry that what I've just written isn't helpful in the slightest, if that's the case then I do apologize. Really, once you understand dict and seq~ it's pretty straight forward. The help files await you!

nouserid's icon

Also, I'm surprised that nobody else has jumped in with a more straight forward solution for you. Anyone?

daddymax's icon

If you set the main tempo using phasors, then pass them through the %~ 1 object, all you need to do is amplify the signal to get faster divisions. IE a phasor playing a basic 4 beat, if you amp it up *~ 3 , then stick it through a %~1 , it will play three times in the time of one beat. Then all you need to do is set the multiplication factor to get any divisions you want. Just rig this up, then look up how to turn a phasor pulse into bangs.

leafcutter's icon

This is a really simple way to do it using quantised metros. Cycling should have something like this in the help for the metro object really....

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