Forums > Jitter

@autostart 0

May 28, 2006 | 9:16 am

Hi,

When i add this @autostart thing to the jit.qt.movie object and load a film
with the read message, the start imediatly.
Is there something more to do ?
I don’t get it.

Thanks in advance.

Czesc.


May 28, 2006 | 1:52 pm

When asking questions of this sort, it’s customary to
provide more intormation. Platform? OS Version?
Max/MSP/Jiitter version numbers?

A patch that demonstrates the behavior would
also be helpful. Smallest version you can make.
This one’s a bit larger than that, but it works fine
for me 10.4.6, current versions available for
download at 8:30 AM CDT [I'm normally running
betas on this machine, so I downloaded to check].

The simpler test for me (i.e. the one I actually did)
was simply to instantiate a jit.qt.movie object with
an @autorestart 1 attribut and read in a movie I
know has an audio track. I heard nothing, which
means it’s working fine. Jitter Tutorial 1 page 1
describes why this is the case.

max v2;
#N vpatcher 10 59 610 459;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 101 44 48 196617 loadbang;
#P comment 291 146 191 196617 click stop message box. movie stops.;
#P comment 291 128 191 196617 click start message box. movie starts.;
#P window linecount 2;
#P comment 291 98 191 196617 Movie loads , first frame is
displayed.l No audio is heard.;
#P window linecount 1;
#P message 34 88 30 196617 read;
#P message 178 108 29 196617 stop;
#P message 178 88 33 196617 start;
#P user jit.pwindow 100 207 82 62 0 1 0 0 1 0;
#P toggle 101 65 15 0;
#P newex 101 88 52 196617 metro 20;
#P newex 101 158 167 196617 jit.qt.movie 320 240 @autostart 0;
#P window linecount 2;
#P comment 291 67 191 196617 click read message box , select a movie
(preferably with an audio track);
#P connect 11 0 3 0;
#P connect 3 0 2 0;
#P connect 7 0 1 0;
#P connect 5 0 1 0;
#P connect 6 0 1 0;
#P connect 2 0 1 0;
#P connect 1 0 4 0;
#P pop;


May 29, 2006 | 7:57 am

ok, i have this mail who seems to never has reached this mailing list so
here i send it again.

Hi,

I’m on Mac OS 10.3.9
Max-MSP 4.5.7
Jitter 1.2.4

When i put the @autostart 0 attribute to the jit.qt.movie object and send
then it a read message to load a film, the
film starts automatically.
As you know, it should not.

Here is the patch in which this happens.
What am i doing wrong here ?

Thanks.

Czesc.

max v2;
#N vpatcher 12 44 718 382;
#P button 28 192 15 0;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 28 210 31 196617 mwc;
#P newex 9 57 45 196617 r metro;
#P newex 248 85 60 196617 loadmess 1;
#P newex 9 80 25 196617 r qt;
#P toggle 248 108 15 0;
#P newex 39 80 167 196617 jit.qt.movie 320 240 @autostart 0;
#P window setfont "Fixedwidth Serif" 10.;
#P newex 144 131 166 1441802 pak 0. 1. 1. 1.;
#B color 5;
#P newex 39 156 133 1441802 jit.op @op pass * * *;
#B color 5;
#P button 23 107 15 0;
#P user jit.pwindow 320 56 322 242 0 1 0 0 1 0;
#P newex 39 106 160 1441802 jit.matrix 4 char 320 240;
#P window setfont "Sans Serif" 9.;
#N vpatcher 227 406 534 580;
#P origin 0 20;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 218 78 49 196617 delay 41;
#P newex 218 55 38 196617 sel 21;
#P message 250 122 37 196617 6 438;
#P message 53 144 42 196617 vol 0.5;
#P message 72 125 33 196617 vol 0;
#P message 235 100 37 196617 21 23;
#P message 197 100 37 196617 22 67;
#P message 165 100 31 196617 6 21;
#N vpatcher 12 404 224 713;
#P window setfont "Sans Serif" 9.;
#P newex 59 122 27 196617 t i i;
#P newex 59 261 69 196617 s countframe;
#P newex 11 51 120 196617 t l b;
#P toggle 121 158 15 0;
#P newex 121 182 52 196617 metro 40;
#P newex 11 232 58 196617 sel;
#P window linecount 1;
#P message 76 159 44 196617 max $1;
#P window linecount 0;
#P message 11 159 41 196617 min $1;
#P window linecount 1;
#N counter 0 1 2;
#X flags 0 0;
#P newobj 11 207 71 196617 counter 0 1 2;
#P window linecount 0;
#P newex 59 100 27 196617 + 1;
#P newex 11 75 58 196617 unpack 0 0;
#N comlet list – frame-start and frame-end (ints);
#P inlet 11 26 15 0;
#P connect 0 0 9 0;
#P connect 9 0 1 0;
#P connect 1 0 4 0;
#P connect 7 0 3 0;
#P connect 4 0 3 0;
#P connect 5 0 3 0;
#P connect 3 0 6 0;
#P connect 1 1 2 0;
#P connect 2 0 11 0;
#P connect 11 0 6 1;
#P connect 6 1 10 0;
#P connect 11 1 5 0;
#P fasten 6 0 8 0 16 255 177 255 177 155 126 155;
#P connect 9 1 8 0;
#P connect 8 0 7 0;
#P pop;
#P newobj 165 122 84 196617 p frameToFrame;
#P button 5 108 15 0;
#P newex 5 126 31 196617 mwc;
#P button 8 61 15 0;
#P message 41 43 33 196617 start;
#P message 41 25 29 196617 stop;
#P window setfont "Fixedwidth Serif" 10.;
#P message 5 25 34 1441802 read;
#P window setfont "Sans Serif" 9.;
#P newex 41 92 42 196617 send qt;
#P number 168 24 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 168 42 79 196617 frame $1 , bang;
#P window linecount 3;
#P comment 166 60 50 196617 jump to frame n (absolute);
#P flonum 121 24 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P message 121 42 44 196617 rate $1;
#P toggle 76 24 15 0;
#P message 76 42 43 196617 loop $1;
#P newex 204 22 69 196617 r countframe;
#P connect 14 0 13 0;
#P connect 12 0 8 0;
#P connect 10 0 8 0;
#P connect 11 0 8 0;
#P connect 9 0 8 0;
#P connect 1 0 8 0;
#P fasten 3 0 8 0 56 90;
#P connect 6 0 8 0;
#P connect 20 0 8 0;
#P connect 19 0 8 0;
#P connect 2 0 1 0;
#P connect 4 0 3 0;
#P connect 16 0 15 0;
#P connect 17 0 15 0;
#P connect 18 0 15 0;
#P connect 21 0 15 0;
#P connect 0 0 7 0;
#P connect 7 0 6 0;
#P connect 23 0 17 0;
#P connect 22 0 23 0;
#P pop 1;
#P newobj 42 37 59 196617 p qtcontrol;
#P connect 5 0 3 0;
#P connect 12 0 11 0;
#P connect 10 0 6 0;
#P connect 8 0 6 0;
#P connect 6 0 1 0;
#P connect 3 0 1 0;
#P connect 1 0 4 0;
#P fasten 5 0 4 1 149 152 167 152;
#P connect 7 0 5 1;
#P connect 9 0 7 0;
#P connect 7 0 5 2;
#P connect 7 0 5 3;
#P fasten 4 0 2 0 44 177 314 177 314 53 326 53;
#P pop;


May 29, 2006 | 8:09 am

This patch works fine for me using Jitter 1.5.x. I can’t test it in
Jitter 1.2.x, but I’m pretty sure that @autostart was working fine in
that version, too.

jb


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