What's wrong with my patch

May 14, 2012 at 1:09pm

What's wrong with my patch

I’ve made a screen that randomly-ish generates white lines on a black screen – it works if I trigger it with a bang, but not if I trigger the very same bang from a metro object. Why?

The patch uses (uzi) to fill the screen – is it some sort of scheduling problem?

Any help would be much appreciated.

Liam

#63584
May 14, 2012 at 1:52pm

You need to set an initial value for your metro (and you should probably use a qmetro, as well). You’re overflowing the scheduler (614400 bangs for each bang into the fills_and_lines subpatcher). Consider refactoring your patcher, too — you only need 1 set of Uzis, reducing your total number of bangs generated to 76800.

jb

#229184
May 14, 2012 at 2:02pm

It works with qmetro (the intial value was intentionally left out, btw).

Your right about the number of bangs – I probably do only need 1 set of Uzis.

thanks for the reply

Liam

#229185

You must be logged in to reply to this topic.