Thanks, that seems to work for 2 shreds, but adding any more continues to give me the dreaded clipping artifacts. Any advice here? My current project will be using at least 5 shreds, probably more.
________________________________
From: Lucas Zawacki
To: ChucK Users Mailing List
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.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users