Timelines in unrev

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
bidgeeman
Posts: 495
Joined: Wed Feb 21, 2007 7:58 am

Timelines in unrev

Post by bidgeeman » Thu Sep 10, 2009 10:16 am

Is it possible to create a timeline in Runrev that would display movies or wav file as blocks?

Thanks
Bidge

Klaus
Posts: 14198
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Post by Klaus » Thu Sep 10, 2009 11:36 am

Hi Bidge,

what do you mean "as blocks"?


Best

Klaus

bidgeeman
Posts: 495
Joined: Wed Feb 21, 2007 7:58 am

Post by bidgeeman » Thu Sep 10, 2009 11:54 am

Hi Klaus.

Similar to a video editor:

Image

Not necessary to have the wavform display but is this possible?

Cheers
Bidge

Klaus
Posts: 14198
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Post by Klaus » Thu Sep 10, 2009 2:48 pm

Hi Bidge,

what would you like to display if NOT a waveform?
And how shoud this behave at all (clicked?)?

I have actually no idea, but on the other hand I don't have to :-D

Anyway, I am sure I have an old stack of Mr. Mark Smith that will create a graphic representing the waveform of a given sound somewhere on my HD.

I will send it to you if you doen't mind :-)


Best

Klaus

Mark Smith
Posts: 179
Joined: Sat Apr 08, 2006 11:08 pm
Contact:

Post by Mark Smith » Thu Sep 10, 2009 8:00 pm

I'd be happy to send it to you if you haven't got it from Klaus already - but it would only be useful for wavs or aifs - no video....

On the other hand, I think what you want to do would be perfectly possible.

Assume you're using a simple rectangle graphic as the "block" representing the audio/video. You need to figure out the width of the block compared to the duration of the media clip, and then have a line graphic that you move across the rectangle in sync with the current position of the player - see the docs for "currentTime".

Cheers,

Mark Smith

ps. Klaus, only the taxman and the police call me 'Mr' :)

Klaus
Posts: 14198
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Post by Klaus » Thu Sep 10, 2009 9:26 pm

Hi Mr. Smith,

mabe I'm a fuzz (in my spare time)? :D :D :D

bidgeeman
Posts: 495
Joined: Wed Feb 21, 2007 7:58 am

Post by bidgeeman » Thu Sep 10, 2009 11:07 pm

Hi Mark.
Many many thanks for your feedback on this. I thought it would be asking too much of Rev to do this type of thing. I may need some as I goi along help as I am a beginner with Rev.

Cheers
Bidge

Post Reply