[chuck-users] SUCCESS! Re: Most recent Chuck for Lion?

Charles Turner vze26m98 at optonline.net
Tue Feb 28 10:44:04 EST 2012


Ah, success. Using this Display audio device which is 1 in, 2 out:

> [chuck]: ------( chuck -- dac6 )---------------
> [chuck]: device name = "Apple Inc.: Display Audio"
> [chuck]: probe [success] ...
> [chuck]: # output channels = 2
> [chuck]: # input channels  = 1
> [chuck]: # duplex Channels = 1
> [chuck]: default output = NO
> [chuck]: default input = YES
> [chuck]: natively supported data formats:
> [chuck]:   32-bit float
> [chuck]: supported sample rates:
> [chuck]:   44100 Hz
> [chuck]:   48000 Hz

I get a lovely sinus tone with this:

> etla:/Volumes/Namring/Documents/ChucK$ chuck --verbose --in1 --dac6 foo.ck
> [chuck]:(2:SYSTEM): setting log level to: 5 (INFORM)...
> [chuck]:(2:SYSTEM): initializing virtual machine...
> [chuck]:(2:SYSTEM):  | behavior: HALT
> [chuck]:(2:SYSTEM):  | locking down special objects...
> [chuck]:(2:SYSTEM):  | allocating shreduler...
> [chuck]:(2:SYSTEM):  | allocating messaging buffers...
> [chuck]:(2:SYSTEM):  | real-time audio: YES
> [chuck]:(2:SYSTEM):  | mode: CALLBACK
> [chuck]:(2:SYSTEM):  | sample rate: 44100
> [chuck]:(2:SYSTEM):  | buffer size: 256
> [chuck]:(2:SYSTEM):  | num buffers: 8
> [chuck]:(2:SYSTEM):  | devices adc: 0 dac: 6 (default 0)
> [chuck]:(2:SYSTEM):  | adaptive block processing: 0
> [chuck]:(2:SYSTEM):  | channels in: 1 out: 2
> [chuck]:(2:SYSTEM): initializing compiler...
> [chuck]:(3:SEVERE):  | initializing type checker...
> [chuck]:(3:SEVERE):  |  | adding base classes...
> [chuck]:(3:SEVERE):  |  |  | class 'object'
> [chuck]:(3:SEVERE):  |  |  | class 'array'
> [chuck]:(3:SEVERE):  |  |  | class 'string'
> [chuck]:(3:SEVERE):  |  |  | class 'ugen'
> [chuck]:(3:SEVERE):  |  |  | class 'uanablob'
> [chuck]:(3:SEVERE):  |  |  | class 'uana'
> [chuck]:(3:SEVERE):  |  |  | class 'shred'
> [chuck]:(3:SEVERE):  |  |  | class 'event'
> [chuck]:(3:SEVERE):  |  |  | class 'io'
> [chuck]:(3:SEVERE):  |  |  | class 'fileio'
> [chuck]:(3:SEVERE):  |  |  | class 'chout'
> [chuck]:(3:SEVERE):  |  |  | class 'cherr'
> [chuck]:(3:SEVERE):  |  |  | class 'class'
> [chuck]:(3:SEVERE):  | initializing emitter...
> [chuck]:(3:SEVERE):  | loading built-in modules...
> [chuck]:(3:SEVERE):  |  | module osc...
> [chuck]:(3:SEVERE):  |  | module xxx...
> [chuck]:(3:SEVERE):  |  | module filter...
> [chuck]:(3:SEVERE):  |  | module STK...
> [chuck]:(3:SEVERE):  |  | module xform...
> [chuck]:(3:SEVERE):  |  | module extract...
> [chuck]:(3:SEVERE):  |  | class 'machine'...
> [chuck]:(3:SEVERE):  |  | class 'std'...
> [chuck]:(5:INFORM):  |  | initializing KBHitManager...
> [chuck]:(5:INFORM):  |  | starting kb loop...
> [chuck]:(3:SEVERE):  |  | class 'math'...
> [chuck]:(3:SEVERE):  |  | class 'opsc'...
> [chuck]:(3:SEVERE):  | loading chugins
> [chuck]:(5:INFORM):  |  | unable to open directory '/usr/lib/chuck', ignoring for chugins
> [chuck]:(5:INFORM):  |  | unable to open directory '/Library/Application Support/ChucK', ignoring for chugins
> [chuck]:(2:SYSTEM): type dependency resolution: MANUAL
> [chuck]:(2:SYSTEM): initializing synthesis engine...
> [chuck]:(3:SEVERE):  | initializing 'dac'...
> [chuck]:(3:SEVERE):  | initializing 'adc'...
> [chuck]:(3:SEVERE):  | initializing 'blackhole'...
> [chuck]:(2:SYSTEM):  | initializing 'real-time' audio...
> [chuck]:(3:SEVERE):  | allocating buffers for 256 x 2 samples...
> [chuck]:(3:SEVERE): pre-loading ChucK libs...
> [chuck]:(3:SEVERE): starting compilation...
> [chuck]:(5:INFORM): setting thread priority to: 60...
> [chuck]:(2:SYSTEM): starting listener on port: 8888...
> [chuck]:(2:SYSTEM): running virtual machine...
> [chuck]:(3:SEVERE):  | initializing audio buffers...
> [chuck]:(3:SEVERE):  | virtual machine running...
> [chuck]:(3:SEVERE): starting real-time audio...
> [chuck]:(5:INFORM): setting thread priority to: 60...
> [chuck]:(3:SEVERE): starting real-time watch dog processs...
> [chuck]:(5:INFORM):  | watchdog timeout: 0.500000::second
> [chuck]:(5:INFORM):  | watchdog thread priority: 60
> [chuck]:(5:INFORM):  | watchdog countermeasure priority: 10
> [chuck]:(5:INFORM): setting thread priority to: 60...
> [chuck]:(2:SYSTEM): virtual machine stopped...
> [chuck]:(5:INFORM): detaching all resources...
> [chuck]:(5:INFORM):  | (via STK): detaching file handles...
> [chuck]:(5:INFORM):  | detaching MIDI devices...
> [chuck]:(5:INFORM):  | shutting down KBHitManager...
> [chuck]:(5:INFORM):  | shutting down HID...
> [chuck]:(2:SYSTEM): shutting down virtual machine...
> [chuck]:(2:SYSTEM):  | unprotecting special objects...
> [chuck]:(2:SYSTEM):  | shutting down real-time audio...
> [chuck]:(3:SEVERE):  | stopping real-time watch dog process...
> [chuck]:(2:SYSTEM):  | freeing bbq subsystem...
> [chuck]:(2:SYSTEM):  | freeing shreduler...
> [chuck]:(2:SYSTEM):  | freeing msg/reply/event buffers...
> [chuck]:(3:SEVERE):  | clearing shreds...
> [chuck]:(3:SEVERE):  |  | freeing dumped shreds...
> [chuck]:(2:SYSTEM):  | freeing special ugens...
> [chuck]:(2:SYSTEM): shutting down compiler...
> [chuck]:(3:SEVERE):  | shutting down type checker...
> etla:/Volumes/Namring/Documents/ChucK$ 

Thanks for your help Kassen. Now that I understand what's up, I'll try a few more combos to see where things break down.

Best wishes, Charles



More information about the chuck-users mailing list