Multiple soundcards through one jackd

View: New views
9 Messages — Rating Filter:   Alert me  

Multiple soundcards through one jackd

by Marius/Qtronix :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all.

I'm new to this list (just subscribed), and was hoping someone could maybe
help me with a question, or an answer to how to set up what I was hoping.

I run a local radio station based on the net, and have two soundscards.
What I was hoping, was that it was possible to set up these soundcards to
play out through one jackd.

The first soundcard is the primary (default) one, and used for cueing
audio before it hits the "airwaves".
The second soundcard is used for airplay (out to the listeners) and ONLY
that.

So is there a way to route input from both soundcards through the one and
same jackd, and route those out to their respective outputs?

For example:
  card 1 L & R input -> jackd/cue -> card 1 L & R out
  card 2 L & R input -> jackd/jack-rack -> card 2 L & R out

Is this possible?

Kindly
Marius/Qtronix



_______________________________________________
Jack-Devel mailing list
Jack-Devel@...
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org

Re: Multiple soundcards through one jackd

by Jörn Nettingsmeier-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Marius/Qtronix wrote:

> Hi all.
>
> I'm new to this list (just subscribed), and was hoping someone could maybe
> help me with a question, or an answer to how to set up what I was hoping.
>
> I run a local radio station based on the net, and have two soundscards.
> What I was hoping, was that it was possible to set up these soundcards to
> play out through one jackd.
>
> The first soundcard is the primary (default) one, and used for cueing
> audio before it hits the "airwaves".
> The second soundcard is used for airplay (out to the listeners) and ONLY
> that.
>
> So is there a way to route input from both soundcards through the one and
> same jackd, and route those out to their respective outputs?
>
> For example:
>   card 1 L & R input -> jackd/cue -> card 1 L & R out
>   card 2 L & R input -> jackd/jack-rack -> card 2 L & R out
>
> Is this possible?

no.

for the simple reason that both cards contain a clock, and those two
clocks will deviate ever so slightly. to the point where one card is
waiting on a full buffer, and the other is stalling on an empty buffer,
and then jackd will rightfully explode in your face.

do yourself a favour and get a decent multichannel card, especially
since you're running a public service...




--
Jörn Nettingsmeier

Meister für Veranstaltungstechnik

Audio and event engineer
Ambisonic surround recordings

http://stackingdwarves.net
+49 177 7937487

_______________________________________________
Jack-Devel mailing list
Jack-Devel@...
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org

Re: Multiple soundcards through one jackd

by Ralf Mardorf :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jörn Nettingsmeier wrote:

> Marius/Qtronix wrote:
>  
>> Hi all.
>>
>> I'm new to this list (just subscribed), and was hoping someone could maybe
>> help me with a question, or an answer to how to set up what I was hoping.
>>
>> I run a local radio station based on the net, and have two soundscards.
>> What I was hoping, was that it was possible to set up these soundcards to
>> play out through one jackd.
>>
>> The first soundcard is the primary (default) one, and used for cueing
>> audio before it hits the "airwaves".
>> The second soundcard is used for airplay (out to the listeners) and ONLY
>> that.
>>
>> So is there a way to route input from both soundcards through the one and
>> same jackd, and route those out to their respective outputs?
>>
>> For example:
>>   card 1 L & R input -> jackd/cue -> card 1 L & R out
>>   card 2 L & R input -> jackd/jack-rack -> card 2 L & R out
>>
>> Is this possible?
>>    
>
> no.
>
> for the simple reason that both cards contain a clock, and those two
> clocks will deviate ever so slightly. to the point where one card is
> waiting on a full buffer, and the other is stalling on an empty buffer,
> and then jackd will rightfully explode in your face.
>
> do yourself a favour and get a decent multichannel card, especially
> since you're running a public service...
>  

Some sound cards can be synced.
_______________________________________________
Jack-Devel mailing list
Jack-Devel@...
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org

Re: Multiple soundcards through one jackd

by Ralf Mardorf :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jörn Nettingsmeier wrote:

> Marius/Qtronix wrote:
>  
>> Hi all.
>>
>> I'm new to this list (just subscribed), and was hoping someone could maybe
>> help me with a question, or an answer to how to set up what I was hoping.
>>
>> I run a local radio station based on the net, and have two soundscards.
>> What I was hoping, was that it was possible to set up these soundcards to
>> play out through one jackd.
>>
>> The first soundcard is the primary (default) one, and used for cueing
>> audio before it hits the "airwaves".
>> The second soundcard is used for airplay (out to the listeners) and ONLY
>> that.
>>
>> So is there a way to route input from both soundcards through the one and
>> same jackd, and route those out to their respective outputs?
>>
>> For example:
>>   card 1 L & R input -> jackd/cue -> card 1 L & R out
>>   card 2 L & R input -> jackd/jack-rack -> card 2 L & R out
>>
>> Is this possible?
>>    
>
> no.
>
> for the simple reason that both cards contain a clock, and those two
> clocks will deviate ever so slightly. to the point where one card is
> waiting on a full buffer, and the other is stalling on an empty buffer,
> and then jackd will rightfully explode in your face.
>
> do yourself a favour and get a decent multichannel card, especially
> since you're running a public service...
>  

I didn't read this, but maybe this howto is usable:
http://quicktoots.linuxaudio.org/toots/el-cheapo/
Or try this one: http://www.sound-man.co.uk/linuxaudio/ice1712multi.html
_______________________________________________
Jack-Devel mailing list
Jack-Devel@...
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org

Re: Multiple soundcards through one jackd

by Marius/Qtronix :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On man, august 17, 2009 01:40, Ralf Mardorf wrote:

> Jörn Nettingsmeier wrote:
>> Marius/Qtronix wrote:
>>
>>> Hi all.
>>>
>>> I'm new to this list (just subscribed), and was hoping someone could
>>> maybe
>>> help me with a question, or an answer to how to set up what I was
>>> hoping.
>>>
>>> I run a local radio station based on the net, and have two soundscards.
>>> What I was hoping, was that it was possible to set up these soundcards
>>> to
>>> play out through one jackd.
>>>
>>> The first soundcard is the primary (default) one, and used for cueing
>>> audio before it hits the "airwaves".
>>> The second soundcard is used for airplay (out to the listeners) and
>>> ONLY
>>> that.
>>>
>>> So is there a way to route input from both soundcards through the one
>>> and
>>> same jackd, and route those out to their respective outputs?
>>>
>>> For example:
>>>   card 1 L & R input -> jackd/cue -> card 1 L & R out
>>>   card 2 L & R input -> jackd/jack-rack -> card 2 L & R out
>>>
>>> Is this possible?
>>>
>>
>> no.
>>
>> for the simple reason that both cards contain a clock, and those two
>> clocks will deviate ever so slightly. to the point where one card is
>> waiting on a full buffer, and the other is stalling on an empty buffer,
>> and then jackd will rightfully explode in your face.
>>
>> do yourself a favour and get a decent multichannel card, especially
>> since you're running a public service...
>>
>
> Some sound cards can be synced.
>

I use two SB Live 5.1 cards, so dunno if these are able to sync or not. :p
Does anyone recommend a good but not too expensive multichannel-card then?

---
Marius/Qtronix


_______________________________________________
Jack-Devel mailing list
Jack-Devel@...
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org

Parent Message unknown Re: Multiple soundcards through one jackd

by Marius/Qtronix :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Oh, shows how much I really know about soundcards. :p
If I can use my 5.1 cards as sort of a multichannel-card, then that's great!

Thanks for all your help, everybody!
---
Marius/Qtronix

On man, august 17, 2009 09:58, Graham Goode wrote:

> One SB Live 5.1 should be able to be configured to have 3 stereo
> channels out, available in Jack.... (6 audio outs), you should then be
> able to route your 'cue' audio through one stereo channel, and your
> 'live' audio through another, negating the need for two cards, or a
> new multichannel.
>
> Take a look at the card options available in Jack and see if you have
> hw 0:0, hw 0:1, and hw 0:2. If so, use the info from
> http://quicktoots.linuxaudio.org/toots/el-cheapo/ to build a multi
> ~/.asoundrc with those options (hw 0:0, 0:1, and 0:2). It's worth a
> try :-)
>
> GrahamG
>
>>>>>
>>>>> For example:
>>>>>   card 1 L & R input -> jackd/cue -> card 1 L & R out
>>>>>   card 2 L & R input -> jackd/jack-rack -> card 2 L & R out
>>>>>
>>>>> Is this possible?
>>>>>
>


_______________________________________________
Jack-Devel mailing list
Jack-Devel@...
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org

Re: Multiple soundcards through one jackd

by Dominique Michel-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Le Mon, 17 Aug 2009 08:41:01 +0200 (CEST),
"Marius/Qtronix" <qtronix@...> a écrit :

> On man, august 17, 2009 01:40, Ralf Mardorf wrote:
> > Jörn Nettingsmeier wrote:
> >> Marius/Qtronix wrote:
> >>
> >>> Hi all.
> >>>
> >>> I'm new to this list (just subscribed), and was hoping someone could
> >>> maybe
> >>> help me with a question, or an answer to how to set up what I was
> >>> hoping.
> >>>
> >>> I run a local radio station based on the net, and have two soundscards.
> >>> What I was hoping, was that it was possible to set up these soundcards
> >>> to
> >>> play out through one jackd.
> >>>
> >>> The first soundcard is the primary (default) one, and used for cueing
> >>> audio before it hits the "airwaves".
> >>> The second soundcard is used for airplay (out to the listeners) and
> >>> ONLY
> >>> that.
> >>>
> >>> So is there a way to route input from both soundcards through the one
> >>> and
> >>> same jackd, and route those out to their respective outputs?
> >>>
> >>> For example:
> >>>   card 1 L & R input -> jackd/cue -> card 1 L & R out
> >>>   card 2 L & R input -> jackd/jack-rack -> card 2 L & R out
> >>>
> >>> Is this possible?
> >>>
> >>
> >> no.
> >>
> >> for the simple reason that both cards contain a clock, and those two
> >> clocks will deviate ever so slightly. to the point where one card is
> >> waiting on a full buffer, and the other is stalling on an empty buffer,
> >> and then jackd will rightfully explode in your face.
> >>
> >> do yourself a favour and get a decent multichannel card, especially
> >> since you're running a public service...
> >>
> >
> > Some sound cards can be synced.
> >
>
> I use two SB Live 5.1 cards, so dunno if these are able to sync or not. :p
> Does anyone recommend a good but not too expensive multichannel-card then?

Only professional sound cards and some semi-pro cards can be synced.

With am emu10k1 card, how you can do multichannel is explained into
emu10k1-jack.txt (kernel documentation if the kernel sources are installed,
alsa-driver documentation otherwise).

Dominique

>
> ---
> Marius/Qtronix
>
>
> _______________________________________________
> Jack-Devel mailing list
> Jack-Devel@...
> http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org


--
If this message is send to an email list, please make sure to answer onto the
list, or you will be ignored.

"We have the heroes we deserve."
_______________________________________________
Jack-Devel mailing list
Jack-Devel@...
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org

Re: Multiple soundcards through one jackd

by Ralf Mardorf :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dominique Michel wrote:

> Le Mon, 17 Aug 2009 08:41:01 +0200 (CEST),
> "Marius/Qtronix" <qtronix@...> a écrit :
>
>  
>> On man, august 17, 2009 01:40, Ralf Mardorf wrote:
>>    
>>> Jörn Nettingsmeier wrote:
>>>      
>>>> Marius/Qtronix wrote:
>>>>
>>>>        
>>>>> Hi all.
>>>>>
>>>>> I'm new to this list (just subscribed), and was hoping someone could
>>>>> maybe
>>>>> help me with a question, or an answer to how to set up what I was
>>>>> hoping.
>>>>>
>>>>> I run a local radio station based on the net, and have two soundscards.
>>>>> What I was hoping, was that it was possible to set up these soundcards
>>>>> to
>>>>> play out through one jackd.
>>>>>
>>>>> The first soundcard is the primary (default) one, and used for cueing
>>>>> audio before it hits the "airwaves".
>>>>> The second soundcard is used for airplay (out to the listeners) and
>>>>> ONLY
>>>>> that.
>>>>>
>>>>> So is there a way to route input from both soundcards through the one
>>>>> and
>>>>> same jackd, and route those out to their respective outputs?
>>>>>
>>>>> For example:
>>>>>   card 1 L & R input -> jackd/cue -> card 1 L & R out
>>>>>   card 2 L & R input -> jackd/jack-rack -> card 2 L & R out
>>>>>
>>>>> Is this possible?
>>>>>
>>>>>          
>>>> no.
>>>>
>>>> for the simple reason that both cards contain a clock, and those two
>>>> clocks will deviate ever so slightly. to the point where one card is
>>>> waiting on a full buffer, and the other is stalling on an empty buffer,
>>>> and then jackd will rightfully explode in your face.
>>>>
>>>> do yourself a favour and get a decent multichannel card, especially
>>>> since you're running a public service...
>>>>
>>>>        
>>> Some sound cards can be synced.
>>>
>>>      
>> I use two SB Live 5.1 cards, so dunno if these are able to sync or not. :p
>> Does anyone recommend a good but not too expensive multichannel-card then?
>>    
>
> Only professional sound cards and some semi-pro cards can be synced.
>
> With am emu10k1 card, how you can do multichannel is explained into
> emu10k1-jack.txt (kernel documentation if the kernel sources are installed,
> alsa-driver documentation otherwise).

I never tested it myself, but sync for the analogue IOs might be
possible by just connecting SPDIF or any other digital IO for non-pro cards.

Ralf
_______________________________________________
Jack-Devel mailing list
Jack-Devel@...
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org

Re: Multiple soundcards through one jackd

by D Diaconeasa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

How bad would the quality suffer with the use of "alsa_in" ? It does synch-ing through resampling with a variable factor and by putting back frames in the audio buffer if necessary.

Regards,
Dragos




2009/8/16 Jörn Nettingsmeier <nettings@...>
Marius/Qtronix wrote:
> Hi all.
>
> I'm new to this list (just subscribed), and was hoping someone could maybe
> help me with a question, or an answer to how to set up what I was hoping.
>
> I run a local radio station based on the net, and have two soundscards.
> What I was hoping, was that it was possible to set up these soundcards to
> play out through one jackd.
>
> The first soundcard is the primary (default) one, and used for cueing
> audio before it hits the "airwaves".
> The second soundcard is used for airplay (out to the listeners) and ONLY
> that.
>
> So is there a way to route input from both soundcards through the one and
> same jackd, and route those out to their respective outputs?
>
> For example:
>   card 1 L & R input -> jackd/cue -> card 1 L & R out
>   card 2 L & R input -> jackd/jack-rack -> card 2 L & R out
>
> Is this possible?

no.

for the simple reason that both cards contain a clock, and those two
clocks will deviate ever so slightly. to the point where one card is
waiting on a full buffer, and the other is stalling on an empty buffer,
and then jackd will rightfully explode in your face.

do yourself a favour and get a decent multichannel card, especially
since you're running a public service...




--
Jörn Nettingsmeier

Meister für Veranstaltungstechnik

Audio and event engineer
Ambisonic surround recordings

http://stackingdwarves.net
+49 177 7937487

_______________________________________________
Jack-Devel mailing list
Jack-Devel@...
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org


_______________________________________________
Jack-Devel mailing list
Jack-Devel@...
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org