Re: How to Play Two Audio streams to two different outputs?

2006-12-12 Thread Kent West

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 http://kentwest.blogspot.com/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: How to Play Two Audio streams to two different outputs?

2006-12-12 Thread Nate Duehr

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


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: How to Play Two Audio streams to two different outputs?

2006-12-11 Thread Dave Thayer
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 
[EMAIL PROTECTED] | you, which is why I don't like to read 
  | good books. - Jack Handey Deep Thoughts


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: How to Play Two Audio streams to two different outputs?

2006-12-09 Thread Raffaele Morelli

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.



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 different

users is not a problem; I just need the audio to not mix between the two
outputs.



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!


cheers
hope this helps

raffaele


How to Play Two Audio streams to two different outputs?

2006-12-08 Thread Kent West
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 http://kentwest.blogspot.com/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: How to Play Two Audio streams to two different outputs?

2006-12-08 Thread Andrew Sackville-West
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


signature.asc
Description: Digital signature