[chuck-users] Newbie troubleshooting Mac/Windows

Tim Burgess tim at raisedbar.net
Wed Mar 24 14:40:53 EDT 2021


OK, thanks for -v. Here’s the output and there’s some obvious problems:

 

[chuck]:(2:SYSTEM): setting log level to: 5 (INFORM)...

[chuck]:(2:SYSTEM): setting log level to: 5 (INFORM)...

[chuck]:(2:SYSTEM): initializing virtual machine...

[chuck]:(2:SYSTEM):  | locking down special objects...

[chuck]:(2:SYSTEM):  | allocating shreduler...

[chuck]:(2:SYSTEM):  | allocating messaging buffers...

[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 'vec3' (primitive)

[chuck]:(3:SEVERE):  |  |  | class 'vec4' (primitive)

[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]:(3:SEVERE):  |  | class 'math'...

[chuck]:(5:INFORM):  |  | starting kb loop...

[chuck]:(3:SEVERE):  |  | class 'opsc'...

[chuck]:(3:SEVERE):  |  | class 'RegEx'...

[chuck]:(3:SEVERE):  |  | class 'SerialIO'

[chuck]:(3:SEVERE):  | loading chugins

[chuck]:(5:INFORM):  |  | unable to open directory 'C:\WINDOWS\system32\ChucK'...

[chuck]:(5:INFORM):  |  | (ignoring for chugins...)

[chuck]:(5:INFORM):  |  | unable to open directory 'C:\Program Files\ChucK\chugins'...

[chuck]:(5:INFORM):  |  | (ignoring for chugins...)

[chuck]:(5:INFORM):  |  | examining directory 'C:\Program Files (x86)\ChucK\chugins' for chugins

[chuck]:(3:SEVERE):  |  | loading chugin 'ABSaturator.chug'

[chuck]:(3:SEVERE):  |  | loading chugin 'AmbPan.chug'

[chuck]:(3:SEVERE):  |  | loading chugin 'Bitcrusher.chug'

[chuck]:(3:SEVERE):  |  | loading chugin 'Elliptic.chug'

[chuck]:(3:SEVERE):  |  | loading chugin 'ExpDelay.chug'

[chuck]:(3:SEVERE):  |  | loading chugin 'ExpEnv.chug'

[chuck]:(3:SEVERE):  |  | loading chugin 'FIR.chug'

[chuck]:(3:SEVERE):  |  | loading chugin 'FoldbackSaturator.chug'

[chuck]:(3:SEVERE):  |  | loading chugin 'GVerb.chug'

[chuck]:(3:SEVERE):  |  | loading chugin 'KasFilter.chug'

[chuck]:(3:SEVERE):  |  | loading chugin 'MagicSine.chug'

[chuck]:(3:SEVERE):  |  | loading chugin 'Mesh2D.chug'

[chuck]:(3:SEVERE):  |  | loading chugin 'Multicomb.chug'

[chuck]:(3:SEVERE):  |  | loading chugin 'Overdrive.chug'

[chuck]:(3:SEVERE):  |  | loading chugin 'PanN.chug'

[chuck]:(3:SEVERE):  |  | loading chugin 'PitchTrack.chug'

[chuck]:(3:SEVERE):  |  | loading chugin 'PowerADSR.chug'

[chuck]:(3:SEVERE):  |  | loading chugin 'Sigmund.chug'

[chuck]:(3:SEVERE):  |  | loading chugin 'Spectacle.chug'

[chuck]:(3:SEVERE):  |  | loading chugin 'WinFuncEnv.chug'

[chuck]:(3:SEVERE):  |  | loading chugin 'WPDiodeLadder.chug'

[chuck]:(3:SEVERE):  |  | loading chugin 'WPKorg35.chug'

[chuck]:(5:INFORM):  |  | unable to open directory 'C:\Program Files\ChucK\chugins'...

[chuck]:(5:INFORM):  |  | (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]:(3:SEVERE): pre-loading ChucK libs...

[chuck]:(2:SYSTEM): starting listener on port: 8888...

[chuck]:(2:SYSTEM): initializing audio I/O...

[chuck]:(2:SYSTEM):  | probing 'real-time' audio subsystem...

[chuck]:(3:SEVERE):  | allocating buffers for 512 x 2 samples...

[chuck]:(2:SYSTEM):  | real-time audio: YES

[chuck]:(2:SYSTEM):  | mode: CALLBACK

[chuck]:(2:SYSTEM):  | sample rate: 44100

[chuck]:(2:SYSTEM):  | buffer size: 512

[chuck]:(2:SYSTEM):  | num buffers: 8

[chuck]:(2:SYSTEM):  | adc: 0 dac: 0

[chuck]:(2:SYSTEM):  | adaptive block processing: 0

[chuck]:(2:SYSTEM):  | channels in: 2 out: 2

[chuck]:(3:SEVERE): starting compilation...

[chuck]:(2:SYSTEM): running main loop...

[chuck]:(3:SEVERE):  | virtual machine running...

[chuck]:(3:SEVERE): starting real-time watch dog processs...

[chuck]:(5:INFORM):  | watchdog timeout: 0.500000::second

[chuck]:(5:INFORM):  | watchdog thread priority: 2

[chuck]:(5:INFORM):  | watchdog countermeasure priority: -2

[chuck]:(3:SEVERE): real-time watchdog counter-measure activating...

 

I pressed Ctrl+C then got:

 

[chuck]: cleaning up...

[chuck]:(3:SEVERE): stopping real-time watch dog process...

 

Boom! at this point. I have to Alt+F4 to kill off the command prompt’s window.

 

Cheers.

 

Tim

 

From: chuck-users-bounces at lists.cs.princeton.edu <chuck-users-bounces at lists.cs.princeton.edu> On Behalf Of Dana Batali
Sent: 24 March 2021 17:57
To: ChucK Users Mailing List <chuck-users at lists.cs.princeton.edu>
Subject: Re: [chuck-users] Newbie troubleshooting Mac/Windows

 

Hi Tim - on my windows machine, I see two sections, one for Microsoft Store apps and one for Desktop apps.

 

In my case, all the microsoft apps are disallowed. There are 20-ish buttons all indicating Off.

 

I've allowed all desktop apps access via a single on-off button, it indicates On.

 

The fact that you reported that chuck.exe had registered access to the microphone makes me think that that isn't your problem.

 

I think I missed the part of your report that indicated that ctrl-c wasn't functioning.  It raises the question of what state chuck is actually in.

Perhaps if you try:  chuck -v yourtest.ck <http://yourtest.ck> , the resulting dump will illuminate the mystery?

 

 

 

 

On Wed, Mar 24, 2021 at 10:43 AM Tim Burgess <tim at raisedbar.net <mailto:tim at raisedbar.net> > wrote:

Hi,

 

Unfortunately, going through my DAC options hasn’t helped, as I suspected.

 

An odd question, but when you go into the dialog to change access to the microphone and you navigate to the list of applications, including chuck.exe, are those items visually checked? I ask because I’m blind and use a screen reader to interact with my computer – sometimes we don’t get all the feedback from a UI element that we might need and I’m wondering if that’s the case here.

 

Cheers.

 

Tim

 

From: chuck-users-bounces at lists.cs.princeton.edu <mailto:chuck-users-bounces at lists.cs.princeton.edu>  <chuck-users-bounces at lists.cs.princeton.edu <mailto:chuck-users-bounces at lists.cs.princeton.edu> > On Behalf Of Tim Burgess
Sent: 24 March 2021 17:13
To: 'ChucK Users Mailing List' <chuck-users at lists.cs.princeton.edu <mailto:chuck-users at lists.cs.princeton.edu> >
Subject: Re: [chuck-users] Newbie troubleshooting Mac/Windows

 

OK, sounds fair enough and the thought had crossed my mind, but I haven’t had another chance to play since posting.

 

I’ll give it a try, but my gut says that it’ll fail given that Ctrl+C doesn’t cause my simple .ck file to quit – control never returns to the command prompt.

 

Really appreciate the help anyhow and I’ll post back if I find the solution.

 

 

Cheers.

 

Tim

 

From: chuck-users-bounces at lists.cs.princeton.edu <mailto:chuck-users-bounces at lists.cs.princeton.edu>  <chuck-users-bounces at lists.cs.princeton.edu <mailto:chuck-users-bounces at lists.cs.princeton.edu> > On Behalf Of Dana Batali
Sent: 24 March 2021 16:26
To: ChucK Users Mailing List <chuck-users at lists.cs.princeton.edu <mailto:chuck-users at lists.cs.princeton.edu> >
Subject: Re: [chuck-users] Newbie troubleshooting Mac/Windows

 

Tim - the only other thing I can think of is that since you have multiple audio devices, the one you are listening to isn't the one that chuck is producing sound on.  If this is the case you have two options:

 

1. tell chuck to try one of the other outputs via the -dac0,1,2 command-line

2. use windows sound settings to select an alternate default sound device.

 

 

 

On Wed, Mar 24, 2021 at 3:06 AM Tim Burgess <tim at raisedbar.net <mailto:tim at raisedbar.net> > wrote:

Hi,

 

Thanks for the suggestion, but chuck shows up in the list of applications that accessed the microphone and access is turned on. I don’t know if it helps, but here’s the output from chuck –probe:

 

[chuck]: found 5 device(s) ...

[chuck]: ------( audio device: 1 )---------------

[chuck]: device name = "Default Device"

[chuck]: probe [success] ...

[chuck]: # output channels = 2

[chuck]: # input channels  = 2

[chuck]: # duplex Channels = 2

[chuck]: default output = YES

[chuck]: default input = YES

[chuck]: natively supported data formats:

[chuck]:    8-bit int

[chuck]:   16-bit int

[chuck]: supported sample rates:

[chuck]:   4000 Hz

[chuck]:   5512 Hz

[chuck]:   8000 Hz

[chuck]:   9600 Hz

[chuck]:   11025 Hz

[chuck]:   16000 Hz

[chuck]:   22050 Hz

[chuck]:   32000 Hz

[chuck]:   44100 Hz

[chuck]:   48000 Hz

[chuck]:   88200 Hz

[chuck]:   96000 Hz

[chuck]:   176400 Hz

[chuck]:   192000 Hz

[chuck]: 

[chuck]: ------( audio device: 2 )---------------

[chuck]: device name = "Speakers (Cirrus Logic CS4208 (AB 128))"

[chuck]: probe [success] ...

[chuck]: # output channels = 2

[chuck]: # input channels  = 0

[chuck]: # duplex Channels = 0

[chuck]: default output = NO

[chuck]: default input = NO

[chuck]: natively supported data formats:

[chuck]:    8-bit int

[chuck]:   16-bit int

[chuck]: supported sample rates:

[chuck]:   4000 Hz

[chuck]:   5512 Hz

[chuck]:   8000 Hz

[chuck]:   9600 Hz

[chuck]:   11025 Hz

[chuck]:   16000 Hz

[chuck]:   22050 Hz

[chuck]:   32000 Hz

[chuck]:   44100 Hz

[chuck]:   48000 Hz

[chuck]:   88200 Hz

[chuck]:   96000 Hz

[chuck]:   176400 Hz

[chuck]:   192000 Hz

[chuck]: 

[chuck]: ------( audio device: 3 )---------------

[chuck]: device name = "Digital Audio (S/PDIF) (Cirrus Logic CS4208 (AB 128))"

[chuck]: probe [success] ...

[chuck]: # output channels = 2

[chuck]: # input channels  = 0

[chuck]: # duplex Channels = 0

[chuck]: default output = NO

[chuck]: default input = NO

[chuck]: natively supported data formats:

[chuck]:    8-bit int

[chuck]:   16-bit int

[chuck]: supported sample rates:

[chuck]:   4000 Hz

[chuck]:   5512 Hz

[chuck]:   8000 Hz

[chuck]:   9600 Hz

[chuck]:   11025 Hz

[chuck]:   16000 Hz

[chuck]:   22050 Hz

[chuck]:   32000 Hz

[chuck]:   44100 Hz

[chuck]:   48000 Hz

[chuck]:   88200 Hz

[chuck]:   96000 Hz

[chuck]:   176400 Hz

[chuck]:   192000 Hz

[chuck]: 

[chuck]: ------( audio device: 4 )---------------

[chuck]: device name = "Microphone (Kinoni Audio Source)"

[chuck]: probe [success] ...

[chuck]: # output channels = 0

[chuck]: # input channels  = 2

[chuck]: # duplex Channels = 0

[chuck]: default output = NO

[chuck]: default input = NO

[chuck]: natively supported data formats:

[chuck]:    8-bit int

[chuck]:   16-bit int

[chuck]: supported sample rates:

[chuck]:   11025 Hz

[chuck]:   22050 Hz

[chuck]:   44100 Hz

[chuck]:   96000 Hz

[chuck]: 

[chuck]: ------( audio device: 5 )---------------

[chuck]: device name = "Internal Microphone (Cirrus Logic CS4208 (AB 128))"

[chuck]: probe [success] ...

[chuck]: # output channels = 0

[chuck]: # input channels  = 2

[chuck]: # duplex Channels = 0

[chuck]: default output = NO

[chuck]: default input = NO

[chuck]: natively supported data formats:

[chuck]:    8-bit int

[chuck]:   16-bit int

[chuck]: supported sample rates:

[chuck]:   11025 Hz

[chuck]:   22050 Hz

[chuck]:   44100 Hz

[chuck]:   96000 Hz

[chuck]: 

[chuck]: 

[chuck](via RtMidi): RtMidiIn::initialize: no MIDI input devices currently available.

[chuck]: ------( chuck -- 0 MIDI inputs )------

[chuck]: 

[chuck]: ------( chuck -- 1 MIDI outputs )-----

[chuck]:     [0] : "Microsoft GS Wavetable Synth"

[chuck]: 

[chuck]: ------( chuck -- 1 mouse device )------

[chuck]:     [0] : "Mouse"

[chuck]: 

[chuck]: ------( chuck -- 1 keyboard device )------

[chuck]:     [0] : "Keyboard"

 

Take care and stay safe.

 

Tim

 

From: chuck-users-bounces at lists.cs.princeton.edu <mailto:chuck-users-bounces at lists.cs.princeton.edu>  <chuck-users-bounces at lists.cs.princeton.edu <mailto:chuck-users-bounces at lists.cs.princeton.edu> > On Behalf Of Dana Batali
Sent: 23 March 2021 17:43
To: ChucK Users Mailing List <chuck-users at lists.cs.princeton.edu <mailto:chuck-users at lists.cs.princeton.edu> >
Subject: Re: [chuck-users] Newbie troubleshooting Mac/Windows

 

It's possible chuck is waiting for access to your microphone and windows 10 defaults to disallowing access.

You can grant access to the microphone via a setting called "Allow apps to access your microphone".

 

 

 

_______________________________________________
chuck-users mailing list
chuck-users at lists.cs.princeton.edu <mailto:chuck-users at lists.cs.princeton.edu> 
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users

_______________________________________________
chuck-users mailing list
chuck-users at lists.cs.princeton.edu <mailto:chuck-users at lists.cs.princeton.edu> 
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20210324/16dcb46c/attachment-0001.html>


More information about the chuck-users mailing list