Hi, I would like to run separate ChucK programs and combine their audio streams with a ChucK mixer program. To do this, I would send each audio output to dac.chan(n), where n could be a large-ish number like 8 or 16 or something like that. Then I would write a mixer program that combined these separate audio streams into just dac.left and dac.right, with adjustable gain/attenuation on each channel and an n-to-2 switch matrix. Sounds good, but when I try it I am only able to use the physical dac channels that I have with are dac.chan(0) and dac.chan(1). In other words, I am disappointed to learn that there are no virtual dac channels. So now I'm not sure if what I really need is a physical multi I/O USB interface or maybe a hardware mixer or whatever. How can I route multiple signals within ChucK between processes? Seems like this should be easy to do... OSC? I dunno, enlighten me please. Thanks, Les
Les; How can I route multiple signals within ChucK between processes? Seems
like this should be easy to do... OSC? I dunno, enlighten me please.
Well, how about buses? like in a "real" mixer? http://wiki.cs.princeton.edu/index.php/Buses Cheers, Kas.
Possibly something like JACK is the right solution for this. (Allows
transmitting audio streams between programs.)
ChucK can be compiled for JACK, at least on Linux.
Steve
On Wed, Mar 18, 2009 at 6:30 AM, Les Hall
Hi, I would like to run separate ChucK programs and combine their audio streams with a ChucK mixer program. To do this, I would send each audio output to dac.chan(n), where n could be a large-ish number like 8 or 16 or something like that. Then I would write a mixer program that combined these separate audio streams into just dac.left and dac.right, with adjustable gain/attenuation on each channel and an n-to-2 switch matrix.
Sounds good, but when I try it I am only able to use the physical dac channels that I have with are dac.chan(0) and dac.chan(1). In other words, I am disappointed to learn that there are no virtual dac channels. So now I'm not sure if what I really need is a physical multi I/O USB interface or maybe a hardware mixer or whatever. How can I route multiple signals within ChucK between processes? Seems like this should be easy to do... OSC? I dunno, enlighten me please.
Thanks,
Les
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
participants (3)
-
Kassen
-
Les Hall
-
Stephen Sinclair