[chuck] adc problems, assertion failed

Michael Heuer heuermh at acm.org
Tue Sep 14 00:40:43 EDT 2004


Hello,

I'm having some problems with the chuck adc on windows.

With a simple file mic.ck:

adc => dac;
while(true) 100::ms => now;


the shred will stop but the mic input will not, until I kill chuck:


$ chuck --srate48000 --adc1 --loop &
[1] 1436

$ chuck + mic.ck
[chuck](VM): sporking incoming shred: 1...

$ chuck ^
[chuck](VM): status (now == 0h1m0s, 2902017.0 samps) ...
    [shred id]: 1  [source]: /cygdrive/f/audio/chuck/mic.ck
[spork time]: 4.61s ago

$ chuck - 1
[chuck](VM): removing shred: 1...

$ kill %1


and with the echo example (examples/echo.ck) chuck dies when you attempt
to stop the shred:

$ chuck --srate48000 --adc1 --loop &
[2] 1428

$ chuck + examples/echo.ck
[chuck](VM): sporking incoming shred: 1...

$ chuck ^
[chuck](VM): status (now == 0h0m12s, 582657.0 samps) ...
    [shred id]: 1  [source]: /cygdrive/f/audio/chuck/examples/echo.ck
[spork time]: 5.23s ago

$ chuck - 1
assertion "this->m_num_dest == 0" failed: file "chuck_ugen.cpp", line 228

$ jobs
[2]+  Aborted             (core dumped) chuck --srate48000 --adc1 --loop


This is with chuck 1.1.4.8.

   michael



More information about the chuck mailing list