How to take numerical values directly from the max window?

Jun 27, 2009 at 2:17am

How to take numerical values directly from the max window?

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,

#44555
Jun 27, 2009 at 3:34am

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

#160276
Jun 27, 2009 at 6:44am

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

#160277
Jun 27, 2009 at 8:49am

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

#160278
Jun 27, 2009 at 6:51pm

Got it. Thanks for the help Ih

#160279

You must be logged in to reply to this topic.