[PD-dev] using ugen_getsortno() in an external
Hans-Christoph Steiner
hans at eds.org
Fri Jun 23 09:03:15 CEST 2006
On Jun 22, 2006, at 11:57 PM, geiger wrote:
>
> On Thu, 22 Jun 2006, Hans-Christoph Steiner wrote:
>> So it sounds like ugen_getsortno() is what I need for my idea to have
>> the first executed instance of an [hid] get the data from the OS
>> while the rest just output from an array. But ugen_getsortno() is
>> only declared in d_delay.c. Are there any externals that have used
>> ugen_getsortno() before? Is there any change of this becoming an
>> external function, even in the alpha s_stuff.h sense?
>
> I haven't looked at the code, but from the name it seems that
> ugen_getsortno() only applies to the dsp graph, not to general
> message objects.
>
> You could implement your idea by having a global flag that shows
> you which instance has been executed first
How would that flag get reset with each DSP cycle?
.hc
------------------------------------------------------------------------
Man has survived hitherto because he was too ignorant to know how to
realize his wishes. Now that he can realize them, he must either
change them, or perish. -William Carlos Williams
More information about the Pd-dev
mailing list