Re: Weirdness w/1st Control Bus

[email protected]
Newsgroups gmane.comp.audio.supercollider.user
Message-ID <[email protected]>
I can confirm this! I'm on Windows 7, SC 3.11.2.

However, this seems to be only a bug with Poll. SendTrig, for example,
reports the correct value.

Quick reproducer:

c = Bus(\control, 0, 1);

c.set(0.5);

{ Poll.kr(1, In.kr(c), "c", 0) }.play;

OSCFunc.trace(true);

---

Note that the bad value is also included in the trigger message. Also,
the bad value is always the same, even when rebooting the Server.
However, mine (1.02799e-05) different from yours (2.05597e-05).

I can't see anything wrong with the code for Poll, neither in the SC
class nor in the actual UGen. This is really puzzling!

Christof

On 06.03.2021 22:55, [email protected] wrote:
> Hi List,
>
> I've found that when I set the first instantiated control bus (with
> index number 0) to an arbitrary value and then poll an In.kr at the
> same index number, it returns the value once, and then will only
> return what looks like roughly the value * 2e-5 (e.g. for 1, it will
> return a single 1 and then 2.05597e-05 forever after).  Control buses
> with index numbers 1 and higher return their assigned value forever as
> I would expect.
>
> The other wrinkle is that if I poll some control bus and then poll the
> control bus @ index 0, the index 0 control bus returns the value from
> the other control bus once and then that value * 2e-5.
>
> Not sure if this is an SC bug or something on my end, but if anyone
> knows what's up I'd really appreciate the help!  I'm on windows 10, SC
> 3.11.2 with no quarks or extensions.
>
> Thanks so much,
>
> Paris
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.