# I forgot to send the reply message to the list...
-ugur-

---------- Forwarded message ----------
From: sokratesla <ugurguney@gmail.com>
Date: Jun 14, 2006 12:52 AM
Subject: Re: [PD] how to trigger bang's with a period less than 1 milisecond
To: Miller Puckette <mpuckett@imusic1.ucsd.edu>

 
# I'm attaching a patch, in which you can send messages to a metro object. Metro is used to trigger the vline~ object in order to produce a linear ramp in given period. The same period, is turned to frequency and send to a phasor~, which also produces a linear ramp, and both of them are plotted. (but I can not succeed to hold them in phase, when you change the period their phase differences changes)
# So, when the period is less then 1 miliseconds, metro continues to send bang with a period of 1 ms.
 
# Err... Why did I need such small periods of bangs, all of a sudden? I realized that phasor~ starts to skip the values 0 and 1 after increasing the frequency after some value. And I searched another ways of producing linear ramps. (Using vline~ idea comes from your patch: C06.signal.to.control.pd, there use have given metro a period of 2 ms) But I'm not sure that this is necessary. :-)
-ugur guney-
 
(((# My ultimate aim was producing a pure sinusoid at a frequency of, say at 22200 Hz, and here it as it were 150 (= 22200-22050) Hz. in order to make an example of Nyquist Theorem. I first tried to use the osc~ object but it didn't give the result I expected. (first, I have to figure out why you have used a table which includes a sinus shape which have more periods than one, in the C1.nyquist.pd) I came here from there with the intention of using a tableosc4~ instead of osc...)))

 
On 6/13/06, Miller Puckette <mpuckett@imusic1.ucsd.edu > wrote:
I think you can send 'metro' a message to make it go faster... it's just the
creation argument that's bounded below by 1 msec.  This was a bit of
crash-proofing that I probaly shouldn't have included...

cheers
Miller

On Tue, Jun 13, 2006 at 09:51:27PM +0300, sokratesla wrote:
> # Hi everybody!
> # I was fiddling with the "metro" object and realized that it can not take a
> number less than 1 as the second argument. So, I will trigger a vline~
> objects with the output of the metro to produce triangle waves. Is there any
> other object like metro, for doing this job?
> # Thanks!
> -ugur guney-

> _______________________________________________
> PD-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list