Csound Csound-dev Csound-tekno Search About

[Csnd] Multiple Audio Devices

Date2013-11-28 20:57
FromJim Aikin
Subject[Csnd] Multiple Audio Devices
Looking in the Configure box for CsoundQt, it appears to me that Csound only
wants to use one audio output device at any given time. I know it can use a
device with multiple channels, because it will do surround sound and such
things -- but is it limited to one driver and one physical device?

This emerges as an issue because I'm looking for a way to integrate Csound
with a hardware modular synth. A company called Expert Sleepers makes some
modules that receive digital audio over an ADAT lightpipe connector and
translate it to analog CVs (or vice-versa). But if Csound has to use the
ADAT interface for all audio I/O in order to do this, it would be pretty
much a deal-breaker.

Does anyone have any experience with this type of setup? Or with running,
let's say, two independent multi-channel Firewire audio devices with Csound
at the same time?



--
View this message in context: http://csound.1045644.n5.nabble.com/Multiple-Audio-Devices-tp5730299.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-11-28 21:13
FromAnders Genell
SubjectRe: [Csnd] Multiple Audio Devices
If you are on Linux you can solve this through alsa configuration. I don't know about win or Mac, but I imagine there might be some 'hidden' features in the CoreSound layer that could do similar stuff. 

Regards,
Anders



28 nov 2013 kl. 21:57 skrev Jim Aikin :

> Looking in the Configure box for CsoundQt, it appears to me that Csound only
> wants to use one audio output device at any given time. I know it can use a
> device with multiple channels, because it will do surround sound and such
> things -- but is it limited to one driver and one physical device?
> 
> This emerges as an issue because I'm looking for a way to integrate Csound
> with a hardware modular synth. A company called Expert Sleepers makes some
> modules that receive digital audio over an ADAT lightpipe connector and
> translate it to analog CVs (or vice-versa). But if Csound has to use the
> ADAT interface for all audio I/O in order to do this, it would be pretty
> much a deal-breaker.
> 
> Does anyone have any experience with this type of setup? Or with running,
> let's say, two independent multi-channel Firewire audio devices with Csound
> at the same time?
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Multiple-Audio-Devices-tp5730299.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>            https://sourceforge.net/p/csound/tickets/
> csound5:
>            https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 
> 


Date2013-11-28 21:23
FromJim Aikin
Subject[Csnd] Re: Multiple Audio Devices
> If you are on Linux you can solve this through alsa configuration. I don't
know about
> win or Mac, but I imagine there might be some 'hidden' features in the
> CoreSound
> layer that could do similar stuff. 

Windows 7. I use an M-Audio Firewire 410 interface, which works fine, but I
wouldn't begin to know how to manipulate the CoreSound layer. I don't even
know what the CoreSound layer is....



--
View this message in context: http://csound.1045644.n5.nabble.com/Multiple-Audio-Devices-tp5730299p5730301.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-11-28 21:31
Frompeiman khosravi
SubjectRe: [Csnd] Re: Multiple Audio Devices
doesn't answer your question but FYI on osx you can make an 'aggregate' device in the sound preferences that's made up of I/Os from different devices. 



On 28 November 2013 21:23, Jim Aikin <midiguru23@sbcglobal.net> wrote:
> If you are on Linux you can solve this through alsa configuration. I don't
know about
> win or Mac, but I imagine there might be some 'hidden' features in the
> CoreSound
> layer that could do similar stuff.

Windows 7. I use an M-Audio Firewire 410 interface, which works fine, but I
wouldn't begin to know how to manipulate the CoreSound layer. I don't even
know what the CoreSound layer is....



--
View this message in context: http://csound.1045644.n5.nabble.com/Multiple-Audio-Devices-tp5730299p5730301.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to the Sourceforge bug trackers
csound6:
            https://sourceforge.net/p/csound/tickets/
csound5:
            https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"




Date2013-11-28 21:50
FromOeyvind Brandtsegg
SubjectRe: [Csnd] Re: Multiple Audio Devices
And it seems (haven't tried) you can use ASIO4ALL to make an aggregate
device under windows.
http://homerecording.com/bbs/general-discussions/digital-recording-computers/successful-aggregate-audio-device-windows-7-a-337755/
Oeyvind

2013/11/28 peiman khosravi :
> doesn't answer your question but FYI on osx you can make an 'aggregate'
> device in the sound preferences that's made up of I/Os from different
> devices.
>
>
>
>
> www.peimankhosravi.co.uk || RSS Feed || Concert News
>
>
> On 28 November 2013 21:23, Jim Aikin  wrote:
>>
>> > If you are on Linux you can solve this through alsa configuration. I
>> > don't
>> know about
>> > win or Mac, but I imagine there might be some 'hidden' features in the
>> > CoreSound
>> > layer that could do similar stuff.
>>
>> Windows 7. I use an M-Audio Firewire 410 interface, which works fine, but
>> I
>> wouldn't begin to know how to manipulate the CoreSound layer. I don't even
>> know what the CoreSound layer is....
>>
>>
>>
>> --
>> View this message in context:
>> http://csound.1045644.n5.nabble.com/Multiple-Audio-Devices-tp5730299p5730301.html
>> Sent from the Csound - General mailing list archive at Nabble.com.
>>
>>
>> Send bugs reports to the Sourceforge bug trackers
>> csound6:
>>             https://sourceforge.net/p/csound/tickets/
>> csound5:
>>             https://sourceforge.net/p/csound/bugs/
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>



-- 

Oeyvind Brandtsegg
Professor of Music Technology
NTNU
7491 Trondheim
Norway
Cell: +47 92 203 205

http://flyndresang.no/
http://www.partikkelaudio.com/
http://soundcloud.com/brandtsegg
http://soundcloud.com/t-emp

Date2013-11-28 22:02
FromJim Aikin
Subject[Csnd] Re: Multiple Audio Devices
> And it seems (haven't tried) you can use ASIO4ALL to make an aggregate
> device under windows. 

Thanks. That does look possible. I think I can probably work out a way to
test it. It's a bit confusing, though, because CsoundQt still only offers
Asio4all as a single device. Not sure how I would differentially address
different physical ports of that virtual device.



--
View this message in context: http://csound.1045644.n5.nabble.com/Multiple-Audio-Devices-tp5730299p5730304.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-11-28 23:16
FromOeyvind Brandtsegg
SubjectRe: [Csnd] Re: Multiple Audio Devices
That should be via different channel numbers, the second hardware
device starting where the first one ended.
So if you have a 4 channel device, then an 8 channel device combined
into one ASIO4ALL device,
your hardware channel 1 on the second device will be channel 5 in Csound.
Remember to set nchnls high enough to allow for *all* channels on the
first device and then as many as you need from the second.
I struggled somewhat with this when accessing two RME Fireface 800's
as an aggregate in osx, where the first analog output of he second
fireface was channel number 29 in Csound (so nchnls had to be at least
29 to access that channel, even if that was the only channels I was
going to use, not a practical example, but just to make a point)
Oeyvind

2013/11/28 Jim Aikin :
>> And it seems (haven't tried) you can use ASIO4ALL to make an aggregate
>> device under windows.
>
> Thanks. That does look possible. I think I can probably work out a way to
> test it. It's a bit confusing, though, because CsoundQt still only offers
> Asio4all as a single device. Not sure how I would differentially address
> different physical ports of that virtual device.
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Multiple-Audio-Devices-tp5730299p5730304.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>             https://sourceforge.net/p/csound/tickets/
> csound5:
>             https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>



-- 

Oeyvind Brandtsegg
Professor of Music Technology
NTNU
7491 Trondheim
Norway
Cell: +47 92 203 205

http://flyndresang.no/
http://www.partikkelaudio.com/
http://soundcloud.com/brandtsegg
http://soundcloud.com/t-emp