how to recreate subdiv without subdiv

Laurin Baumann's icon

hi,

this is just a little trick question i'm trying to figure out. I have a phasor feeding into subdiv to create subdivions within a certain time from 0-1.

how would I recreate that without the subdiv object?

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

Greg Ross's icon

Check out Philip Meyers videos on YouTube, he’s got several videos. Showing how to do it in detail. Search his name plus max msp on YouTube and they should pop up.

dequalsrxt's icon

His videos are great, I've learned a lot from them. I think this is in the video on building a euclidean sequencer. But it's nice to drop the solution in the forum as well so people don't have to dig through a bunch of videos. Anyways, phasor into multiplication - put your subdivision here - then into modulo 1.

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

double_UG's icon

function > shape~ > phasor~

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

Graham Wakefield's icon

If you are happy to dive in to gen~, you can create ramp clock multipliers/dividers there. There's both simple and more elaborate (more robust) examples of this in the Generating Sound & Organizing Time book (chapter 2), which I think Philip said is what some of his videos/RTT were inspired by.

Graham Wakefield's icon

Here's the simple-version of a clock multiplier (like subdiv~) from the GO book:

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

And here's the more elaborate version, which is more robust to different kinds of ramp changes and has more sync options:

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

Henry Murphy's icon

Just to be exhaustive, you can achieve the same function as subdiv~ by just multiplying the phasor by the desired division and send in into a pong~ in wrap mode. Works with floats > 1.

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