From: Lucas Zawacki <lfzawacki@gmail.com>
To: ChucK Users Mailing List <chuck-users@lists.cs.princeton.edu>
Sent: Saturday, April 14, 2012 8:26 PM
Subject: Re:
[chuck-users] Beginner question about audio artifacts
Just a guess, but if you are outputing signal to the dac in more than
one shred you'll have to normalize output gain - otherwise the sound
will clip.
Compare how these two examples sound, (use two shreds doing the same
of each example):
// example 1
SinOsc s => dac;
440 => s.freq;
2::second => now;
// example 2
SinOsc s => dac;
0.5 => s.gain; // normalize gain
440 => s.freq;
2::second => now;
Hope to have helped.
_______________________________________________
chuck-users mailing list
chuck-users@lists.cs.princeton.eduhttps://lists.cs.princeton.edu/mailman/listinfo/chuck-users