How to Play Two Audio streams to two different outputs?

We're wanting to use one Debian box to play two different audio streams
to two different systems: one playing music-on-hold for our general
telephone system, and one playing tips-and-updates for our Helpdesk
phone system (for simplification purposes, you can just think of the two
streams going to two different sets of speakers located in two different
rooms).

I figure we'll need two sound cards, each driving its own set of speakers.

But how do I get the system to play one audio stream on one sound card,
and a different audio stream on a different card, at the same time?

Running two different apps (or even the same app) under two different
users is not a problem; I just need the audio to not mix between the two
outputs.

Thanks!

--
Kent West
http://kentwest.blogspot.com

--

0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

How to Play Two Audio streams to two different outputs?

On Fri, Dec 08, 2006 at 03:42:02PM -0600, Kent West wrote:
> We're wanting to use one Debian box to play two different audio streams
> to two different systems: one playing music-on-hold for our general
> telephone system, and one playing tips-and-updates for our Helpdesk
> phone system (for simplification purposes, you can just think of the two
> streams going to two different sets of speakers located in two different
> rooms).
>
> I figure we'll need two sound cards, each driving its own set of
> speakers.
>
> But how do I get the system to play one audio stream on one sound card,
> and a different audio stream on a different card, at the same time?
>
> Running two different apps (or even the same app) under two different
> users is not a problem; I just need the audio to not mix between the two
> outputs.

I know there were a couple threads about this in recent history. one
that came through just a couple days ago about using skype referenced
the earlier thread as well.

basically, as I understand it, you have to set some module parameters
for the sound cards control how they are indexed and then set the
outputs from the two sound programs to the different indexes.

good luck

A

How to Play Two Audio streams to two different outputs?

We're wanting to use one Debian box to play two different audio streams
to two different systems: one playing music-on-hold for our generaltelephone system, and one playing tips-and-updates for our Helpdeskphone system (for simplification purposes, you can just think of the two
streams going to two different sets of speakers located in two differentrooms).I figure we'll need two sound cards, each driving its own set of speakers.Not necessarily. You can reach it with just one, need only multiple outs (
e.g. terratec PHASE series...)But how do I get the system to play one audio stream on one sound card,
and a different audio stream on a different card, at the same time?As a first guess, I think ardour would do.Just put the audio you are going to play on two (or more) tracks and configure two buses to send audio to separate card outputs.
Assigning tracks to the desired bus (to a specific room/line/speakers) will do the rest.You will have full control on each audio track, meaning you can apply fx, eq, compressors and so on
Running two different apps (or even the same app) under two differentusers is not a problem; I just need the audio to not mix between the twooutputs.You don't need to run two apps, until you want to have full control on each one of them (stopping one track while playing the other one).
Thanks!cheershope this helpsraffaele

How to Play Two Audio streams to two different outputs?

On Fri, Dec 08, 2006 at 03:42:02PM -0600, Kent West wrote:
> We're wanting to use one Debian box to play two different audio streams
> to two different systems: one playing music-on-hold for our general
> telephone system, and one playing tips-and-updates for our Helpdesk
> phone system (for simplification purposes, you can just think of the two
> streams going to two different sets of speakers located in two different
> rooms).
>
> I figure we'll need two sound cards, each driving its own set of speakers.
>

Since phone systems are mono, have you considered using the left and
right channels seperately for the audio sources? You might be able to
get by with some mixer software trickery to run L & R independently.

dt

--
Dave Thayer | Whenever you read a good book, it's like the
Denver, Colorado USA | author is right there, in the room talking to
| you, which is why I don't like to read
| good books. - Jack Handey "Deep Thoughts"

--

How to Play Two Audio streams to two different outputs?

Dave Thayer wrote:
> On Fri, Dec 08, 2006 at 03:42:02PM -0600, Kent West wrote:
>
>> We're wanting to use one Debian box to play two different audio streams
>> to two different systems: one playing music-on-hold for our general
>> telephone system, and one playing tips-and-updates for our Helpdesk
>> phone system (for simplification purposes, you can just think of the two
>> streams going to two different sets of speakers located in two different
>> rooms).
>>
>> I figure we'll need two sound cards, each driving its own set of speakers.
>>
>>
>
> Since phone systems are mono, have you considered using the left and
> right channels seperately for the audio sources? You might be able to
> get by with some mixer software trickery to run L & R independently.
>
>
Thanks for the suggestions, everyone. It looks like Dave's idea will
work well for us.

I've started up two instances of xmms (had to go into
Options/Preferences/Options and turn on "Allow multiple instances", and
put one audio tune on one instance, and moved the balance all the way to
the Left, and then put another audio tune on the other instance, moving
it's balance all the way to the Right. Preliminary testing indicates
that this will work.

--
Kent West
http://kentwest.blogspot.com

--

How to Play Two Audio streams to two different outputs?

Kent West wrote:
> Dave Thayer wrote:
>> On Fri, Dec 08, 2006 at 03:42:02PM -0600, Kent West wrote:
>>
>>> We're wanting to use one Debian box to play two different audio
>>> streams to two different systems: one playing music-on-hold for our
>>> general telephone system, and one playing tips-and-updates for our
>>> Helpdesk phone system (for simplification purposes, you can just
>>> think of the two streams going to two different sets of speakers
>>> located in two different rooms).
>>>
>>> I figure we'll need two sound cards, each driving its own set of
>>> speakers.
>>>
>>>
>>
>> Since phone systems are mono, have you considered using the left and
>> right channels seperately for the audio sources? You might be able to
>> get by with some mixer software trickery to run L & R independently.
>>
> Thanks for the suggestions, everyone. It looks like Dave's idea will
> work well for us.
>
> I've started up two instances of xmms (had to go into
> Options/Preferences/Options and turn on "Allow multiple instances", and
> put one audio tune on one instance, and moved the balance all the way to
> the Left, and then put another audio tune on the other instance, moving
> it's balance all the way to the Right. Preliminary testing indicates
> that this will work.

You might make sure by cranking up the audio as high as it will go on
both individually and making sure there's no cross-talk. I've seen some
(cheap, crappy) sound cards that only have about -40dB isolation between
Left and Right channels.

If this is a one-off, and you are good to go with your current setup,
great. If you're going to try to accurately reproduce it, be aware that
some (cheap, crappy) sound cards don't have much isolation between the
Left and Right channels.

Nate

--

Syndicate content