vic hug | 26 May 21:00 2015
Picon

FW: jack on OSX


From: xelnagazchild <at> hotmail.com
To: jack-devel-request <at> lists.jackaudio.org
Subject: FW: [Jack-Devel] jack on OSX
Date: Tue, 26 May 2015 20:59:16 +0200

<!-- .ExternalClass .ecxhmmessage P { padding:0px; } .ExternalClass body.ecxhmmessage { font-size:12pt; font-family:Calibri; } -->

From: xelnagazchild <at> hotmail.com
To: letz <at> grame.fr
Subject: RE: [Jack-Devel] jack on OSX
Date: Tue, 26 May 2015 13:30:41 +0200

<!-- .ExternalClass .ecxhmmessage P { padding:0px; } .ExternalClass body.ecxhmmessage { font-size:12pt; font-family:Calibri; } -->
i did attach a crashlog, maybe it didn't make it to the list
Anyway please find it there : https://www.mediafire.com/?n427iy5j7chka04

> Subject: Re: [Jack-Devel] jack on OSX
> From: letz <at> grame.fr
> Date: Tue, 26 May 2015 08:20:07 +0200
> CC: jack-devel <at> lists.jackaudio.org
> To: xelnagazchild <at> hotmail.com
>
> Crash log please?
>
> Stéphane
>
> Le 25 mai 2015 à 19:55, vic hug <xelnagazchild <at> hotmail.com> a écrit :
>
> > i'm asking those questions because, since today, i can't use a game engine named Godot : http://www.godotengine.org/ - it crashes on startup, and it will only launch when i uninstall Jack. The weird thing is that i had Jack installed alongside Godot on my system for some time now. I also tried launching old versions of Godot, and they all crash with a similar looking crashlog.
> > Plus after uninstalling Jack, when emptying the thrash, i get blocked because Jackmp.framework is in use by something in my system - i don't know what.
> > I just tried reinstalling Jack, Godot crashes on launch, uninstalled it, Godot doesn't crash.
> > I installed updates from Apple this weekend concerning commandline tools and XCode and Apple Remote Desktop, so i don't if something could come from here.. I also installed linux-sampler as described here : https://bugs.linuxsampler.org/cgi-bin/show_bug.cgi?id=240 so maybe a conflict there ?... anyway i attach a crashlog, it might be more informative than my babbling...
> > sorry for the flood, thanks in advance
> >
> > From: xelnagazchild <at> hotmail.com
> > To: jack-devel <at> lists.jackaudio.org
> > Date: Mon, 25 May 2015 19:36:21 +0200
> > Subject: Re: [Jack-Devel] jack on OSX
> >
> > To be more accurate, i'm using yosemite (10.10.3)
> >
> > From: xelnagazchild <at> hotmail.com
> > To: jack-devel <at> lists.jackaudio.org
> > Date: Mon, 25 May 2015 19:34:24 +0200
> > Subject: [Jack-Devel] jack on OSX
> >
> > Hey,
> >
> > I was wondering, seeing as the latest distributed compiled package (on http://jackaudio.org/downloads/) for osx is version 0.90, and it is stated as beeing for Snow Leopard ; was wondering if i should try to compile it myself from the 1.9.10 tarball (or even the git repos ?) ; because i'm not very knowledgeable in coding so i'm afraid i have no idea how to compile it. Opening the xcode project in the git repo, then trying to compile it ; leads very fast to a critical " 'aften/aften.h' file not found" error ; and i don't see a "aften" file in the distribution.
> > In short, i do'nt know how stable is the 1.9.10 or Github version, but i'm not sure it is very wise either to use the maybe outdated 0.9 ? but for now, i don't know how i could do else...
> > Thanks in advance,
> > Victor
> >
> > _______________________________________________ Jack-Devel mailing list Jack-Devel <at> lists.jackaudio.orghttp://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
> >
> > _______________________________________________ Jack-Devel mailing list Jack-Devel <at> lists.jackaudio.orghttp://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
> > <Godot_2015-05-25-194213_Macintosh-de-Vic.crash>_______________________________________________
> > Jack-Devel mailing list
> > Jack-Devel <at> lists.jackaudio.org
> > http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
>
_______________________________________________
Jack-Devel mailing list
Jack-Devel <at> lists.jackaudio.org
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
vic hug | 25 May 19:34 2015
Picon

jack on OSX

Hey,

I was wondering, seeing as the latest distributed compiled package (on http://jackaudio.org/downloads/) for osx is version 0.90, and it is stated as beeing for Snow Leopard ; was wondering if i should try to compile it myself from the 1.9.10 tarball (or even the git repos ?) ; because i'm not very knowledgeable in coding so i'm afraid i have no idea how to compile it. Opening the xcode project in the git repo, then trying to compile it ; leads very fast to a critical " 'aften/aften.h' file not found" error ; and i don't see a "aften" file in the distribution.
In short, i do'nt know how stable is the 1.9.10 or Github version, but i'm not sure it is very wise either to use the maybe outdated 0.9 ? but for now, i don't know how i could do else...
Thanks in advance,
Victor
_______________________________________________
Jack-Devel mailing list
Jack-Devel <at> lists.jackaudio.org
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
Wargreen | 23 May 17:30 2015

NetJack2 & transport sync

Hi jack list !

I try to get transport sync via netjack2 for a live music, light and
video show, and :
With the "net" driver, i don't find any option for turn on the transport
sync, so the slave start with "Transport sync : no"
With the "netadapter" internal , the connection seem good, with
"Transport sync : yes" but I got lot of errors on the slave. The log is
here : http://www.phuck.ovh/wargreen/pub/logs/netjack_netadapter_1.log

How to get the transport sync woking ?

Thanks a lot,
Wargreen
Adrian Knoth | 21 May 11:38 2015
Picon

Re: Jack Audio Question

On 05/20/15 11:49, Miguel Martin wrote:

> Hi there,
>
> I'm asking about your API jack audio. I'm not sure if you are the lead
> developers or not, but you're the only emails I could find that
> contributed to this project. I just want to ask: is it possible to
> control application level volume in OS X and Linux? If so, can you give
> me any resources or point me in the right direction?

You are looking for jack-devel <at> . CCed now.

And the answer is no, JACK does not control application level volume, it
just forwards and merges audio streams.

If you want volume control, use a mixer (maybe one of not too many
jack-based mixers), so you can adjust each jack client's volume in one
place.

HTH
André Pinto | 21 May 11:32 2015
Picon

Re: Netjack 2: how to improve reliability by

Dear Leonardo,

Thank you for your reply. I've considered Jacktrip before, but is not an option because it doesn't run on Windows (and I have one Windows laptop at home). I didn't know nj-bridge at all. Where can I find more information about it?

Thanks.
André.



On Thu, May 21, 2015 at 11:26 AM, Leonardo O. Gabrielli <leonardo.o.gabrielli <at> gmail.com> wrote:

Dear Andre,
I have experience with several WiFi 802.11 setups but not with netjack, which IMHO is the least suitable solution. If u want still to go on that way I suggest to increase the period size, to allow the network to hand buffers in and out with shorter deadlines, I guess that should help.

The other way is using jack clients such as jacktrip or nj-bridge. I employed those for networked performances over the internet or wireless and tolerate some jitter, just adjust the buffer size at the expense of latency (not a big deal in your use case). Nj-bridge may be more suitable to you as it instantiate mono directional flows.

Best
Leonardo
http://a3lab.dii.univpm.it/research/wemust


_______________________________________________
Jack-Devel mailing list
Jack-Devel <at> lists.jackaudio.org
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
Tobias Hoffmann | 20 May 13:01 2015

jack_connect with empty string

Hi,

using jack 0.124.1 I happened to do this:
   const char *connect_to="";
   err=jack_connect(client,connect_to,myport);

and expected jack_connect to return an error. To my surprise it 
succeeded and connected "system:capture_1" to myport.

Is this "normal" and/or documented?

AFAICT, the technical reason is
   jack_port_shared_t::alias2="\0"  (resp. alias1)
and jack_get_port_by_name() returns the first such one...

   Tobias
Pawel | 18 May 00:18 2015
Picon

Odp: jackd 0.124.1 require process cb for timebase

workaround is something like (in transport.c)

+int proc(jack_nframes_t frames, void* arg) { return 0; }

int main(int argc, char *argv[])
 {
+	jack_set_process_callback(client, proc, NULL); /* for jack1 */

P.

Dnia Poniedziałek, 18 Maja 2015 00:16 Pawel <xj <at> wp.pl> napisał(a) 
> HI,
> 
> Seems that jackd 0.124.1 require process callback for timebase callback.
> 
> i.e. jack_transport no longer works. workaround:
> 
> Best Regards
> P.
> 
> 
> _______________________________________________
> Jack-Devel mailing list
> Jack-Devel <at> lists.jackaudio.org
> http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
Pawel | 18 May 00:16 2015
Picon

jackd 0.124.1 require process cb for timebase

HI,

Seems that jackd 0.124.1 require process callback for timebase callback.

i.e. jack_transport no longer works. workaround:

Best Regards
P.
André Pinto | 15 May 19:51 2015
Picon

Netjack 2: how to improve reliability by allowing greater latency?

Hello,

I've been playing around with Jack/Netjack and the Opus codec in order to setup a "low latency" WiFi audio stream at home.

After compiling Opus with custom modes and Jack2 with Opus support (both from the master branches of the respective repositories), I was able to run the Master-Slave setup:

Master.
jackd -R -d alsa -d hw:1 -D=false -r44100 -S -n16
jack_load netmanager

Slave:
jackd -R -d net -C0 -P2 -o0 -i0 -O320 -M1200 -l5

+ jack_connect to route the net input on the master to the speakers

But as I was getting quite frequent audio deterioration, with the master showing messages like these:

Packet(s) missing from... -1 1
Wrong packet type : a
JackEngine::XRun: client = SLAVE_HOSTNAME was not finished, state = Running
JackEngine::XRun: client netmanager finished after current callback
JackAudioDriver::ProcessGraphAsyncMaster: Process error
Wrong packet type : a
Packet(s) missing from... -1 1
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackEngine::XRun: client = SLAVE_HOSTNAME was not finished, state = Triggered

I've thought that maybe I should just try increasing the network latency argument on the slave, as, for my use case, I'm happy with latency < 200 ms.

By using something like -l30 (the maximum I'm allowed to set) on the slave I was able to greatly diminish the Process errors (I still get the same lots of wrong packet type and packet missing messages though) but it didn't fix the audio artifacts. Actually sometimes this change makes the playback even worse with ms pauses every second.

So I would like to know if there is any other way to relax the low latency requirement in order to improve playback reliability. Or is there some kind of incompatibility in the configuration I'm passing to both endpoints that is causing these problems?

Thanks!
André.
_______________________________________________
Jack-Devel mailing list
Jack-Devel <at> lists.jackaudio.org
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
Fredrik Olofsson | 8 May 18:15 2015

jack2 crackle sound problem on bbb - jack_bufsize?

dear collected wisdom,
i have a tough problem to solve with jackd messing up my input sound.  it’s a
reoccurring crackling on the input channel that sounds a bit like pulsewave ring
modulation.  i figured out it’s highly dependent on my blocksize settings.
for example:
with -p1024 the distortion starts every 7th minute and lasts for 2min50sec.
with -p512 the distortion sounds slightly different (like with a higher ringmod
freq) and starts every 3min15sec and lasts for ~1min.
with -p256 it appears every 1min45sec and lasts for 40sec.
etc.

after much research i found this...
http://thread.gmane.org/gmane.comp.audio.jackit/28114/focus=28115
and this…
http://music.columbia.edu/pipermail/linux-audio-user/2005-August/025787.html
that i believe describe the same issue.

as suggested in those posts resetting the jack_bufsize makes the distortion go
away.  but only temporarily - it always comes back after exactly the same time!
for now i can let my system reset the buffer after a known time interval, but
that’s a really ugly hack and i’d be happy for suggestions on how to solve this.

below are details of my system.  i compile jack2 from master and it’s all
running under debian wheezy on a beaglebone black.  i use supercollider 3.7 and
a terratec aureon dual usb soundcard.
i’ve also tried with another usb soundcard (C-MEDIA) but then the crackle occurs
on the output instead (and also after longer intervals).  so same issue but
sounds worse.

thank you,
_f

BeagleBoard.org Debian Image 2015-03-01
Linux asdf 3.8.13-bone70 #1 SMP Fri Jan 23 02:15:42 UTC 2015 armv7l GNU/Linux
gcc and g++ version 4.7.2

~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

~$ lsusb
Bus 001 Device 004: ID 0ccd:0077 TerraTec Electronic GmbH Aureon Dual USB

~/jack2$ ./waf configure --alsa
Setting top to                           : /home/debian/jack2 
Setting out to                           : /home/debian/jack2/build 
Checking for 'g++' (C++ compiler)        : /usr/bin/g++ 
Checking for 'gcc' (C compiler)          : /usr/bin/gcc 
Linux detected 
Checking for program 'doxygen'           : not found 
Checking for program 'pkg-config'        : /usr/bin/pkg-config 
Checking for 'alsa' >= 1.0.18            : yes 
Checking for 'libffado' >= 1.999.17      : not found 
Checking for 'libfreebob' >= 1.0.0       : not found 
Checking for 'gtkIOStream' >= 1.4.0      : not found 
Checking for 'eigen3' >= 3.1.2           : not found 
Checking for header windows.h            : not found 
Checking for 'portaudio-2.0' >= 19       : not found 
Checking for header mmsystem.h           : no 
Checking for 'celt' >= 0.11.0            : not found 
Checking for 'celt' >= 0.8.0             : not found 
Checking for 'celt' >= 0.7.0             : not found 
Checking for 'celt' >= 0.5.0             : not found 
Checking for header opus/opus_custom.h   : not found 
Checking for 'opus' >= 0.9.0             : not found 
Checking for 'samplerate' >= 0           : yes 
Checking for 'sndfile' >= 0              : yes 
Checking for library readline            : yes 
Checking for header readline/readline.h  : yes 

==================                      
JACK 1.9.11 svn revision will checked and eventually updated during build
Build with a maximum of 64 JACK clients
Build with a maximum of 768 ports per application
Install prefix                           :  /usr/local 
Library directory                        :  /usr/local/lib 
Drivers directory                        :  /usr/local/lib/jack 
Build debuggable binaries                :  no 
C compiler flags                         :  ['-Wall'] 
C++ compiler flags                       :  ['-Wall'] 
Linker flags                             :  [] 
Build with engine profiling              :  no 
Build with 32/64 bits mixed mode         :  no 
Build standard JACK (jackd)              :  yes 
Build D-Bus JACK (jackdbus)              :  no 
Autostart method                         :  classic 
Build doxygen documentation              :  no 
Enable ALSA driver                       :  yes 
Enable FireWire driver (FFADO)           :  no 
Enable FreeBob driver                    :  no 
Enable IIO driver                        :  no 
Enable Portaudio driver                  :  no 
Enable WinMME driver                     :  no 
Build with CELT                          :  no 
Build Opus netjack2                      :  no 
Build with libsamplerate                 :  yes 
Build with libsndfile                    :  yes 
Build with readline                      :  yes 

~$ tail /etc/security/limits.conf
 <at> audio - memlock 256000
 <at> audio - rtprio 75

~$ sudo jackd -P75 -dalsa -dhw:1,0 -p256 -n3 -r44100 -s &

jackdmp 1.9.11
JACK server starting in realtime mode with priority 75
self-connect-mode is "Don't restrict self connect requests"
creating alsa driver ...
hw:1,0|hw:1,0|256|3|44100|0|0|nomon|swmeter|soft-mode|32bit
configuring for 44100Hz, period = 256 frames (5.8 ms), buffer = 3 periods
ALSA: final selected sample format for capture: 16bit little-endian
ALSA: use 3 periods for capture
ALSA: final selected sample format for playback: 16bit little-endian
ALSA: use 3 periods for playback
_______________________________________________
Jack-Devel mailing list
Jack-Devel <at> lists.jackaudio.org
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
Dan MacDonald | 6 May 01:48 2015
Picon

Haiku JACK

~/src/jack-audio-connection-kit-0.124.1> make
make  all-recursive
make[1]: Entering directory `/boot/home/src/jack-audio-connection-kit-0.124.1'
Making all in libjack
make[2]: Entering directory `/boot/home/src/jack-audio-connection-kit-0.124.1/libjack'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -I../config -I.. -I.. -I../include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall  -g -DJACK_LOCATION=\"/usr/local/bin\" -I../config -I.. -I.. -I../include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall  -g -MT libjack_la-client.lo -MD -MP -MF .deps/libjack_la-client.Tpo -c -o libjack_la-client.lo `test -f 'client.c' || echo './'`client.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../config -I.. -I.. -I../include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -I../config -I.. -I.. -I../include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjack_la-client.lo -MD -MP -MF .deps/libjack_la-client.Tpo -c client.c -o libjack_la-client.o
In file included from /boot/system/develop/headers/bsd/signal.h:9:0,
                 from /boot/system/develop/headers/posix/sys/wait.h:10,
                 from /boot/system/develop/headers/bsd/sys/wait.h:9,
                 from /boot/system/develop/headers/posix/stdlib.h:14,
                 from /boot/system/develop/headers/bsd/stdlib.h:9,
                 from ../jack/jslist.h:27,
                 from client.c:41:
/boot/system/develop/headers/posix/signal.h:351:39: fatal error: arch/1/signal.h: No such file or directory
 #include __HAIKU_ARCH_HEADER(signal.h)
                                       ^
compilation terminated.
make[2]: *** [libjack_la-client.lo] Error 1
make[2]: Leaving directory `/boot/home/src/jack-audio-connection-kit-0.124.1/libjack'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/boot/home/src/jack-audio-connection-kit-0.124.1'
make: *** [all] Error 2

~/src/jack-audio-connection-kit-0.124.1> locate signal.h
/boot/home/src/haiku/headers/compatibility/bsd/signal.h
/boot/home/src/haiku/headers/posix/arch/arm/signal.h
/boot/home/src/haiku/headers/posix/arch/m68k/signal.h
/boot/home/src/haiku/headers/posix/arch/mipsel/signal.h
/boot/home/src/haiku/headers/posix/arch/ppc/signal.h
/boot/home/src/haiku/headers/posix/arch/x86_64/signal.h
/boot/home/src/haiku/headers/posix/arch/x86/signal.h
/boot/home/src/haiku/headers/posix/signal.h
/boot/home/src/haiku/headers/private/kernel/ksignal.h
/boot/home/src/haiku/src/add-ons/kernel/network/protocols/l2cap/l2cap_signal.h
/boot/system/data/gtk-doc/html/gobject/chapter-signal.html
/boot/system/data/gtk-doc/html/gobject/signal.html
/boot/system/develop/headers/bsd/signal.h
/boot/system/develop/headers/posix/arch/arm/signal.h
/boot/system/develop/headers/posix/arch/m68k/signal.h
/boot/system/develop/headers/posix/arch/mipsel/signal.h
/boot/system/develop/headers/posix/arch/ppc/signal.h
/boot/system/develop/headers/posix/arch/x86_64/signal.h
/boot/system/develop/headers/posix/arch/x86/signal.h
/boot/system/develop/headers/posix/signal.h
/boot/system/develop/headers/private/kernel/ksignal.h
/boot/system/develop/headers/x86/glib-2.0/gobject/gsignal.h
/boot/system/develop/headers/x86/Qt/q3signal.h
/boot/system/develop/headers/x86/Qt3Support/q3signal.h


Thanks JACK devs!

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

Gmane