hi i am running chuck 1.2.0.7 for the first time on my mac intel.And i keep getting the following problem when i try running the code below ------------------------ error msg: [chuck]: (via rtaudio): unable to open specified device(s) with given stream parameters: ... RtApiCore: unable to find OS-X audio stream on device (Apple: Built-in Microphone) for requested channels (2). [chuck]: cannot initialize audio device (try using --silent/-s) --------------------- code: --------------------- adc => dac; while( true ) { 100::ms => now; } ---------------------- when i do chuck --probe (output shown below) all devices, regardless if they are input (adc) or output (dac) are shown as dacs. With inputs channels set to 2 when the imic and line in are single channel devices. Whats up with this? And the built in mic on my laptop is working just fine when i check through the system prefs. thanks Manj ------------------------------- Macintosh-4:~/Documents/Development/chuck/code manj$ chuck --probe [chuck]: found 4 device(s) ... [chuck]: ------( chuck -- dac1 )--------------- [chuck]: device name = "Apple: Built-in Microphone" [chuck]: probe [success] ... [chuck]: # output channels = 0 [chuck]: # input channels = 2 [chuck]: # duplex Channels = 0 [chuck]: default device = NO [chuck]: natively supported data formats: [chuck]: 8-bit int [chuck]: 16-bit int [chuck]: 24-bit int [chuck]: 32-bit int [chuck]: 32-bit float [chuck]: 64-bit float [chuck]: supported sample rates: [chuck]: 44100 Hz [chuck]: 48000 Hz [chuck]: 88200 Hz [chuck]: 96000 Hz [chuck]: [chuck]: ------( chuck -- dac2 )--------------- [chuck]: device name = "Apple: Built-in Input" [chuck]: probe [success] ... [chuck]: # output channels = 0 [chuck]: # input channels = 2 [chuck]: # duplex Channels = 0 [chuck]: default device = NO [chuck]: natively supported data formats: [chuck]: 8-bit int [chuck]: 16-bit int [chuck]: 24-bit int [chuck]: 32-bit int [chuck]: 32-bit float [chuck]: 64-bit float [chuck]: supported sample rates: [chuck]: 44100 Hz [chuck]: 48000 Hz [chuck]: 88200 Hz [chuck]: 96000 Hz [chuck]: [chuck]: ------( chuck -- dac3 )--------------- [chuck]: device name = "Apple: Built-in Output" [chuck]: probe [success] ... [chuck]: # output channels = 2 [chuck]: # input channels = 0 [chuck]: # duplex Channels = 0 [chuck]: default device = YES [chuck]: natively supported data formats: [chuck]: 8-bit int [chuck]: 16-bit int [chuck]: 24-bit int [chuck]: 32-bit int [chuck]: 32-bit float [chuck]: 64-bit float [chuck]: supported sample rates: [chuck]: 44100 Hz [chuck]: 48000 Hz [chuck]: 88200 Hz [chuck]: 96000 Hz [chuck]: [chuck]: ------( chuck -- dac4 )--------------- [chuck]: device name = "Apple Computer, Inc.: Aggregate Device" [chuck]: probe [success] ... [chuck]: # output channels = 2 [chuck]: # input channels = 2 [chuck]: # duplex Channels = 2 [chuck]: default device = YES [chuck]: natively supported data formats: [chuck]: 8-bit int [chuck]: 16-bit int [chuck]: 24-bit int [chuck]: 32-bit int [chuck]: 32-bit float [chuck]: 64-bit float [chuck]: supported sample rates: [chuck]: 44100 Hz [chuck]: 48000 Hz [chuck]: 88200 Hz [chuck]: 96000 Hz [chuck]: [chuck]: ------( chuck -- 0 MIDI inputs )------ [chuck]: [chuck]: ------( chuck -- 0 MIDI outputs )----- [chuck]:
I am also getting strange [new] messages on my new MacBookPro running 1.2.0.7. The script ran without any problems running 1.2.0.6 on my old laptop, but has started giving the following on the new machine:
[~>chuck myfile.ck] 2006-09-30 16:38:44.706 chuck[2194] CFLog (21): dyld returns 2 when trying to load /System/Library/Extensions/AppleHDA.kext/Contents/ PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn 2006-09-30 16:38:44.730 chuck[2194] CFLog (21): dyld returns 2 when trying to load /System/Library/Extensions/AppleHDA.kext/Contents/ PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn 2006-09-30 16:38:45.049 chuck[2194] CFLog (21): dyld returns 2 when trying to load /System/Library/Extensions/AppleHDA.kext/Contents/ PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn 2006-09-30 16:38:45.054 chuck[2194] CFLog (21): dyld returns 2 when trying to load /System/Library/Extensions/AppleHDA.kext/Contents/ PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn [expected output]
I don't know if it is related, but it is new with the new system. I do eventually get the expected output after a short wait. Perhaps Apple moved a system resource? - greg On Sep 25, 2006, at 11:19 PM, Manj Benning wrote:
hi
i am running chuck 1.2.0.7 for the first time on my mac intel.And i keep getting the following problem when i try running the code below ------------------------ error msg:
[chuck]: (via rtaudio): unable to open specified device(s) with given stream parameters: ... RtApiCore: unable to find OS-X audio stream on device (Apple: Built-in Microphone) for requested channels (2).
[chuck]: cannot initialize audio device (try using --silent/-s) --------------------- code: --------------------- adc => dac;
while( true ) { 100::ms => now; } ----------------------
when i do chuck --probe (output shown below) all devices, regardless if they are input (adc) or output (dac) are shown as dacs. With inputs channels set to 2 when the imic and line in are single channel devices. Whats up with this? And the built in mic on my laptop is working just fine when i check through the system prefs.
thanks Manj ------------------------------- Macintosh-4:~/Documents/Development/chuck/code manj$ chuck --probe [chuck]: found 4 device(s) ... [chuck]: ------( chuck -- dac1 )--------------- [chuck]: device name = "Apple: Built-in Microphone" [chuck]: probe [success] ... [chuck]: # output channels = 0 [chuck]: # input channels = 2 [chuck]: # duplex Channels = 0 [chuck]: default device = NO [chuck]: natively supported data formats: [chuck]: 8-bit int [chuck]: 16-bit int [chuck]: 24-bit int [chuck]: 32-bit int [chuck]: 32-bit float [chuck]: 64-bit float [chuck]: supported sample rates: [chuck]: 44100 Hz [chuck]: 48000 Hz [chuck]: 88200 Hz [chuck]: 96000 Hz [chuck]: [chuck]: ------( chuck -- dac2 )--------------- [chuck]: device name = "Apple: Built-in Input" [chuck]: probe [success] ... [chuck]: # output channels = 0 [chuck]: # input channels = 2 [chuck]: # duplex Channels = 0 [chuck]: default device = NO [chuck]: natively supported data formats: [chuck]: 8-bit int [chuck]: 16-bit int [chuck]: 24-bit int [chuck]: 32-bit int [chuck]: 32-bit float [chuck]: 64-bit float [chuck]: supported sample rates: [chuck]: 44100 Hz [chuck]: 48000 Hz [chuck]: 88200 Hz [chuck]: 96000 Hz [chuck]: [chuck]: ------( chuck -- dac3 )--------------- [chuck]: device name = "Apple: Built-in Output" [chuck]: probe [success] ... [chuck]: # output channels = 2 [chuck]: # input channels = 0 [chuck]: # duplex Channels = 0 [chuck]: default device = YES [chuck]: natively supported data formats: [chuck]: 8-bit int [chuck]: 16-bit int [chuck]: 24-bit int [chuck]: 32-bit int [chuck]: 32-bit float [chuck]: 64-bit float [chuck]: supported sample rates: [chuck]: 44100 Hz [chuck]: 48000 Hz [chuck]: 88200 Hz [chuck]: 96000 Hz [chuck]: [chuck]: ------( chuck -- dac4 )--------------- [chuck]: device name = "Apple Computer, Inc.: Aggregate Device" [chuck]: probe [success] ... [chuck]: # output channels = 2 [chuck]: # input channels = 2 [chuck]: # duplex Channels = 2 [chuck]: default device = YES [chuck]: natively supported data formats: [chuck]: 8-bit int [chuck]: 16-bit int [chuck]: 24-bit int [chuck]: 32-bit int [chuck]: 32-bit float [chuck]: 64-bit float [chuck]: supported sample rates: [chuck]: 44100 Hz [chuck]: 48000 Hz [chuck]: 88200 Hz [chuck]: 96000 Hz [chuck]: [chuck]: ------( chuck -- 0 MIDI inputs )------ [chuck]: [chuck]: ------( chuck -- 0 MIDI outputs )----- [chuck]: _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
Hi Greg, I've combed through some of Apple's developer mailing lists, and from what I can tell, this error suggest that either chuck is unexpectedly running in PPC mode, or chuck is running in i386 mode (as expected) but AppleHDAHALPlugIn is somehow a PPC-only executable. The 'file' command can print out what architectures a given executable has been built for. so running 'file chuck' should print: chuck: Mach-O fat file with 2 architectures chuck (for architecture ppc): Mach-O executable ppc chuck (for architecture i386): Mach-O executable i386 Similarly, 'file /System/Library/Extensions/AppleHDA.kext/Contents/ PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn' should indicate that that file contains i386 code. If chuck or AppleHDAHALPlugIn do not contain i386 executable code, that might be a part the problem. Please let us know either way... hope this helps, spencer On Oct 1, 2006, at 8:07 AM, Gregory Brown wrote:
I am also getting strange [new] messages on my new MacBookPro running 1.2.0.7. The script ran without any problems running 1.2.0.6 on my old laptop, but has started giving the following on the new machine:
[~>chuck myfile.ck] 2006-09-30 16:38:44.706 chuck[2194] CFLog (21): dyld returns 2 when trying to load /System/Library/Extensions/AppleHDA.kext/Contents/ PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn 2006-09-30 16:38:44.730 chuck[2194] CFLog (21): dyld returns 2 when trying to load /System/Library/Extensions/AppleHDA.kext/Contents/ PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn 2006-09-30 16:38:45.049 chuck[2194] CFLog (21): dyld returns 2 when trying to load /System/Library/Extensions/AppleHDA.kext/Contents/ PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn 2006-09-30 16:38:45.054 chuck[2194] CFLog (21): dyld returns 2 when trying to load /System/Library/Extensions/AppleHDA.kext/Contents/ PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn [expected output]
I don't know if it is related, but it is new with the new system. I do eventually get the expected output after a short wait. Perhaps Apple moved a system resource?
- greg
On Sep 25, 2006, at 11:19 PM, Manj Benning wrote:
hi
i am running chuck 1.2.0.7 for the first time on my mac intel.And i keep getting the following problem when i try running the code below ------------------------ error msg:
[chuck]: (via rtaudio): unable to open specified device(s) with given stream parameters: ... RtApiCore: unable to find OS-X audio stream on device (Apple: Built-in Microphone) for requested channels (2).
[chuck]: cannot initialize audio device (try using --silent/-s) --------------------- code: --------------------- adc => dac;
while( true ) { 100::ms => now; } ----------------------
when i do chuck --probe (output shown below) all devices, regardless if they are input (adc) or output (dac) are shown as dacs. With inputs channels set to 2 when the imic and line in are single channel devices. Whats up with this? And the built in mic on my laptop is working just fine when i check through the system prefs.
thanks Manj ------------------------------- Macintosh-4:~/Documents/Development/chuck/code manj$ chuck --probe [chuck]: found 4 device(s) ... [chuck]: ------( chuck -- dac1 )--------------- [chuck]: device name = "Apple: Built-in Microphone" [chuck]: probe [success] ... [chuck]: # output channels = 0 [chuck]: # input channels = 2 [chuck]: # duplex Channels = 0 [chuck]: default device = NO [chuck]: natively supported data formats: [chuck]: 8-bit int [chuck]: 16-bit int [chuck]: 24-bit int [chuck]: 32-bit int [chuck]: 32-bit float [chuck]: 64-bit float [chuck]: supported sample rates: [chuck]: 44100 Hz [chuck]: 48000 Hz [chuck]: 88200 Hz [chuck]: 96000 Hz [chuck]: [chuck]: ------( chuck -- dac2 )--------------- [chuck]: device name = "Apple: Built-in Input" [chuck]: probe [success] ... [chuck]: # output channels = 0 [chuck]: # input channels = 2 [chuck]: # duplex Channels = 0 [chuck]: default device = NO [chuck]: natively supported data formats: [chuck]: 8-bit int [chuck]: 16-bit int [chuck]: 24-bit int [chuck]: 32-bit int [chuck]: 32-bit float [chuck]: 64-bit float [chuck]: supported sample rates: [chuck]: 44100 Hz [chuck]: 48000 Hz [chuck]: 88200 Hz [chuck]: 96000 Hz [chuck]: [chuck]: ------( chuck -- dac3 )--------------- [chuck]: device name = "Apple: Built-in Output" [chuck]: probe [success] ... [chuck]: # output channels = 2 [chuck]: # input channels = 0 [chuck]: # duplex Channels = 0 [chuck]: default device = YES [chuck]: natively supported data formats: [chuck]: 8-bit int [chuck]: 16-bit int [chuck]: 24-bit int [chuck]: 32-bit int [chuck]: 32-bit float [chuck]: 64-bit float [chuck]: supported sample rates: [chuck]: 44100 Hz [chuck]: 48000 Hz [chuck]: 88200 Hz [chuck]: 96000 Hz [chuck]: [chuck]: ------( chuck -- dac4 )--------------- [chuck]: device name = "Apple Computer, Inc.: Aggregate Device" [chuck]: probe [success] ... [chuck]: # output channels = 2 [chuck]: # input channels = 2 [chuck]: # duplex Channels = 2 [chuck]: default device = YES [chuck]: natively supported data formats: [chuck]: 8-bit int [chuck]: 16-bit int [chuck]: 24-bit int [chuck]: 32-bit int [chuck]: 32-bit float [chuck]: 64-bit float [chuck]: supported sample rates: [chuck]: 44100 Hz [chuck]: 48000 Hz [chuck]: 88200 Hz [chuck]: 96000 Hz [chuck]: [chuck]: ------( chuck -- 0 MIDI inputs )------ [chuck]: [chuck]: ------( chuck -- 0 MIDI outputs )----- [chuck]: _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
Hi Spencer, Thanks for looking into this. In light of your thoughts, it seems that the problem is due to the fact that I was unwittingly running chuck version 1.2.0.5. A quick check shows that 1.2.0.5 is ppc only. Sorry to be a knuckle-head. The only weird thing remaining is that since I ran the latest Software Update (Oct. 1), I can't get the error message to recur.... not that that is a problem, but it is curious. In any case, if you are still interested, my machine gives the following: ~> file ./chuck-1.2.0.7-exe/bin/chuck ./chuck-1.2.0.7-exe/bin/chuck: Mach-O universal binary with 2 architectures ./chuck-1.2.0.7-exe/bin/chuck (for architecture ppc): Mach-O executable ppc ./chuck-1.2.0.7-exe/bin/chuck (for architecture i386): Mach-O executable i386 ~>file ./chuck-1.2.0.5-exe/bin/chuck ./chuck-1.2.0.5-exe/bin/chuck: Mach-O executable ppc ~>file System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/ AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/ AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn: Mach-O universal binary with 2 architectures /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/ AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn (for architecture i386): Mach-O bundle i386 /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/ AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn (for architecture ppc): Mach-O bundle ppc Thanks again, - Greg On Oct 3, 2006, at 12:25 PM, Spencer Salazar wrote:
Hi Greg, I've combed through some of Apple's developer mailing lists, and from what I can tell, this error suggest that either chuck is unexpectedly running in PPC mode, or chuck is running in i386 mode (as expected) but AppleHDAHALPlugIn is somehow a PPC-only executable.
The 'file' command can print out what architectures a given executable has been built for. so running 'file chuck' should print:
chuck: Mach-O fat file with 2 architectures chuck (for architecture ppc): Mach-O executable ppc chuck (for architecture i386): Mach-O executable i386
Similarly, 'file /System/Library/Extensions/AppleHDA.kext/Contents/ PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn' should indicate that that file contains i386 code.
If chuck or AppleHDAHALPlugIn do not contain i386 executable code, that might be a part the problem. Please let us know either way...
hope this helps, spencer
On Oct 1, 2006, at 8:07 AM, Gregory Brown wrote:
I am also getting strange [new] messages on my new MacBookPro running 1.2.0.7. The script ran without any problems running 1.2.0.6 on my old laptop, but has started giving the following on the new machine:
[~>chuck myfile.ck] 2006-09-30 16:38:44.706 chuck[2194] CFLog (21): dyld returns 2 when trying to load /System/Library/Extensions/AppleHDA.kext/Contents/ PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn 2006-09-30 16:38:44.730 chuck[2194] CFLog (21): dyld returns 2 when trying to load /System/Library/Extensions/AppleHDA.kext/Contents/ PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn 2006-09-30 16:38:45.049 chuck[2194] CFLog (21): dyld returns 2 when trying to load /System/Library/Extensions/AppleHDA.kext/Contents/ PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn 2006-09-30 16:38:45.054 chuck[2194] CFLog (21): dyld returns 2 when trying to load /System/Library/Extensions/AppleHDA.kext/Contents/ PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn [expected output]
I don't know if it is related, but it is new with the new system. I do eventually get the expected output after a short wait. Perhaps Apple moved a system resource?
- greg
On Sep 25, 2006, at 11:19 PM, Manj Benning wrote:
hi
i am running chuck 1.2.0.7 for the first time on my mac intel.And i keep getting the following problem when i try running the code below ------------------------ error msg:
[chuck]: (via rtaudio): unable to open specified device(s) with given stream parameters: ... RtApiCore: unable to find OS-X audio stream on device (Apple: Built-in Microphone) for requested channels (2).
[chuck]: cannot initialize audio device (try using --silent/-s) --------------------- code: --------------------- adc => dac;
while( true ) { 100::ms => now; } ----------------------
when i do chuck --probe (output shown below) all devices, regardless if they are input (adc) or output (dac) are shown as dacs. With inputs channels set to 2 when the imic and line in are single channel devices. Whats up with this? And the built in mic on my laptop is working just fine when i check through the system prefs.
thanks Manj ------------------------------- Macintosh-4:~/Documents/Development/chuck/code manj$ chuck --probe [chuck]: found 4 device(s) ... [chuck]: ------( chuck -- dac1 )--------------- [chuck]: device name = "Apple: Built-in Microphone" [chuck]: probe [success] ... [chuck]: # output channels = 0 [chuck]: # input channels = 2 [chuck]: # duplex Channels = 0 [chuck]: default device = NO [chuck]: natively supported data formats: [chuck]: 8-bit int [chuck]: 16-bit int [chuck]: 24-bit int [chuck]: 32-bit int [chuck]: 32-bit float [chuck]: 64-bit float [chuck]: supported sample rates: [chuck]: 44100 Hz [chuck]: 48000 Hz [chuck]: 88200 Hz [chuck]: 96000 Hz [chuck]: [chuck]: ------( chuck -- dac2 )--------------- [chuck]: device name = "Apple: Built-in Input" [chuck]: probe [success] ... [chuck]: # output channels = 0 [chuck]: # input channels = 2 [chuck]: # duplex Channels = 0 [chuck]: default device = NO [chuck]: natively supported data formats: [chuck]: 8-bit int [chuck]: 16-bit int [chuck]: 24-bit int [chuck]: 32-bit int [chuck]: 32-bit float [chuck]: 64-bit float [chuck]: supported sample rates: [chuck]: 44100 Hz [chuck]: 48000 Hz [chuck]: 88200 Hz [chuck]: 96000 Hz [chuck]: [chuck]: ------( chuck -- dac3 )--------------- [chuck]: device name = "Apple: Built-in Output" [chuck]: probe [success] ... [chuck]: # output channels = 2 [chuck]: # input channels = 0 [chuck]: # duplex Channels = 0 [chuck]: default device = YES [chuck]: natively supported data formats: [chuck]: 8-bit int [chuck]: 16-bit int [chuck]: 24-bit int [chuck]: 32-bit int [chuck]: 32-bit float [chuck]: 64-bit float [chuck]: supported sample rates: [chuck]: 44100 Hz [chuck]: 48000 Hz [chuck]: 88200 Hz [chuck]: 96000 Hz [chuck]: [chuck]: ------( chuck -- dac4 )--------------- [chuck]: device name = "Apple Computer, Inc.: Aggregate Device" [chuck]: probe [success] ... [chuck]: # output channels = 2 [chuck]: # input channels = 2 [chuck]: # duplex Channels = 2 [chuck]: default device = YES [chuck]: natively supported data formats: [chuck]: 8-bit int [chuck]: 16-bit int [chuck]: 24-bit int [chuck]: 32-bit int [chuck]: 32-bit float [chuck]: 64-bit float [chuck]: supported sample rates: [chuck]: 44100 Hz [chuck]: 48000 Hz [chuck]: 88200 Hz [chuck]: 96000 Hz [chuck]: [chuck]: ------( chuck -- 0 MIDI inputs )------ [chuck]: [chuck]: ------( chuck -- 0 MIDI outputs )----- [chuck]: _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
Hi Manj, chuck --probe labels everything as "dac#", even if it only has input channels. This is somewhat confusing, but it probably wouldn't be the cause of your problem. Are you familiar with the --dac, --adc and --in chuck command line options? You can use these to force which devices will be used for audio output, audio input, and how many input channels to use. My (somewhat uninformed) hypothesis is that some sensible combination of these options will allow an adc => dac; type program to work correctly on your machine. So, you could try the following: chuck --adc4 #specify "dac" (i.e. device) 4 to be used as input device chuck --adc4 --in1 chuck --adc1 #specify device 1 to be used as input device chuck --adc1 --in1 There might be some other reasonable combinations of these options that I've left out. If none of this command line options juggling works, there could be a specific problem between ChucK's realtime audio subsystem and the audio configuration on newer Intel macs. spencer On Sep 25, 2006, at 11:19 PM, Manj Benning wrote:
hi
i am running chuck 1.2.0.7 for the first time on my mac intel.And i keep getting the following problem when i try running the code below ------------------------ error msg:
[chuck]: (via rtaudio): unable to open specified device(s) with given stream parameters: ... RtApiCore: unable to find OS-X audio stream on device (Apple: Built-in Microphone) for requested channels (2).
[chuck]: cannot initialize audio device (try using --silent/-s) --------------------- code: --------------------- adc => dac;
while( true ) { 100::ms => now; } ----------------------
when i do chuck --probe (output shown below) all devices, regardless if they are input (adc) or output (dac) are shown as dacs. With inputs channels set to 2 when the imic and line in are single channel devices. Whats up with this? And the built in mic on my laptop is working just fine when i check through the system prefs.
thanks Manj ------------------------------- Macintosh-4:~/Documents/Development/chuck/code manj$ chuck --probe [chuck]: found 4 device(s) ... [chuck]: ------( chuck -- dac1 )--------------- [chuck]: device name = "Apple: Built-in Microphone" [chuck]: probe [success] ... [chuck]: # output channels = 0 [chuck]: # input channels = 2 [chuck]: # duplex Channels = 0 [chuck]: default device = NO [chuck]: natively supported data formats: [chuck]: 8-bit int [chuck]: 16-bit int [chuck]: 24-bit int [chuck]: 32-bit int [chuck]: 32-bit float [chuck]: 64-bit float [chuck]: supported sample rates: [chuck]: 44100 Hz [chuck]: 48000 Hz [chuck]: 88200 Hz [chuck]: 96000 Hz [chuck]: [chuck]: ------( chuck -- dac2 )--------------- [chuck]: device name = "Apple: Built-in Input" [chuck]: probe [success] ... [chuck]: # output channels = 0 [chuck]: # input channels = 2 [chuck]: # duplex Channels = 0 [chuck]: default device = NO [chuck]: natively supported data formats: [chuck]: 8-bit int [chuck]: 16-bit int [chuck]: 24-bit int [chuck]: 32-bit int [chuck]: 32-bit float [chuck]: 64-bit float [chuck]: supported sample rates: [chuck]: 44100 Hz [chuck]: 48000 Hz [chuck]: 88200 Hz [chuck]: 96000 Hz [chuck]: [chuck]: ------( chuck -- dac3 )--------------- [chuck]: device name = "Apple: Built-in Output" [chuck]: probe [success] ... [chuck]: # output channels = 2 [chuck]: # input channels = 0 [chuck]: # duplex Channels = 0 [chuck]: default device = YES [chuck]: natively supported data formats: [chuck]: 8-bit int [chuck]: 16-bit int [chuck]: 24-bit int [chuck]: 32-bit int [chuck]: 32-bit float [chuck]: 64-bit float [chuck]: supported sample rates: [chuck]: 44100 Hz [chuck]: 48000 Hz [chuck]: 88200 Hz [chuck]: 96000 Hz [chuck]: [chuck]: ------( chuck -- dac4 )--------------- [chuck]: device name = "Apple Computer, Inc.: Aggregate Device" [chuck]: probe [success] ... [chuck]: # output channels = 2 [chuck]: # input channels = 2 [chuck]: # duplex Channels = 2 [chuck]: default device = YES [chuck]: natively supported data formats: [chuck]: 8-bit int [chuck]: 16-bit int [chuck]: 24-bit int [chuck]: 32-bit int [chuck]: 32-bit float [chuck]: 64-bit float [chuck]: supported sample rates: [chuck]: 44100 Hz [chuck]: 48000 Hz [chuck]: 88200 Hz [chuck]: 96000 Hz [chuck]: [chuck]: ------( chuck -- 0 MIDI inputs )------ [chuck]: [chuck]: ------( chuck -- 0 MIDI outputs )----- [chuck]: _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
participants (3)
-
Gregory Brown
-
Manj Benning
-
Spencer Salazar