relate phasor~ to rate~ to muting signal

Feb 16, 2013 at 10:31pm

relate phasor~ to rate~ to muting signal

Hi
in my frustration at having zero/zilch/nada/kein/rien programming chops, I have returned to MSP (and turned my back on gen – for now) to achieve the following: a mutable phasor.

I’ve used rate~ and < ~0.5 as the muting source but cannot identify the relationship between the rate multiplier and the mute duration - I'm trying to ensure that the silence is a function of the window duration. If that makes absolutely no sense then the patch below is very succinct and clear (I hope)


----------begin_max5_patcher----------
1966.3ocya1rbaaCD.9ryL8c.UGRaSUTI9i+jwoyzCsyjKsO.0cx.QBIwXJP
URJq3jo9YuK.nrksorfiEg3EQI.PhEeXwhcWP80u6UmMZZ4mk0iPuC82nyN6
qPImYJSWxYaK3rQKEeNsPTaZ3HkbS4zOMZbacMxO2XJunTjMUnleaM4YlxgF
+VN61RUqWlqJjMlGFdaoyJUM04eQZJjLIXmVWtt4QMeknIcQtZ9GqjoMVwmg
wvsgvAI5KgA5OIvmn+Y6MYePMWuRZuiQFo8t50xfRrzT6neqJWTLxTy+8cuR
eEtL1YHkVtboT07XJMuTT7tKTWn1rPzf9.ZS45hLTQ9kRTSIJqDkWipyKjpT
nfERzlbUV4FjnFIPyVqRaxKUnxYn7lZzrJ4+tFZ40iQ0knkqajH4UxpqQkvc
V0dqiQkUOttlMks0WijMovCXc5BnCAYpTUbM5u9yeeaWOGfOTSU454KFCE1r
.Dk00xp2dk.fzzBIJKutQnk3oxlMRoBIEvSCdjox557q1NJzCaQsYXMuRjq1
1CvPNSVAsKCFRkKMMX0BQcY0XfPMKz8bCLhag0TXnHpuVyKy3xH0sOpqxEla
uRzHuAITYnyuIXBGAJgflRsVBVH.AZNzaJz5UvnEFfpaz.9C.3WtBF7Ykpen
AYZm9YMUjd4bX3COr5KyKJ.vCHM+tI2hbkLEp2LCi4co+Suswqpj0flgPOQt
i5aT.cBeLxn7Fz9wcplujEMAOwhlDdftWiXlUKQwlKX5tccGqJtspp4SM8vj
fi+BkkhlE0nMRwkJPIpSiJjCA03Hhd3goD+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sXG7rD6CksWX5gExsmPkMOKju8csZmIuM+38gh8
dV8evSTllXmVB77q9PaVNoV2RsgTOPsYrGzF6MiFz3gMi1alkh7FhZiTavt0
SZYcmlsB6837aITab91zsLDIDDtyLY0Mn5x0UoRT5BYU4kR4DQ9rNeAj7vg9
Yx1tcGaL2Ev8LRB0QmeqJDWukdcdtw95TRaMWEk3tl1ogX+r9nP69T970g7Q
RLThEOf29i2IhHdCQbChhGrHx99bCAo1Imvd67hsAwGg6GNYaq4fPe3+pBiL
oq3Azq0VjsK29ek.sibkIqaxUFOR2oU57draqVjmkIU2yC6r7ZsW2FJ+DGTl
yBlNQBNHXLuKXLlyBF1uDyIAi3+oR8a6sCBVj+mJAW8PgGRvdn36KAK5fBVf
+EL58Uq6VvLh+IfXGTGS+lGeJDL7PUvHCUAidPAK4zHXrgpfwGfB1CsPMbr7
mLTEr3gpfQcRv7+dkD2lJ8ucLrSBF1+Sk3Apbo+GY3nf4WOqINQrGJ99PvbJ
HIl+CRh5Fwn9WvbhXDuqh4lbQOAyjNYEi5eqET2hCentej+mIItALp+Muxcl
X3g2FkD9vbCb+GCN1MWD8uQe27olLLmGICSbgoCT8qD+alvonb0uDOCWAyuy
jtEYj+SuoSJXmfibvU8d+JVN4xp+i61oLA6e+UIN4G8KRrZOPPwpUWIqpaex
VIZzRwmruW0gis+NWY+s8IOpRdU91aIBJw7TgO9e.sixTXB
-----------end_max5_patcher-----------

Brendan

#66420
Feb 17, 2013 at 10:19am

Here’s how to do it with [rate~].
I also added a version without [rate~].

– Pasted Max Patch, click to expand. –
#239107
Feb 17, 2013 at 10:52am

Dave mate
thanks a million. It shows how much I know, the non-rate version is more appealing and straightforward!

On reflection (and apologies for wasting your time), it looks like I’ll be forced to take the gen~ route after all; for various reasons, which all of my recent posts disclose – phase modulation and phase-offsetting. I owe this forum a MAJOR project/tool to compensate for everyone’s indulgence, and very soon I’ll have “yafg” for everyone to enjoy….

But your patch will give me a good fall back position:)
Thanks again
Brendan

#239108
Feb 17, 2013 at 11:01am

Well, the rate~ object has the sync lock message, which is an advantage.
You want to alter the phasor ramp to drive a granulator, right? I’m curious what you will come up with.

#239109
Feb 17, 2013 at 11:13am

I’ve been working away at this for some time now, with limited DSPaudio chops, harassing the f*ck out of the forum, and essentially I’m trying to realize a granular playback/synthesis tool, a stripped-back but different version of Robert Henke’s granulator. No FM or filters, but with added phase-modulation, interonset control and a little stereo allpass filtering. I want to minimize the metallic AM formants we get from really small grains.The best results so far involve 4 overlapping windows with phase modulation around 0.25 and 0.75 offset, 0. and 0.5 being fixed. I currently have several patches all which have one good thing and one bad thing – mainly a result of timing conflicts generating either spikes or unexpected pitch variations.

I’m getting there……

thanks again, now to roll up my sleeves and assume the gen~ position,
Brendan

#239110
Feb 17, 2013 at 3:18pm

perhaps you can offer some gen skills:

– Pasted Max Patch, click to expand. –

Brendan

double post?
guilty.

mitigating circumstances?
yes, complete and utter frustration.

#239111
Feb 17, 2013 at 8:06pm

I can’t help you with that. I have never used gen~. I should start sometime though.

#239112
Feb 17, 2013 at 8:09pm

me neither mate LOL, that’s why I’m in this mess!

Cheers
Brendan

#239113

You must be logged in to reply to this topic.