[chuck-users] Anyone have experience with VirtualAudioCableunder windows

Rich Caloggero rjc at mit.edu
Wed Nov 10 14:11:28 EST 2010


Ah, I need to try this when I get home! If I can use SndBuf to actually read 
stereo files, then no need for jack or VirtualAudioCable or any such thing. 
I did download Jack, but it seemed like a mess. There were all kinds of 
things you needed (pieces of mingnu or whatever), so I won't bother unless I 
really need it.

-- Rich

----- Original Message ----- 
From: "Andrew Turley" <aturley at acm.org>
To: "ChucK Users Mailing List" <chuck-users at lists.cs.princeton.edu>
Sent: Wednesday, November 10, 2010 12:57 AM
Subject: Re: [chuck-users] Anyone have experience with 
VirtualAudioCableunder windows


1. You need to read a file into the buffer before chucking the
channels to the dac.

// BEGIN CODE
SndBuf s;
s.read("mystereosound.wav")
s.chan(1) => dac.right;
s.chan(0) => dac.left;
// END CODE

2. I haven't tried Virtual Audio Cable, but I've used Jack
(http://jackaudio.org/) to do this kind of thing. You might want to
give it a try.

3. I'm not sure what you mean by "that". I think the two questions
you've asked can be addressed without using the file io goodies.

andy

On Tue, Nov 9, 2010 at 5:18 PM, Rich Caloggero <rjc at mit.edu> wrote:
> I want to have chuck read a stereo input file. The only way I've been able
> to process stereo is to first separate each stereo file into two mono 
> files,
> then manipulate these separately with two SndBuf instances.
>
> 1. Is there another way to do this?
> I've tried:
> SndBuf s;
> s.chan(1) => dac.right;
> s.chan(0) => dac.left;
>
> This compiles fine, but crashes with null pointer exception when it is 
> run.
>
> 2. VIrtual Audio Cable for windows?
> THis is software that allows you to route output of any program to input 
> of
> others. WHen I install it, winamp can find and apparently use one of these
> virtual cables as output, however how might one get chuck to use the input
> side of this cable?
>
> 3. I've heard of some sort of new file io class; would that help?
>
>
> Thanx much...
> -- Rich
>
> _______________________________________________
> chuck-users mailing list
> 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
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users



More information about the chuck-users mailing list