[Jack-Devel] Jack Problems

Anders Genell anders.genell at gmail.com
Sat Mar 23 10:02:50 CET 2019



> 23 mars 2019 kl. 09:45 skrev Holger Marzen <holger at marzen.de>:
> 
>> On Fri, 22 Mar 2019, liebrecht at grossmann-venter.com wrote:
>> 
>> I havent been on an audio related usergroup where anything positive has been
>> said (except largely what I posted) about jack. By large 95% of users complain
>> about jack.
> 
> Many people can't handle if they get too many screws they can turn. They
> see Windows, they can increase the buffer size and not more, they are
> happy.
> 
> But that should be no reason to distribute a "simplejackd" that's
> hardcoded to use the ALSA backend, 2 buffers and the same audio adapter
> for in and out.
> 

Sorry to barge in - I don’t really have anything to add as such but I wanted to say that on the one hand I can understand the frustration about pulse, alsa and jack - it took me a very long time to get to grips with Linux audio. On the other hand now that I have waded through an expansive marsh of online documentation, mail list and forum posts and done a lot of trial and error, I very much prefer the vastly superior configurability of linux audio to the mysteries within Windows. Windows works fine for web browsing, Skype calls etc, but is horrible for any advanced audio routing unless it is directly hardware supported (RME has their nice mixer/router system eg). I suppose it’s all down to a combination of learning curve and personal taste...

>> If I cannot make sense of it and become an "expert" who will unless they have
>> special information. Do the expert study the coded, basically become a
>> developer. ?
>> 
>> With software, a lack of proper specification and scriptable advice, leads to
>> no one being able to come to grips unless they go study the code - even if the
>> application is dead simple. I dont want to do that and shouldnt need to as
>> just need to be a user in this case that wants to become an expert if
>> possible.
> 
> As I wrote before: Most of the confusion results in the many audio
> architectures available for Linux. That's one of the reasons for audio
> oriented Linux distributions.
> 
> But the other way (using my main PC for audio, too) is possible. I did
> it and after I understood that Pulsaudio can be a problem I configured
> it to
> 
> - not autospawn
> - output via jackd
> 
> and start a script automaticall when logging in that handles it all for
> me. There are many, many other ways to do it but I am a more technical
> guy and want it simple and reproducable.
> 
> -- snip --
> 
> #!/bin/bash
> 
> FREQ=48000
> BUFFERS=2
> PERIODS=128
> PRIO=90
> 
> killall -9 pulseaudio
> killall -9 jackd
> killall -9 alsa_out
> killall -9 jack_mixer
> killall -9 jack_thru
> killall -9 jack-plumbing
> 
> sleep 1
> 
> aplay -l | grep CODEC 2>&1 >/dev/null
> RC=$?
> 
> if [ $RC = 0 ]
> then
>  HW=CODEC
> else
>  aplay -l | grep USB 2>&1 >/dev/null
>  RC=$?
> 
>  if [ $RC = 0 ]
>  then
>    HW=USB
>  else
>    HW=PCH
>  fi
> fi
> 
> /usr/bin/jackd -P$PRIO -p512 -t2000 -dalsa \
>  -r$FREQ -p$PERIODS -n$BUFFERS -Xseq -dhw:$HW \
>> /tmp/jackd-hm.log 2>&1 &
> JACKPID=$!
> 
> jack_wait -w
> 
> pulseaudio --exit-idle-time=-1 -D
> PULSEPID=$!
> 
> sleep 1
> 
> jack_thru main &
> JACKTHRUPID=$!
> 
> xfce4-terminal -T jack-plumbing -e ~/scripts/jack-plumbing.sh &
> JACKPLUMBINGPID=$!
> 
> wait
> -- snap --

That is a brilliant script that I may just implement straight off the shelf!! Thanks!!

Regards,
Anders


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



More information about the Jackaudio mailing list