<br><br><div class="gmail_quote">On Sun, Aug 1, 2010 at 3:08 PM, James Morris <span dir="ltr"><<a href="mailto:james@jwm-art.net">james@jwm-art.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 1 August 2010 19:37, Arvind Venkatasubramanian <<a href="mailto:mdu.arvind@gmail.com">mdu.arvind@gmail.com</a>> wrote:<br>
<br>
> Question on using QJACKctl:<br>
> I was able to create some basic setting, load and read latency that gets<br>
> printed on the terminal. But what do the parameters on the setting tab of<br>
> console pop up mean? No soft mode, monitor, priority, time out etc and the<br>
> options tab. How do I use these options and tine tune them in order to set<br>
> the minimum feasible latency for the application that I intend to develop?<br>
> Above all, if the drop down menu options does not allow me to choose lower<br>
> sampling rates, what command do I use on the CLI to do the setting. Or Do I<br>
> need to edit QJACKctl's .conf file to set lower sampling rates manually.<br>
> My Intel sound card supports sampling rates of 8kHz and 16 kHz. I confirmed<br>
> this by looking into Audacity device ID setting. I know that I am asking<br>
> some basic stuff but my problem is that I do not find the right<br>
> documentation for solving my problems.<br>
<br>
</div>Typing in the console:<br>
<br>
man jackd<br>
<br>
will help you identify the nature of some of the command line options<br>
for jack, as well as give you some clues for matching them to the tabs<br>
within QjackCTL.<br>
<br>
I'm no expert, and all I've ever tried for getting the best (lowest)<br>
latency is by experimenting with seeing how low I can go with the<br>
Frames/Period setting in QjackCTL which is the -p or --period setting<br>
on the command line. If it works and no x-runs occur, then...<br>
...it works :-)<br>
<br>
A method of identifying which command line option to Jack relates to<br>
which setting in QjackCTL is by changing a setting in qjackctl and<br>
stop/starting Jack through qjackCTL while watching the messages log.<br>
<br>
James.<br>
_______________________________________________<br></blockquote><div><br></div><div><br></div><div><b>James:</b></div><div><br></div><div>These are the responses I get from the program upon pinging the commands. I am trying to set a time out: 500 ms and I do not get a successful return flag. I also get some info about sys config which probably comes from SElinux which I have forced it to permissive mode. What would you comment on this?</div>
<div><br></div><div>[Arvind@laspr-01 ~]$ jackd -r -t 500</div><div>jackd 0.118.0</div><div>Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others.</div><div>jackd comes with ABSOLUTELY NO WARRANTY</div>
<div>This is free software, and you are welcome to redistribute it</div><div>under certain conditions; see the file COPYING for details</div><div><br></div><div>jackd 0.118.0</div><div>Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others.</div>
<div>jackd comes with ABSOLUTELY NO WARRANTY</div><div>This is free software, and you are welcome to redistribute it</div><div>under certain conditions; see the file COPYING for details</div><div><br></div><div><br></div>
<div>usage: jackd [ --no-realtime OR -r ]</div><div> [ --realtime OR -R [ --realtime-priority OR -P priority ] ]</div><div> (the two previous arguments are mutually exclusive. The default is --realtime)</div>
<div> [ --name OR -n server-name ]</div><div> [ --no-mlock OR -m ]</div><div> [ --unlock OR -u ]</div><div> [ --timeout OR -t client-timeout-in-msecs ]</div><div> [ --port-max OR -p maximum-number-of-ports]</div>
<div> [ --debug-timer OR -D ]</div><div> [ --no-sanity-checks OR -N ]</div><div> [ --verbose OR -v ]</div><div> [ --clocksource OR -c [ c(ycle) | h(pet) | s(ystem) ]</div><div>
[ --replace-registry ]</div><div> [ --silent OR -s ]</div><div> [ --version OR -V ]</div><div> [ --nozombies OR -Z ]</div><div> -d backend [ ... backend args ... ]</div>
<div> Available backends may include: alsa, dummy, freebob, firewire, net, oss, sun, or portaudio.</div><div><br></div><div> jackd -d backend --help</div><div> to display options for each backend</div>
<div><br></div><div>[Arvind@laspr-01 ~]$ jackd -t 500</div><div>jackd 0.118.0</div><div>Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others.</div><div>jackd comes with ABSOLUTELY NO WARRANTY</div>
<div>This is free software, and you are welcome to redistribute it</div><div>under certain conditions; see the file COPYING for details</div><div><br></div><div><br></div><div>JACK is running in realtime mode, but you are not allowed to use realtime scheduling.</div>
<div><br></div><div>After applying these changes, please re-login in order for them to take effect.</div><div><br></div><div><font class="Apple-style-span" color="#FF0000"><b>You don't appear to have a sane system configuration.</b></font> It is very likely that you</div>
<div>encounter xruns. Please apply all the above mentioned changes and start jack again!</div><div>[Arvind@laspr-01 ~]$ </div><div> </div></div>