Forums > MaxMSP

grain interonset utility; not perfect yet

May 2, 2012 | 10:55 am

Hi
in my eternally-evolving granulator, I am using a central phasor to drive everything; it’s working sweetly. I would now like to add the parameter control "grain interonset time", whereby the central phasor is "muted" for whole number multiple of it’s own period, ie stop for 1 cycle or stop for 2 cycles. Using the [rate~] object, with an argument of 2 does this very nicely, but when I change the rate argument (to 4, eg) via it’s right inlet I lose sync – the on/off signal occurs mid-ramp randomly. I’ve tried using [sah~] in various places but to no avail. Also, on the rare occasion when I fluke the sync, with a rate argument of 4 for example, I get two on two off, where I would prefer ONE on two off. The small annotated and simple patch below describes it better:

– Pasted Max Patch, click to expand. –

Brendan


May 2, 2012 | 11:12 am

partially solved, with a [sah~ 0.01] in the correct place;

missing element = allow only ONE phasor ramp through, regardless of rate argument:

thanks for looking

– Pasted Max Patch, click to expand. –

Brendan


May 2, 2012 | 11:38 pm

A phasor ramp is [*~] by it’s own output, [via rate~ 2] –> [>~ 0.5].

This ‘silences’ the phasor for 100% of one period. Perfect, just what I want.

If I make [rate~ 4] –> [>~ 0.75], phasor is silent for 200% of one period. Again, perfect and just as I intend. My question now is how can I relate the two variables ([rate] argument and [>] argument) while keeping the sync lock I now have?

tata
Brendan

ps; 3 posts by 1 person, sad boy :(


May 3, 2012 | 12:26 am

Company I can accept too :)


May 3, 2012 | 8:10 pm

Right
that’s it; we’re through. Over. Finished. Beendet.

We never talk anymore; despite my commitment to this relationship it’s never about me, always about you, and I’m sick of being ignored. I’ve found someone else who understands my needs, and, well there’s no way of saying this gently but, I’m leaving you.

*SLAM*


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