[ardour-dev] Revised tranzport driver ready for test

Mike Taht mike.taht at gmail.com
Wed Dec 27 00:00:12 PST 2006


I have spent this lovely holiday hacking on the ardour tranzport driver to
make it more robust.

I have tested it on a single processor x86_64 system for a couple hours.
Dual processor , x86 and mac would be nice to get data on....

A patch against current ardour svn is up at:
http://tracker.ardour.org/view.php?id=1343 and can be downloaded directly
from http://tracker.ardour.org/file_download.php?file_id=241&type=bug

ENHANCEMENTS:

Runs at an rt priority of 52. Current rt kernels run IRQs by default at 51,
so it preempts many other drivers on the system. BE CAREFUL.

shift-backlight currently forces a screen redraw. (this helped when I was
losing lots of writes).
shift-play sets the transport speed to 1.0f. (this helps when you are in
scrb mode fast forwarding)
Currently shows bar/beat information rather than smpte (old smpte behavior
can be reverted with a 1 line change)

BUG FIXES:
Screen display is on the whole, much more robust and reliable.
Button response is faster.
wiggling the shuttle rapidly hasn't so far triggered the dreaded underflow
bug
The device recovers from momentary interference, going offline, out of
range, or asleep, quickly and transparently
Track names are padded to 10 characters.

NOTES:

Under Linux, a rt kernel is *required* for the tranzport to work (mine is
2.6.20rc2-rt0), and having usb interrupts at a high rt priority (mine is 95)
also helps. My audio interrupt is running at 96, jack is at 87, and the
tranzport driver at 52, which is higher than the rt default priority for
other interrupts. What the "correct" priorities are your for system?

KNOWN BUGS:

Some fields aren't always redisplayed. I still have some work to do
regarding the lights and rethinking the screen redraw routines.
I didn't pay a whole lot of attention to the api or the indentation of the
code. (will finish cleanups above first)
Teardown is an issue.

There's some ideas for new features in the bug report.
(anybody for lcdproc?)

I am thinking of making shift-backlight be a configuration screen to setup
various modes in a more comprehensive manner.

More feedback welcomed!

-- 
Mike Taht
PostCards From the Bleeding Edge
http://the-edge.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ardour.org/pipermail/ardour-dev-ardour.org/attachments/20061227/07693614/attachment-0001.htm>


More information about the Ardour-Dev mailing list