[chuck] Some Problems

unDEFER undefer at gmail.com
Wed May 11 12:36:56 EDT 2005


Hello, again

> Try looking in another terminal and running top with your favourite
> flags ( I like -d). You may find that these UGENs are sucking a lot of
> cpu power and that may be the culprit.

This 5 channels take 25-30% of CPU only but I get bad sound when all 5 channels begin play. For example:
---
BeeThree a => dac;
BeeThree b => dac;
BeeThree c => dac;
BeeThree d => dac;
BeeThree e => dac;
1.0 => a.noteOn;
1.0 => b.noteOn;
1.0 => c.noteOn;
2.0 => d.noteOn;
2.0 => e.noteOn;

fun void p(float freq1, float freq2, float freq3, float freq4, float freq5, dur del)
{
     freq1 => a.freq;
     freq2 => b.freq;
     freq3 => c.freq;
     freq4 => d.freq;
     freq5 => e.freq;
     del => now;
}

while (true)
{
//Here sound is normal
p(100.0, 100.0, 100.0, 0.0, 0.0, 100::ms);
p(100.0, 200.0, 100.0, 0.0, 0.0, 100::ms);
p(100.0, 300.0, 100.0, 0.0, 0.0, 100::ms);
p(100.0, 400.0, 100.0, 0.0, 0.0, 100::ms);
p(100.0, 500.0, 100.0, 0.0, 0.0, 250::ms);

//Here I hear some noises
p(100.0, 100.0, 100.0, 100.0, 500.0, 100::ms);
p(100.0, 200.0, 200.0, 250.0, 250.0, 250::ms);
p(100.0, 300.0, 300.0, 100.0, 500.0, 100::ms);
p(100.0, 400.0, 400.0, 250.0, 250.0, 250::ms);
p(100.0, 500.0, 500.0, 100.0, 500.0, 100::ms);
}
---

> Your two solutions to that problem are less fancy patches or a new
> computer... Although I have noticed that when I am experiencing
> dropouts you can writing the patch to disc using rec.ck and the sound
> file that is created does not have the dropouts. Then you can go back
> and add the sound using sndbuf.

No, 'rec.ck'/'rec2.ck' don't help me

-- 
registered Linux user #360474
Don't worry, I can read OpenOffice.org


More information about the chuck mailing list