Hi Frank, I studied your patch and I substituted the [delay] with [pipe], but, honestly, I wasn't able to find anything wrong there! I also checked by comparing one of the delay-based metros and a proper [metro] of the same speed with timer and they run at the same speed. (see my attached patch). Am I missing something?
Thanks,
Libero
Date: Thu, 27 Dec 2007 18:49:10 +0100 From: Frank Barknecht fbar@footils.org Subject: Re: [PD] complex metronomes sequencing problem (Frank Barknecht) To: pd-list@iem.at Message-ID: 20071227174910.GB19623@fliwatut.scifi Content-Type: text/plain; charset=us-ascii
Hallo, Frank Barknecht hat gesagt: // Frank Barknecht wrote:
Maybe you can just make one of the delay-sequencers your master metro, and encode the periods of the other delays as difference values to the period of the master.
Example: You have one master metro at 100. Then you want one metro/delay A run at 101, another one, B, at 102. For the first bang, delay A will come 1msec late, so its delay will be 1msec. The next time, A bangs, it will come 2 msec late, and so on, so A will be n times 1msec late, modulo 101. For metro/delay B this will be (n*2msec) % 102.
Attached is an example for this re-encoding in action. You can use the master position number box in the to left to jump to a certain position. (This is not really a IOI approach anymore, though.)
Ah, sorry. The math and attachement are wrong here, as the metro will interrupt the scheduled bangs in the delays everytime it bangs. I don't have time for a fix ATM, but maybe you find one on your own. ;)
Frank Barknecht _ ______footils.org__