[chuck-users] miniAudicle problems

Imre Kéri sharp732 at gmail.com
Sun Nov 19 11:30:15 EST 2006


I compiled miniAudicle on Linux a few days ago and ran into the same
issue (I think). I found a really weird problem: It seems that float
numbers are truncated into integers in miniAudicle. I wrote a small

SinOsc o => dac;
333 => o.freq;

0.9 => o.gain;
1::second => now;

1 => o.gain;
1::second => now;

It works correct in chuck, the output is:
i at Imre ~]/Depot/Install/miniAudicle-
--srate=48000 --bufsize=512 ./Temp/gain.ck
0.900000 :(float)
1.000000 :(float)

But in miniAudicle console monitor I get:
[chuck](VM): sporking incoming shred: 1 (gain.ck)...
0,000000 :(float)
1,000000 :(float)

(and also I don't hear the first 1 second :) )
Buffer size and sample rate were the same as in the chuck command. I
tried it also with the precompiled Windows version and there it is
working correct.
I hope this brings us closer to the solution!


2006/11/18, Atte André Jensen <atte.jensen at gmail.com>:
> Atte André Jensen wrote:
> >> I guess it would be good to be absolutely
> >> certain that the exact same chuck that miniAudicle links to does not
> >> produce the same bugs.
> It doesn't!
> >> Additionally, try playing around with buffer
> >> sizes if you haven't already (miniAudicle accepts most of the same
> >> command line arguments as chuck, including --bufsize###).  Also, do
> >> the same bugs pop up when you write the output to a file with WvOut?
> I know I promised this before, but hopefully I'll find some time over
> the weekend to try out your suggestions. Right now I'm trying to prepare
> my first 100% chuck live gig sunday :-)
> --
> peace, love & harmony
> Atte
> http://www.atte.dk      | quintet:      http://www.anagrammer.dk
>                          | compositions: http://www.atte.dk/compositions
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users

More information about the chuck-users mailing list