KX mini manual

Unofficial support for the KXStudio Linux distribution and applications.
More info at http://kxstudio.linuxaudio.org/

Moderators: khz, MattKingUSA

danboid
Established Member
Posts: 1305
Joined: Sun Aug 26, 2012 11:28 am
Location: England

Re: KX mini manual

Post by danboid »

I have no real interest in LMMS until it acquires what I deem as basic features - stuff like undo and non 4/4 time signatures but thanks for pointing that out F!
Are you new to Linux Audio? This manual explains how to install KXStudio, set up and use JACK, mimimize latency, lists the best Linux AV apps and much more all in a concise and easy to understand format.

http://wiki.linuxaudio.org/wiki/kxstudio_manual

danboid
Established Member
Posts: 1305
Joined: Sun Aug 26, 2012 11:28 am
Location: England

Re: KX mini manual

Post by danboid »

Ye holy JACK configuration chapter has arrived!

http://www.wiki.linuxmusicians.com/doku ... figuration

I was considering doing another chapter on JACK but now I'm thinking I've just about covered everything a newb would need to know to get going. If they need further help they're best referring to the in depth help on the wiki or asking on here.

That doesn't mean the manual is finished though. We still need to cover Claudia, LADISH studios, basic package management and installing the GFX drivers etc yet.
Are you new to Linux Audio? This manual explains how to install KXStudio, set up and use JACK, mimimize latency, lists the best Linux AV apps and much more all in a concise and easy to understand format.

http://wiki.linuxaudio.org/wiki/kxstudio_manual

wolftune
Established Member
Posts: 1308
Joined: Fri Feb 24, 2012 7:40 pm
Location: Portland, OR
Contact:

Re: KX mini manual

Post by wolftune »

danboid wrote:I have no real interest in LMMS until it acquires what I deem as basic features - stuff like undo and non 4/4 time signatures but thanks for pointing that out F!
Undo is absolutely a must. Otherwise, I love, Dan, how you consider non-4/4 time a "basic feature". I acknowledge that there is a use for something that is 4/4-only but I am still appalled at the entire idea that these tools force music to fit certain boxes like that.

At any rate, I did not make any edits this time to the chapter. I do want to just add that I want to see a section about how to set the Extra Latency, at least with links (such as to the Audacity tutorial's nice documentation on this). Setting that is valuable.

Also, Hardware Aliases should be on (as it is in the screenshot). Perhaps if we can make sure this is done by default in KXStudio, then there's no need to document it otherwise…
Aaron Wolf
Music teacher, scholar
http://wolftune.com

danboid
Established Member
Posts: 1305
Joined: Sun Aug 26, 2012 11:28 am
Location: England

Re: KX mini manual

Post by danboid »

I most certainly do think non 4/4 time is a basic feature. 6/8 and 3/4 are common in traditional and popular western music. Its also disappointing that neither Ardour nor qtractor can handle gradual changes in tempo for MIDI tracks. Rosegarden and Muse don't suffer the same problem fortunately.

I've updated the JACK configuration page to include info on setting extra latency with a link to a guide on Latency from the LA wiki. The Audacity guide (this one http://manual.audacityteam.org/o/man/latency_test.html ?) may be clearer in some respects but it doesn't tell you how to convert latency from ms to frames as required by Cadence/JACK whereas jack_delay gives output in frames and ms.
Are you new to Linux Audio? This manual explains how to install KXStudio, set up and use JACK, mimimize latency, lists the best Linux AV apps and much more all in a concise and easy to understand format.

http://wiki.linuxaudio.org/wiki/kxstudio_manual

danboid
Established Member
Posts: 1305
Joined: Sun Aug 26, 2012 11:28 am
Location: England

Re: KX mini manual

Post by danboid »

jack_delay doesn't seem to be on the KX iso presently - maybe it should be or is there another app included already that measures latency in frames?

EDIT

In fact, what'd be better Mr F would be if Cadence got a new button in the Extra Latency section that would run jack_delay and enter the correct latency values to be used against the current settings. Good idea?
Are you new to Linux Audio? This manual explains how to install KXStudio, set up and use JACK, mimimize latency, lists the best Linux AV apps and much more all in a concise and easy to understand format.

http://wiki.linuxaudio.org/wiki/kxstudio_manual

Thad E Ginathom
Established Member
Posts: 369
Joined: Fri Sep 23, 2011 1:03 pm

Re: KX mini manual

Post by Thad E Ginathom »

danboid wrote:Ye holy JACK configuration chapter has arrived!

http://www.wiki.linuxmusicians.com/doku ... figuration
Great. I've learned a couple of things from this and the previous chapter. Just simple things, but they can be the hardest to realise!

Pablo
Established Member
Posts: 1270
Joined: Thu Apr 17, 2008 9:57 pm

Re: KX mini manual

Post by Pablo »

jack_delay doesn't seem to be on the KX iso presently - maybe it should be or is there another app included already that measures latency in frames?
Jack_delay is included in recent versions of jack (since one year or two). The command is "jack_iodelay"

wolftune
Established Member
Posts: 1308
Joined: Fri Feb 24, 2012 7:40 pm
Location: Portland, OR
Contact:

Re: KX mini manual

Post by wolftune »

right, jack_iodelay is the best option. What I want to see (and I don't know enough to write the docs myself) is a better KXStudio focused instructions for this. Setting this is a an important step and shouldn't be ignored. But I don't want to point people to those long explanations. I want a two paragraph at most thing that just tells people: do A B C and then your extra latency will be set and your overdubs will be lined up in all programs that recognize this
  • I'm happy to help create such documentation, but I'd need help. I don't understand how to do it clearly enough myself.

    Yes, the eventual ideal would be even better automation of this process, like where you just make the physical connections and push a button. I want docs that get as close as we can to that right now.
Aaron Wolf
Music teacher, scholar
http://wolftune.com

danboid
Established Member
Posts: 1305
Joined: Sun Aug 26, 2012 11:28 am
Location: England

Re: KX mini manual

Post by danboid »

Thanks for pointing that out pablo! Indeed, KX already includes jack_iodelay so I shall test that tomorrow.

F: Thats OK. It was just an idea an I wasn't that set on it after thinking about it a bit more. I don't think it'd make things that much easier by integrating it into Cadence as its a very simple command anyway. I don't think jack_iodelay has any switches.

Wolftune- I agree that the doc I've linked to at the mo is at bit too much info on latency so we'll get that replaced with something much more concise shortly.
Are you new to Linux Audio? This manual explains how to install KXStudio, set up and use JACK, mimimize latency, lists the best Linux AV apps and much more all in a concise and easy to understand format.

http://wiki.linuxaudio.org/wiki/kxstudio_manual

Thad E Ginathom
Established Member
Posts: 369
Joined: Fri Sep 23, 2011 1:03 pm

Re: KX mini manual

Post by Thad E Ginathom »

Does

$ man jack_iodelay

help you guys any (yes: it is there)? I only mention it because there is a tendency to forget the dear old man pages. In my early Unix days I did most of my learning from them.

danboid
Established Member
Posts: 1305
Joined: Sun Aug 26, 2012 11:28 am
Location: England

Re: KX mini manual

Post by danboid »

I've got jack_iodelay working but unfortunately it doesn't auto-connect its input and output to your JACK IOs. I say unfortunately because we haven't covered making and breaking JACK connections with Catia or Claudia in the manual yet and the reader needs to know how to do that to use jack_iodelay so maybe we'll need a little, dedicated chapter on using jack_iodelay that will come after we've explained how to make JACK connections.

In my case, setting the extra latency only shaves off 27 frames (which equals using 13 for both Latency IO values) which is inperceivable and effectively makes no difference to the the roundtrip latency. If everyone's results are similar to mine, I wouldn't say it was worth mentioning jack_iodelay.

Is it worth having a new chapter on minimising latency or could this scare off newbs?
Are you new to Linux Audio? This manual explains how to install KXStudio, set up and use JACK, mimimize latency, lists the best Linux AV apps and much more all in a concise and easy to understand format.

http://wiki.linuxaudio.org/wiki/kxstudio_manual

Thad E Ginathom
Established Member
Posts: 369
Joined: Fri Sep 23, 2011 1:03 pm

Re: KX mini manual

Post by Thad E Ginathom »

I don't think it would scare off newbs. I get fed up with hifi people talking about minimising latency, when it doesn't even matter to them, but Isn't it an important thing in studio work from the beginning?

danboid
Established Member
Posts: 1305
Joined: Sun Aug 26, 2012 11:28 am
Location: England

Re: KX mini manual

Post by danboid »

Yes, it does matter here and its really not a compicated procedure - or so I thought until I tried using jack_iodelay with my 2i4 USB device and I just get nonsense.

Thankfully, male (the NON dev) has got a 2i4 now too so hopefully he can explain what I'm doing wrong. I need to know how this works for USB devices too before I write anything up.

EDIT

I've now updated the JACK config page and the TOC to refer to an upcoming chapter on using jack_iodelay
Are you new to Linux Audio? This manual explains how to install KXStudio, set up and use JACK, mimimize latency, lists the best Linux AV apps and much more all in a concise and easy to understand format.

http://wiki.linuxaudio.org/wiki/kxstudio_manual

danboid
Established Member
Posts: 1305
Joined: Sun Aug 26, 2012 11:28 am
Location: England

Re: KX mini manual

Post by danboid »

I've got iodelay working on my Scarlett 2i4 now - turns out I just didn't have 'Direct Monitor' fully set to playback which results in highly variable latency readings. Thanks for pointing that out male!

The combined extra loopback latency of my USB device is 320 frames so setting the latencies to 160 knocks a millisecond or so off my latency and so the process seems more worthwhile than when I tried it for my onboard audio.
Are you new to Linux Audio? This manual explains how to install KXStudio, set up and use JACK, mimimize latency, lists the best Linux AV apps and much more all in a concise and easy to understand format.

http://wiki.linuxaudio.org/wiki/kxstudio_manual

danboid
Established Member
Posts: 1305
Joined: Sun Aug 26, 2012 11:28 am
Location: England

Re: KX mini manual

Post by danboid »

I'm hoping to get the Claudia and Latency chapters done today then that will be it for the CruX of the KX manual - the remaining bits are pretty generic to (Ubuntu) Linux.

For the Claudia chapter, I plan only to cover the very basics ie how to make JACK connections, the main ports and saving studios. F or wolftune can tack on anything to do with multiple studios and rooms although F may decide to save those details for the real Claudia manual?
Are you new to Linux Audio? This manual explains how to install KXStudio, set up and use JACK, mimimize latency, lists the best Linux AV apps and much more all in a concise and easy to understand format.

http://wiki.linuxaudio.org/wiki/kxstudio_manual

Post Reply