First version of NetJack2 is out

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

First version of NetJack2 is out

by romain moret :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi everyone,

After a few weeks of development, the first version of NetJack2 is out.

It is a version of NetJack redesigned for Jack2.
You'll find there all features included in NetJack(1), except the
transport for now...
You can get it on the current svn (trunk). Anyone who wants to test it is
welcome, all you need is two computer and a classical wired network.

We are waiting for any return about this new stuff, so don't hesitate to
communicate any bug or idea.

All the info you need are in :
http://trac.jackaudio.org/wiki/WalkThrough/User/NetJack2

Regards,

romain

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

Re: First version of NetJack2 is out

by Oliver Oli-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

very nice!

is there a chance that it will be integrated in the jack osx package
soon? or should i try to grab jack2 from svn and compile it on osx?

On Tue, Jun 10, 2008 at 5:54 PM, romain moret <moret@...> wrote:

> Hi everyone,
>
> After a few weeks of development, the first version of NetJack2 is out.
>
> It is a version of NetJack redesigned for Jack2.
> You'll find there all features included in NetJack(1), except the
> transport for now...
> You can get it on the current svn (trunk). Anyone who wants to test it is
> welcome, all you need is two computer and a classical wired network.
>
> We are waiting for any return about this new stuff, so don't hesitate to
> communicate any bug or idea.
>
> All the info you need are in :
> http://trac.jackaudio.org/wiki/WalkThrough/User/NetJack2
>
> Regards,
>
> romain
>
> _______________________________________________
> 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

Re: First version of NetJack2 is out

by Geoff Beasley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

for those interested I installed jackmp-svn on both my production machines
yesterday and jack2 worked a treat ! jack performance was significantly  
improved as well.64 channels of I/O was no issue and the new console
interface is very good. waf seems a nice way to build also. i was impressed.

had to regress tho because no transport yet, but looking forward to when i can
use permanently.

great to see already impressive softs getting the dev attention they deserve

many thanks to all for some splendid work.

best,

g.


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

Re: First version of NetJack2 is out

by Stéphane Letz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Le 12 juin 08 à 23:11, Geoff Beasley a écrit :

> for those interested I installed jackmp-svn on both my production  
> machines
> yesterday and jack2 worked a treat ! jack performance was  
> significantly
> improved as well.64 channels of I/O was no issue and the new console
> interface is very good. waf seems a nice way to build also. i was  
> impressed.
>
> had to regress tho because no transport yet, but looking forward to  
> when i can
> use permanently.
>
> great to see already impressive softs getting the dev attention  
> they deserve
>
> many thanks to all for some splendid work.
>
> best,
>
> g.
>

Thanks!  I'm sure Romain will be happy to know it worked for you.

You said on #jack irc  that you had some issues using FST?  Can you  
ellaborate on that?

Thanks

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

Re: First version of NetJack2 is out

by Edson Pereira :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Romain,

I have an application where I need to use two soundcards. An external
USB soundcard and an internal soundcard. The external interface is
configured as the primary interface for jack, which is run as

jackd -R -P 99 -d alsa -d hw:1 -p 4

The external soundcard is connected to a quadrature radio receiver. The
quadradure audio is processed using a jack-aware software radio (SDR)
application (DttSP). To get the demodulated audio. I am trying to use
the audioadapter module (jack_load audioadapter). The module correctly
acquires que default internal soundcard. I am running ubuntu 8.04.1 with
the realtime kernel on an IBM thinkpad laptop. I am part of the audio
group and have setup /etc/security/limits.conf as:

sudo su -c 'echo @audio - rtprio 99 >> /etc/security/limits.conf'
sudo su -c 'echo @audio - memlock 250000 >> /etc/security/limits.conf'
sudo su -c 'echo @audio - nice -10 >> /etc/security/limits.conf'


After I connect all the ports, the setup works, but I get a lot of error
messages as show below.

../linux/alsa/JackAlsaAdapter.h:308, reading samples : Broken pipe(-32)
../linux/alsa/JackAlsaAdapter.h:400, w3 : Broken pipe(-32)
../linux/alsa/JackAlsaAdapter.h:400, w3 : Broken pipe(-32)
../linux/alsa/JackAlsaAdapter.h:400, w3 : Broken pipe(-32)
../linux/alsa/JackAlsaAdapter.h:308, reading samples : Broken pipe(-32)
../linux/alsa/JackAlsaAdapter.h:400, w3 : Broken pipe(-32)
../linux/alsa/JackAlsaAdapter.h:400, w3 : Broken pipe(-32)
../linux/alsa/JackAlsaAdapter.h:308, reading samples : Broken pipe(-32)
../linux/alsa/JackAlsaAdapter.h:400, w3 : Broken pipe(-32)
../linux/alsa/JackAlsaAdapter.h:400, w3 : Broken pipe(-32)
../linux/alsa/JackAlsaAdapter.h:400, w3 : Broken pipe(-32)
../linux/alsa/JackAlsaAdapter.h:400, w3 : Broken pipe(-32)
...

I can hear an interruption in the audio stream whenever the error
message is printed, which I suspect it means some underrun or overrun.
Reading the source code for JackAlsaAdapter.h, I can see that the
funcion readi or writei is returnig something less than 0 (i.e., an error).

Does anyone know what could be causing the error? Is there anything I
could do to improve the system stability?

Regards,

-- Edson

romain moret wrote:

>Hi everyone,
>
>After a few weeks of development, the first version of NetJack2 is out.
>
>It is a version of NetJack redesigned for Jack2.
>You'll find there all features included in NetJack(1), except the
>transport for now...
>You can get it on the current svn (trunk). Anyone who wants to test it is
>welcome, all you need is two computer and a classical wired network.
>
>We are waiting for any return about this new stuff, so don't hesitate to
>communicate any bug or idea.
>
>All the info you need are in :
>http://trac.jackaudio.org/wiki/WalkThrough/User/NetJack2
>
>Regards,
>
>romain
>
>_______________________________________________
>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

Re: First version of NetJack2 is out

by Stéphane Letz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Le 21 juil. 08 à 14:04, Edson Pereira a écrit :

>
> Hi Romain,
>
> I have an application where I need to use two soundcards. An  
> external USB soundcard and an internal soundcard. The external  
> interface is configured as the primary interface for jack, which is  
> run as
>
> jackd -R -P 99 -d alsa -d hw:1 -p 4
>
> The external soundcard is connected to a quadrature radio receiver.  
> The quadradure audio is processed using a jack-aware software radio  
> (SDR) application (DttSP). To get the demodulated audio. I am trying  
> to use the audioadapter module (jack_load audioadapter). The module  
> correctly acquires que default internal soundcard. I am running  
> ubuntu 8.04.1 with the realtime kernel on an IBM thinkpad laptop. I  
> am part of the audio group and have setup /etc/security/limits.conf  
> as:
>
> sudo su -c 'echo @audio - rtprio 99 >> /etc/security/limits.conf'
> sudo su -c 'echo @audio - memlock 250000 >> /etc/security/limits.conf'
> sudo su -c 'echo @audio - nice -10 >> /etc/security/limits.conf'
>
>
> After I connect all the ports, the setup works, but I get a lot of  
> error messages as show below.
>
> ../linux/alsa/JackAlsaAdapter.h:308, reading samples : Broken  
> pipe(-32)
> ../linux/alsa/JackAlsaAdapter.h:400, w3 : Broken pipe(-32)
> ../linux/alsa/JackAlsaAdapter.h:400, w3 : Broken pipe(-32)
> ../linux/alsa/JackAlsaAdapter.h:400, w3 : Broken pipe(-32)
> ../linux/alsa/JackAlsaAdapter.h:308, reading samples : Broken  
> pipe(-32)
> ../linux/alsa/JackAlsaAdapter.h:400, w3 : Broken pipe(-32)
> ../linux/alsa/JackAlsaAdapter.h:400, w3 : Broken pipe(-32)
> ../linux/alsa/JackAlsaAdapter.h:308, reading samples : Broken  
> pipe(-32)
> ../linux/alsa/JackAlsaAdapter.h:400, w3 : Broken pipe(-32)
> ../linux/alsa/JackAlsaAdapter.h:400, w3 : Broken pipe(-32)
> ../linux/alsa/JackAlsaAdapter.h:400, w3 : Broken pipe(-32)
> ../linux/alsa/JackAlsaAdapter.h:400, w3 : Broken pipe(-32)
> ...
>
> I can hear an interruption in the audio stream whenever the error  
> message is printed, which I suspect it means some underrun or  
> overrun. Reading the source code for JackAlsaAdapter.h, I can see  
> that the funcion readi or writei is returnig something less than 0  
> (i.e., an error).
>
> Does anyone know what could be causing the error? Is there anything  
> I could do to improve the system stability?
>
> Regards,
>
> -- Edson
>

Interesting to see the "audio adapter" used in another context (that  
is not with the network stuff)

The ALSA audio adapter is still not complete, but we just added a -n  
(period)  parameter (SVN rev 2711). The  "Broken pipe(-32)" message  
usually happens when the driver cannot keep up probably because of the  
default period = 2 value. Try n = 3 using:

jack_load audioadapter -i "-n 3"

Please report what happens, we are also interested to know if the  
"resampling" adaptation code works as expected.

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

Re: First version of NetJack2 is out

by Edson Pereira :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Letz,

I've tried "-n 3" with the latest svn code, but am still getting the
same behavior.

# /usr/local/sdrstation/bin/jackd -R -P 99 -d alsa -d hw:1  &
jackdmp 1.90
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2008 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK server starting in realtime mode with priority 99
Using ALSA driver USB-Audio running on Burr-Brown from TI
               USB Audio CODEC  at usb-0000:00:1d.1-2, full s
ALSA: final selected sample format for capture: 16bit little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 16bit little-endian
ALSA: use 2 periods for playback

# /usr/local/sdrstation/bin/jack_load -i "-n 3" audioadapter
inputs : 2d, outputs : 2d
Audio Interface Description :
Sampling Frequency : 48000, Sample Format : S16_LE, buffering : 1024
nperiod : 3
Software inputs :  0, Software outputs :  0
Hardware inputs :  2, Hardware outputs :  2
Channel inputs  :  2, Channel outputs  :  2
Card info (address : 0xb6ab0220)
        ID         = I82801CAICH3
        Driver     = ICH
        Name       = Intel 82801CA-ICH3
        LongName   = Intel 82801CA-ICH3 with CS4299 at irq 11
        MixerName  = Cirrus Logic CS4299 rev 6
        Components = AC97a:43525936
--------------
audioadapter is running.
client name = audioadapter
no message buffer overruns
root@ep05:/home/edson# ../linux/alsa/JackAlsaAdapter.h:402, w3 : Broken
pipe(-32)
../linux/alsa/JackAlsaAdapter.h:402, w3 : Broken pipe(-32)
../linux/alsa/JackAlsaAdapter.h:402, w3 : Broken pipe(-32)
../linux/alsa/JackAlsaAdapter.h:402, w3 : Broken pipe(-32)
alsa_driver_xrun_recovery


**** alsa_pcm: xrun of at least 0.114 msecs


JackAudioDriver::ProcessAsync: read error, skip cycle
alsa_driver_xrun_recovery


**** alsa_pcm: xrun of at least 0.054 msecs

This time I got some xruns...

Regards,

-- Edson

Stéphane Letz wrote:

>
> Le 21 juil. 08 à 14:04, Edson Pereira a écrit :
>
>>
>> Hi Romain,
>>
>> I have an application where I need to use two soundcards. An  
>> external USB soundcard and an internal soundcard. The external  
>> interface is configured as the primary interface for jack, which is  
>> run as
>>
>> jackd -R -P 99 -d alsa -d hw:1 -p 4
>>
>> The external soundcard is connected to a quadrature radio receiver.  
>> The quadradure audio is processed using a jack-aware software radio  
>> (SDR) application (DttSP). To get the demodulated audio. I am trying  
>> to use the audioadapter module (jack_load audioadapter). The module  
>> correctly acquires que default internal soundcard. I am running  
>> ubuntu 8.04.1 with the realtime kernel on an IBM thinkpad laptop. I  
>> am part of the audio group and have setup /etc/security/limits.conf  as:
>>
>> sudo su -c 'echo @audio - rtprio 99 >> /etc/security/limits.conf'
>> sudo su -c 'echo @audio - memlock 250000 >> /etc/security/limits.conf'
>> sudo su -c 'echo @audio - nice -10 >> /etc/security/limits.conf'
>>
>>
>> After I connect all the ports, the setup works, but I get a lot of  
>> error messages as show below.
>>
>> ../linux/alsa/JackAlsaAdapter.h:308, reading samples : Broken  pipe(-32)
>> ../linux/alsa/JackAlsaAdapter.h:400, w3 : Broken pipe(-32)
>> ../linux/alsa/JackAlsaAdapter.h:400, w3 : Broken pipe(-32)
>> ../linux/alsa/JackAlsaAdapter.h:400, w3 : Broken pipe(-32)
>> ../linux/alsa/JackAlsaAdapter.h:308, reading samples : Broken  pipe(-32)
>> ../linux/alsa/JackAlsaAdapter.h:400, w3 : Broken pipe(-32)
>> ../linux/alsa/JackAlsaAdapter.h:400, w3 : Broken pipe(-32)
>> ../linux/alsa/JackAlsaAdapter.h:308, reading samples : Broken  pipe(-32)
>> ../linux/alsa/JackAlsaAdapter.h:400, w3 : Broken pipe(-32)
>> ../linux/alsa/JackAlsaAdapter.h:400, w3 : Broken pipe(-32)
>> ../linux/alsa/JackAlsaAdapter.h:400, w3 : Broken pipe(-32)
>> ../linux/alsa/JackAlsaAdapter.h:400, w3 : Broken pipe(-32)
>> ...
>>
>> I can hear an interruption in the audio stream whenever the error  
>> message is printed, which I suspect it means some underrun or  
>> overrun. Reading the source code for JackAlsaAdapter.h, I can see  
>> that the funcion readi or writei is returnig something less than 0  
>> (i.e., an error).
>>
>> Does anyone know what could be causing the error? Is there anything  
>> I could do to improve the system stability?
>>
>> Regards,
>>
>> -- Edson
>>
>
> Interesting to see the "audio adapter" used in another context (that  
> is not with the network stuff)
>
> The ALSA audio adapter is still not complete, but we just added a -n  
> (period)  parameter (SVN rev 2711). The  "Broken pipe(-32)" message  
> usually happens when the driver cannot keep up probably because of
> the  default period = 2 value. Try n = 3 using:
>
> jack_load audioadapter -i "-n 3"
>
> Please report what happens, we are also interested to know if the  
> "resampling" adaptation code works as expected.
>
> Stephane


_______________________________________________
Jack-Devel mailing list
Jack-Devel@...
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
LightInTheBox - Buy quality products at wholesale price