[chuck-users] Beginner question about audio artifacts

chriswicks crwicks at yahoo.com
Sat Apr 14 21:10:21 EDT 2012


Actually, never mind that last question.  It seems as though the lower the gain, the more shreds I can go without artifacts (although the lower the volume per shred).  Is this more or less on point?  Thanks again!



________________________________
 From: Lucas Zawacki <lfzawacki at gmail.com>
To: ChucK Users Mailing List <chuck-users at 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 at lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20120414/e8cf1550/attachment.html>


More information about the chuck-users mailing list