[chuck-users] Beginner question about audio artifacts
haberg-1 at telia.com
Sun Apr 15 12:47:25 EDT 2012
On 15 Apr 2012, at 18:26, Tom Lieber wrote:
>> 2. My collaborator for this project uses OSX and doesn't experience the same
>> clipping/artifacts that I do. I installed Ubuntu Linux on the same hardware
>> config as I was using Windows 7 and I was able to add many, many more shreds
>> without any noticeable clipping. Can anybody speak to this?
> The OS does its own clipping between ChucK and the sound card. OS X
> usually does a fine job of scaling down audio that is well out of
> bounds, but different operating systems do it in different ways. On OS
> X I've found that limiting gain in ChucK is basically unnecessary.
That seems to be something new for OS X 10.7. The file diatonic.ck (link below), by which one can play as many notes as the computer keyboard admits, used to require setting g.gain < 1.0 on OS X 10.6.8 to avoid clipping, but when now trying in 10.7.3, it does not seem to be needed.
In 10.6, OS X switched to using floating point numbers, which avoids the clipping problem at the OS level. So either 10.7 is doing a better job, or perhaps Chuck 126.96.36.199-beta-1 has switched to that to?
More information about the chuck-users