Thank you Christoph.
Stellar summary that can be of use to many and most importantly
arguments concisely expressed.
Exactly as I see it, but did not formulate it as well as you did.
This post has been a great help to me and definitely settles the choice
I will make thanks.
Christoph Kuhr wrote:
> Hey all,
>
> until now, I have to admit, I never heard of Sonys solution. And I
> don't
> think it will become relevant.
>
> The following is my opinion, fuled by some presentations and
> discussions
> from the last AES convention.
>
> AES67 + ST2110
> vs.
> AVB
> are Beta vs VHS in my opinion.
>
> Dante will be overcome as soon as people realize, that point to point
> connections are obsolete and open standards are better suited for such
> endevours.
> A transformation of the mindset is required and slowly coming.
>
> However, Meyersound, L'Acoustics and d&b Audio have set AVB as the
> standard for sound reinforcement systems. done.
> AVB has become the standard for automotive networking as well. done.
>
> AES67 is not specified for IPv6. With the stupidest of all
> explanations:
> we don't need it.
> AVB is agnostic to it, because it is layer 2. Yes, you would need an
> IPv6 gateway...
>
> AVB takes so long to get to the market, because it is trying to provide
> the best solution for packet based networks. That requires hardware
> support, which is not that trivial. AES67 is just some solution among
> others, this is a relabeled set of VoIP standards with some extensions
> (without proper standardized discovery mechanisms (SAP, ZeroConf, or
> whatever...) - why specifying AES67, when interoperability is not the
> goal???).
> AVB provides deterministic networking! you know what will happen!
> But this results in long development of reliable equipment, that
> conforms to the standards.
> Interoperability was also a big issue for AVB, but the MILAN protocol
> handles this now.
>
> But for educational purposes, AES67 is the best way to learn about
> Audio
> over IP. You can actually use VLC.
>
> My 50 cents...
>
> BR,
> Ck
>
> Am 23. Dezember 2018 01:40:17 MEZ schrieb
> liebrecht(a)grossmann-venter.com:
>
> Correction to my mail:
> I think I meant Ultramac not ultranet was the Sony invention
> licensed
> out, anyway, I quoted from memory so it might not be right, but I
> gave
> up on those protocols over AVB.
>
> ------------------------------------------------------------------------
> Jack-Devel mailing list
> Jack-Devel(a)lists.jackaudio.org
> http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
>
>
> --
> Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
Hi everyone,
after scratching my head for a long time to make systemd behave when
running jack as a service, I thought I'd share my findings:
Example service file:
[Unit]
Description=JACK Audio Connection Kit
After=sound.target
After=ntp.service
After=time-sync.target
Before=jackd.target
Requires=jackd.target
[Service]
EnvironmentFile=-/your/config/file/containing/JACKD_OPTIONS
LimitRTPRIO=85
LimitMEMLOCK=700000000
User=nettings
Environment="DBUS_SESSION_BUS_ADDRESS=unix:path=/run/dbus/system_bus_socket"
ExecStartPre=/bin/sleep 10
ExecStart=/usr/bin/jackd $JACKD_OPTIONS
RestartSec=5
Restart=on-failure
[Install]
WantedBy=multi-user.target
So it's easy to start a service as a user, but that user's environment
is not automatically pulled in. That means even though user nettings
does have the necessary permissions in /etc/security/limits.conf, you
still need to spell them out for systemd.
Another thing to note is that at least on current raspbian, the
time-sync.target is broken. Its promise is to only be triggered after
ntp has worked its magic and the system time is monotonous. However,
I've seen time jumps which combined with cheap USB hardware or the
builtin Raspi sound will hang jack. Hence the ugly sleep.
Final goodness: systemd might try to clean up after you. So when you
have a jackd service started in your name, all is well, until you have
logged in somehow and then closed the last shell, at which point the
janitor from hell will happily clear /dev/shm and with it all your jack
semaphores, leading to instant dumpster fire and silence.
This magic can be avoided by setting
RemoveIPC=no
in /etc/systemd/logind.conf
After clearing these hurdles, I've been quite happy with how systemd
handles jack clients. The usecase here is a number of clients running
in an embedded appliance, and systemd takes care of restoring them when
I cause them to crash, which is good. Not that they crash, but it's good
to have defense in depth.
Figuring out how to order services is hard because you cannot assume a
service is really ready when systemd has fired it off. So I've used a
ExecStartPre script that blocks until a downstream jack port has
appeared in those cases where I want to start clients in a particular
order (matters most for the one job that needs to connect all the ports,
so I let it wait on a test port for each client it needs to connect).
Old-time SysV user here, and granted, systemd has given me many a WTF
moment, but it does its job. Unfortunately, it does too many other jobs
as well, but hey...
--
Jörn Nettingsmeier
Tuinbouwstraat 180, 1097 ZB Amsterdam, Nederland
Tel. +49 177 7937487
Meister für Veranstaltungstechnik (Bühne/Studio), Tonmeister VDT
http://stackingdwarves.net
[replying on the list]
Hi,
On 12/22/18 5:15 PM, jack(a)microfx.de wrote:
> Hey Jörn!
>
> Thanks a lot for sharing this! I will try this tomorrow since I tried to do something similar but always had audible “xruns” / popping (even with setting buffersize to 256).
>
> One question: -/your/config/file/containing/JACKD_OPTIONS <— what’s the content of this file?
It's a file where I keep all changes that are specific to a particular
Raspi box, so that my service files are generic. If you're only
interested in your one studio machine, you might as well not use it and
hardcode the necessary jack options below.
Caveat: while you might think systemd can parse shell syntax, it really
doesn't, its parser is very simple. So you have to make to with simple
KEY=value
pairs, even multiline variables will make it choke.
--
Jörn Nettingsmeier
Tuinbouwstraat 180, 1097 ZB Amsterdam, Nederland
Tel. +49 177 7937487
Meister für Veranstaltungstechnik (Bühne/Studio), Tonmeister VDT
http://stackingdwarves.net
Hi all.
I'm running jackd1 (0.125.0) on debian 9 (stretch) and its
"auto-starting" facility works perfectly whenever I use jack-play. I
now want to use pulseaudio-module-jack, but "pactl load-module
module-jack-sink channels=2" fails (the command returns "Failure:
Module initialization failed" and I see "jack_client_open() failed" in
the journal).
Is this a bug, or is it "intended/expected behaviour"? (I don't
understand how jack-play starts jackd1. Is it dbus magic, or something
else?)
Many thanks, Jaime
Hey!
Using the jack audio toolkit with my pisound DAC on a Raspberry Pi 3 which was a hassle - but I got it running with some hacks.
Now for convenience I added jackd and jack_connect (to route input to output) as a service inside systemd - which works as expected. Before I could easily start jack_capture to record the input. But now it’s not starting anymore unfortunately. I get this error:
jack_capture -c 5 -mb -tm -f flac
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
>>> jack_client_open() failed, status = 0x11
I copied jack_capture also to /usr/locale/bin
My systemd service files:
jack-connect.service —> starts also jackd.service
[Unit]
Description=jack-connect
Wants=jackd.service
After=jackd.service
[Service]
Type=oneshot
ExecStartPre=/bin/sleep 1s
ExecStartPre=/usr/local/bin/jack_connect system:capture_2 system:playback_2
ExecStart=/usr/local/bin/jack_connect system:capture_1 system:playback_1
jackd.service
[Unit]
Description=jackd Unit
[Service]
ExecStart=/usr/local/bin/jackd -t 2000 -P 75 -d alsa -d hw:pisound -r 48000 -p 128 -n 2 -X seq -s
ExecStop=/usr/bin/killall jackd
Can anyone help me with this?
Kind regards
Jan
I really battle to find the optimum solution for ultra low latency
monitoring using Linux.
Since I am using Jack I have a few compatibility questions.
1) Is jack known to be able to work with thunderbolt 3 on Linux ?
2) Thunderbolt included, what is the lowest latency sound transport
format that jack can work within your opinion on Linux
e.g. thunderbolt / AES50 / Ultranet / Madi / etc
This is probably more a MixBus question, but why doesnt MixBus use the
Jack buffersize and sample rate I configure. The two are completely
different. Since MixBus uses jack how can it have different buffersizes
and sampling rates.
I ask this question here because I noticed that there are two jack
daemons running
jackd and
jackbus
and that certainly doesnt look right.
This is a clean installation of AVLinux and all I did was to install
qjackctl
Hi everyone,
I'm having a little trouble understanding what the /beat/, /bar/, and
/tick/ information of the JACK timebase master could be used for by a
client.
The big advantage of supplying the JackPositionBBT information, as far
as I understand it, is that the timebase master is able to communicate a
change of tempo to the clients. Using the sample rate,
/beats_per_minute/, and /ticks_per_beat/ they can change the current
speed while transport is rolling, recalculating the tick size, and
updating their internal frame number to not produce any jumps while
changing tempo.
But for all of this you do not need the /beat/, /bar/, and /tick/
information. In particular, I'm looking at an implementation, which
tries to calculate the current transport position based on these three
values instead of just using the current frame number. This, of course,
does not work since the ticks are (arbitrarily) coarse-graining the
frames within a beat and the provided /tick/ is the last one passed
during the current playback.
The only case I can think of where those three information would be
necessary is looping (/bar/ decreases). But I'm not quite sure how a
client should react to such an event.
So, did I miss an important use case of the BBT information? I certainly
don't not want to introduce new bugs while attempting to fix the JACK
audio driver.
Greetings,
Philipp
I am ditching my windows audio production workstation and need to get
the Linux software under my belt. Cant work with the crashorama and
closed nature of windows anymore. It bytes always in the end.
I therefore have to master Jack asap as it is crucial to the software I
will use (Mixbus by Harrison).
Questions
1) Please suggest a Linux distro that you have found works best with the
current newest Jack release
2) Please give me the best known in-depth tutorial on Jack that will get
me up and running.
3) Please suggest the best to your experience visual connection
interface application that works with jack, e.g. qjackctl etc etc.
Thanks
Dear All,
How can I connect Readable/Writable clients programmatically using API?
I would appreciate any hint or some document to read....
With kind regards,
Robert