Thanks a lot, this works. I just put this counter in a separate [block~ 2] window and increment a counter. So simple!
On 9/26/06, Kyle Klipowicz kyleklip@gmail.com wrote:
you could try using a bang~ object instead of a metro, and then filtering it with a modulus counter.
[bang~] | [f 0]X[+ 1] [% 12] (or whichever number suits you) | [sel 0]
~Kyle
On 9/26/06, martin.peach@sympatico.ca martin.peach@sympatico.ca wrote:
De: "Chuckk Hubbard" badmuthahubbard@gmail.com Date: 2006/09/26 mar. PM 02:43:29 GMT-04:00 À: "Pure Data List" pd-list@iem.at Objet: [Pd] What's wrong with my oscilloscope?
For some reason the phase is almost always off. Often it will draw the correct phase, then replace it with a wrong one.
It's supposed to be able to either be forced to the correct window size for the frequency, or not.If "RESIZE TO FREQUENCY?" is checked, then changing the frequency should resize the graph.
I'm thinking the problem is in one of the triggers screwing up the message order. It would make sense that there will be some rounding errors with window size, but that should make the phase change slowly, not jump to the wrong place.
I think it's the metro that doesn't sync exactly. Over time the moetro frequency is very accurate but there is always some jitter because pd has to compute the control signals in between audio packets, so a metro will always tick before or after the audio block is processed.
Martin
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
--
http://theradioproject.com http://perhapsidid.blogspot.com
(((())))(()()((((((((()())))()(((((((())()()())()))) (())))))(()))))))))))))(((((((((((()()))))))))((()))) ))(((((((((((())))())))))))))))))))__________ _____())))))(((((((((((((()))))))))))_______ ((((((())))))))))))((((((((000)))oOOOOOO