On Feb 28, 2012, at 6:26 AM, Kassen wrote:
On Tue, Feb 28, 2012 at 08:55:33AM +0000, Anthony Bowyer-Lowe wrote:
I can't promise this will help, but I'm a fan of running Rogue Amoeba's free Sound Source app on OS X which makes selecting the machine's audio output really quick and simple:
This sounds prommising. If the sollution is in that direction then a alternative might be to call ChucK with "chuck --dac n", where "n" corresponds to the number of the desired output as listed by "chuck --probe".
Personally I would suspect that if the default device is somehow set wrong then more programs should have issues with sound but you never know.
Thanks both of you for your help. With --probe returning this:
[chuck]: ------( chuck -- dac2 )--------------- [chuck]: device name = "Apple Inc.: Built-in Output" [chuck]: probe [success] ... [chuck]: # output channels = 2 [chuck]: # input channels = 0 [chuck]: # duplex Channels = 0 [chuck]: default output = YES [chuck]: default input = NO [chuck]: natively supported data formats: [chuck]: 32-bit float [chuck]: supported sample rates: [chuck]: 44100 Hz [chuck]: 48000 Hz [chuck]: 88200 Hz [chuck]: 96000 Hz
I don't get any joy doing this:
etla:/Volumes/Namring/Documents/ChucK$ chuck --dac2 foo.ck ^C[chuck]: cleaning up...
RtApiCore::closeStream(): no open stream to close!
etla:/Volumes/Namring/Documents/ChucK$
with foo.ck looking like so:
etla:/Volumes/Namring/Documents/ChucK$ cat foo.ck SinOsc s => dac; 2::second => now;
This weekend I should have a chance to build from source, and maybe I can be more precise about my trouble. Thanks, Charles