[LAD] [ANN] Qtractor 0.5.3 - The Delta Whisky natural cask strength!
Albert Graef
Dr.Graef at t-online.de
Mon Jan 9 20:09:54 UTC 2012
On 01/09/2012 04:00 PM, Rui Nuno Capela wrote:
> applied. qtractor svn trunk rev.2659 (v0.5.3.4)
Thanks a bunch. :) Attached is another suggested patch against the
current trunk (r2660) to make qtractor send an MMC locate after jumping
back to the beginning of a loop. It's not perfect, but I'm posting it
anyway in case someone may find it useful.
As you can see I handled this in the timer callback of the main form
which isn't 100% accurate, but I never found it to be off by more than 1
frame, which I guess is good enough for my purposes. There are surely
better ways to do this, but I wasn't able to figure that out without
investing much more time reading the source code. Ideally, this should
be handled on the spot somewhere in the MIDI engine. I tried to add it
directly in qtractorMidiOutputThread::process(), but the read-ahead gets
in the way there, so I couldn't find a proper way to make that work. (Is
there a way in qtractor to schedule a callback exactly at the *real*
time when the play head reaches a given position? Then this would be easy.)
There are a few other situations where an MMC locate is still missing,
specifically after ending a rewind or fast-forward, but I have no idea
how to fix this without diving into the qtractor sources much more than
I did. :(
Cheers,
Albert
--
Dr. Albert Gr"af
Dept. of Music-Informatics, University of Mainz, Germany
Email: Dr.Graef at t-online.de, ag at muwiinfa.geschichte.uni-mainz.de
WWW: http://www.musikinformatik.uni-mainz.de/ag
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qtractor-mmc.patch
Type: text/x-patch
Size: 761 bytes
Desc: not available
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20120109/63415f55/attachment.bin>
More information about the Linux-audio-dev
mailing list