Re: [LAD] jack transport change accuracy for looping

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Iain Duncan <iainduncanlists@...>
Cc: <linux-audio-dev@...>
Date: Sunday, November 20, 2011 - 1:17 pm

On Sat, Nov 19, 2011 at 10:23 PM, Iain Duncan wrote:

> Thanks, I know you did some stuff with this with your old step sequencer. Do

SoftWerk? It didn't use JACK at all because when I wrote it
(pre-Ardour, pre-JACK) there was no JACK MIDI and no point in using
it. One day I might do a JACK MIDI version. Or an LV2 version. Or ...

> you think it's better to just ignore moving around the jack transport and do

i think you may be confused about what JACK transport offers. its a
global transport. that means that when you locate (which includes to
looping) to a new position, *all* clients must be ready to continue
processing audio before it can roll again after the locate. For some
kinds of clients, the transport is totally irrelevant (e.g. a software
synthesizer). For other clients, they can be ready immediately that
the locate happens (e.g. a MIDI sequencer running instrument plugins).
For other clients, there is a delay between the locate and them being
ready to play because of the need to load any amount of data from disk
(imagine locating to a new position in a 100 track session in a DAW).

now, if the clients all knew that (a) JACK transport was in a looping
state (b) where the loop points were, they could prepare for this, and
everyone could be ready immediately after the locate. Ardour can
already do this without JACK, for example (its called "Seamless
looping" in ardour, and rather than actually locate and then do the
data i/o, it understands ahead of time the the loop point is coming up
and gets the next chunk of data from the right place).

however, JACK currently does not have a mechanism to mark the
transport state as "looping" or to convey the loop points to clients.
that's why in Ardour, for example, seamless looping is not allowed if
you are synced to JACK transport (or MTC or MIDI clock or ...)
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] jack transport change accuracy for looping, Iain Duncan, (Sun Nov 20, 3:15 am)
Re: [LAD] jack transport change accuracy for looping, Paul Coccoli, (Sun Nov 20, 1:20 pm)
Re: [LAD] jack transport change accuracy for looping, Iain Duncan, (Sun Nov 20, 5:23 pm)
Re: [LAD] jack transport change accuracy for looping, Paul Coccoli, (Wed Nov 23, 1:17 pm)
Re: [LAD] jack transport change accuracy for looping, Paul Davis, (Sun Nov 20, 3:19 am)
Re: [LAD] jack transport change accuracy for looping, Iain Duncan, (Sun Nov 20, 3:23 am)
Re: [LAD] jack transport change accuracy for looping, Paul Davis, (Sun Nov 20, 1:17 pm)
Re: [LAD] jack transport change accuracy for looping, Iain Duncan, (Sun Nov 20, 5:26 pm)
Re: [LAD] jack transport change accuracy for looping, Paul Davis, (Sun Nov 20, 5:27 pm)
Re: [LAD] jack transport change accuracy for looping, Iain Duncan, (Sun Nov 20, 5:33 pm)
Re: [LAD] jack transport change accuracy for looping, Paul Davis, (Sun Nov 20, 5:34 pm)
Re: [LAD] jack transport change accuracy for looping, Louigi Verona, (Sun Nov 20, 9:45 pm)
Re: [LAD] jack transport change accuracy for looping, Paul Davis, (Sun Nov 20, 10:03 pm)
Re: [LAD] jack transport change accuracy for looping, Iain Duncan, (Sun Nov 20, 3:34 am)
Re: [LAD] jack transport change accuracy for looping, Paul Davis, (Sun Nov 20, 1:10 pm)
Re: [LAD] jack transport change accuracy for looping, Iain Duncan, (Sun Nov 20, 5:11 pm)