[chuck] adc problems, assertion failed

Ge Wang gewang at CS.Princeton.EDU
Tue Sep 14 01:55:35 EDT 2004


> adc => dac;
> while(true) 100::ms => now;
>
> the shred will stop but the mic input will not, until I kill chuck:

Ah, yes.  Thank you for finding this.  I will enter this into our
bug tracker.  The assertion fail has been fixed shortly after
1.1.4.8, but the persisting adc => dac is still there.  It is due
the shred-specific ugen reference counting.  since adc is
global, when the shred leaves, the adc connection does
not.  In the current rewrite of the type system to include
objects/array/event, we are going to fully address this issue.
In the meantime, we will synthesize a work-around... Heh.

A pre-work-around is to do the following hack:

     adc => gain g => dac;

removing the shred will disconnect g, effectively but very
inelegantly disconnecting adc from dac.  Also, the assertion
correction is in CVS - you can also email me for a tarball.

Thank you once again for bring this up.  Fix on the way.

Best,
Ge!



More information about the chuck mailing list