[chuck-users] examples/hid/kb.ck
Spencer Salazar
ssalazar at CS.Princeton.EDU
Mon Nov 27 01:53:31 EST 2006
This is a long shot, but does your laptop have buttons on it that
control the built-in speaker volume? That could be what chuck is
finding and calling 'PC Speaker'.
If there are such buttons, and pressing these buttons generates
output when running hid/kb.ck, that would pin them as the culprit.
spencer
On Nov 27, 2006, at 1:38 AM, Atte André Jensen wrote:
> Spencer Salazar wrote:
>
>> Hmm... is it a USB speaker?
>
> No. The machine is an IBM laptop with no USB connected.
>
>> Either way, I would be
>> curious to see what prints out running 'chuck -v5 kb.ck' on your
>> system...
>
> atte at ajstrup:~/music/chuck/examples/hid$ chuck -v5 kb.ck
> [chuck]:(2:SYSTEM): setting log level to: 5 (INFORM)...
> [chuck]:(2:SYSTEM): initializing virtual machine...
> [chuck]:(2:SYSTEM): | behavior: HALT
> [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: 48000
> [chuck]:(2:SYSTEM): | buffer size: 512
> [chuck]:(2:SYSTEM): | num buffers: 8
> [chuck]:(2:SYSTEM): | devices adc: 0 dac: 0 (default 0)
> [chuck]:(2:SYSTEM): | channels in: 2 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 'shred'
> [chuck]:(3:SEVERE): | | | class 'event'
> [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): | | class 'machine'...
> [chuck]:(3:SEVERE): | | class 'std'...
> [chuck]:(5:INFORM): | | initializing KBHitManager...
> [chuck]:(3:SEVERE): | | class 'math'...
> [chuck]:(3:SEVERE): | | class 'opsc'...
> [chuck]:(5:INFORM): starting kb loop...
> [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]:(5:INFORM): | | initializing callback...
> [chuck]:(3:SEVERE): | allocating buffers for 512 x 2 samples...
> [chuck]:(3:SEVERE): starting compilation...
> [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]:(5:INFORM): initializing HID...
> [chuck]:(5:INFORM): | initializing joysticks
> [chuck]:(5:INFORM): | initializing mice
> here1
> here2
> [chuck]:(5:INFORM): | | mouse: found device Logitech USB Gaming
> Mouse
> here1
> here2
> [chuck]:(5:INFORM): | | mouse: found device TPPS/2 IBM TrackPoint
> here1
> [chuck]:(5:INFORM): | | mouse: found device SynPS/2 Synaptics
> TouchPad
> here1
> here1
> [chuck]:(5:INFORM): | initializing keyboards
> [chuck]:(5:INFORM): | | keyboard: found device PC Speaker
> [chuck]:(5:INFORM): | | keyboard: found device AT Translated Set 2
> keyboard
> keyboard ' PC Speaker ' ready
> [chuck]:(3:SEVERE): starting real-time audio...
>
> --
> peace, love & harmony
> Atte
>
> http://www.atte.dk | quintet: http://www.anagrammer.dk
> | compositions: http://www.atte.dk/
> compositions
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
More information about the chuck-users
mailing list