live.observer and current_song_time
Feb 18 2010 | 4:38 am
My goal this week is to get the firewire port of my Mac to output DV video in sync with the transport of Ableton Live using Max for Live. This type of DV Firewire Video output functionality is already available in programs like Logic and Nuendo for Mac. I have always wanted it in Ableton so I can view my videos on a large TV while I still have my 2 monitors for editing.
I have come close to accomplishing this but have run into a wall.
I am successfully playing the video using jit.qt.movie. I am successfully sending the movie out the firewire port using jit.qt.videoout. The hard part has been using the Ableton Live transport position as the play position of my movie. I tried using the "transport" object but I could not get any meaningful values that jit.qt.movie can understand. The closest I have come is to use the live.observer object to report the "current_song_time". The manual claims this gives me "Live set play position in milliseconds"...but when I press play in live the and spew these numbers to a float number box, they are much smaller and slower than ms. I hooked it up to the inlet of jit.qt.movie anyway and it does successfully control my video...just very very slow. Maybe this is a problem with timescale and units? Have I gone about this entirely wrong?
My main question is: How can I get an accurate value of the play position of Ableton Live to control the playback position of my quicktime movie?
I have included my patch (attachments are not working for me, I will try to upload again lateR).