Reset cycle~ Phase with bang?

Oct 25, 2009 at 7:44pm

Reset cycle~ Phase with bang?

Hi,
I am synthesizing a bell tone that has some slight modulation on the fundamental. I have amp modulated the tone with a cycle~ object. The only problem is that when I trigger the bell tone using a bang the modulated cycle could be anywhere in it’s waveform. Therefore the hits are not consistent. How do I reset the phase of the cycle on each bang?

Thanks in advance, Mike.

#46061
Oct 25, 2009 at 7:52pm

is this what you want to do?

– Pasted Max Patch, click to expand. –
#165909
Oct 25, 2009 at 7:56pm

Hi,
Thanks for the reply. Sending a 0. into the phase input doesn’t seem to work for me. I have tried a float into sig~ and into phase as well and it still doesn’t reset.

Thanks,Mike.

#165910
Oct 25, 2009 at 8:01pm

You can use a phasor~ to drive the phase inlet of cycle~ and then reset phasor with a [button] > [ trigger 0]. Then you just send the desired frequency to phasor~ instead of cycle~.

like so:

– Pasted Max Patch, click to expand. –
#165911
Oct 25, 2009 at 8:03pm

I see…

Maybe you could post a small patch with what you want to do
and indicate the problem specifically.

Cheers!

#165912
Oct 25, 2009 at 8:21pm

Excellent. The phasor reset works. Thanks for the help guys.

Mike.

#165913

You must be logged in to reply to this topic.