[PD] metro default arg

IOhannes m zmoelnig zmoelnig at iem.at
Wed Apr 28 13:34:32 CEST 2010


On 2010-04-28 13:19, colet.patrice at free.fr wrote:
> what about setting metro default argument to same as delay? 
> 
> just for awkward windows users like me 
> 
> $ diff -uw x_time.c.old x_time.c 
> --- x_time.c.old 2010-04-28 11:16:06 +0000 
> +++ x_time.c 2010-04-28 11:16:30 +0000 
> @@ -107,7 +107,7 @@ 
> 
> static void metro_ft1(t_metro *x, t_floatarg g) 
> { 
> - if (g < 1) g = 1; 
> + if (g < 1) g = 20; 
> x->x_deltime = g; 
> } 
> 

but this does not only effect the default the arg, but also any time set
through the right inlet.
so if you decrease the metro time with a ramp from 100ms to 0.1ms, it
will suddenly jump (..., 1.02, 1.01, 1.00, 20.00, 20.00, ...) which i
think worse than saturating at "1".

i'm not opposed to raising the "default", but it should only affect the
arguments.

fgmasdr
IOhannes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3636 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100428/7bed2b9d/attachment.bin>


More information about the Pd-list mailing list