[chuck-users] miniAudicle problems
Spencer Salazar
ssalazar at CS.Princeton.EDU
Mon Nov 20 20:39:28 EST 2006
Hi Imre, Atte,
If you have the opportunity here's a test that might help us locate
the problem.
First apply the attached patch (cd miniAudicle-0.1.3.6; patch
<manet.patch), which allows miniAudicle to listen for command-line
chuck on-the-fly commands (e.g. chuck +/-/=). Recompile. Then try
adding shreds through command line chuck. Whether or not the ChucK
program runs as expected will helps us determine where the problem lies.
thanks!
spencer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: manet.patch
Type: application/octet-stream
Size: 133 bytes
Desc: not available
Url : http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20061120/e848b150/attachment.obj
-------------- next part --------------
On Nov 19, 2006, at 11:30 AM, Imre K?ri wrote:
> Hi,
>
> 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
> program:
>
> SinOsc o => dac;
> 333 => o.freq;
>
> 0.9 => o.gain;
> <<<o.gain()>>>;
> 1::second => now;
>
> 1 => o.gain;
> <<<o.gain()>>>;
> 1::second => now;
>
> It works correct in chuck, the output is:
> i at Imre ~]/Depot/Install/miniAudicle-0.1.3.6/chuck/src/chuck
> --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!
>
> Imre
>
> 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
>>
> _______________________________________________
> 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