Forums > Jitter

How to take numerical values directly from the max window?

June 27, 2009 | 2:17 am

Hello all,

My question is pretty simple. Is there a way to take numerical values directly from the max window?

I am using the basic jit.qt.movie patch and need to take the int value that appears in the max window when i use the getduration function for various video clips.

I then want to use these values to control certain parts of the patch I have made.

Many thanks,



Eli
June 27, 2009 | 3:34 am

It comes out the right ("dumpout") outlet of [jit.qt.movie], prepended by the "duration" symbol. The Max window displays messages sent to the [print] object, which in the case of the help file for [jit.qt.movie] is where the output of the right outlet of [jit.qt.movie] is sent.

Eli


June 27, 2009 | 6:44 am

Hello Eli, thanks for the reply.

I’ve tried connecting a message box and a number box to the right "dumpout" outlet of [jit.qt.movie] but cannot get any values for the duration.

My print box is connected to the same "dumpout" outlet which is showing the values in Max window.

Please can you tell me what i need to connect to the right "dumpout" outlet to recieve the getduration values so that i can use them actually in the patch?

Thanks again for the help!!!

Gareth


June 27, 2009 | 8:49 am

Connect the dump outlet to a [route destination] object and then to a [number]. Have a look at the [route] helpfile and reference page to learn more about it.

lh


June 27, 2009 | 6:51 pm

Got it. Thanks for the help Ih


Viewing 5 posts - 1 through 5 (of 5 total)