tap tape

Apr 30, 2006 at 1:23am

tap tape

trying to emulate the effect ona tape reel when you quickly tap and release it.

heres what i have, but somewhere there is a silly mistake, as the line doesnt work.

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P message 217 299 65 196617 $1 , 200 $3;
#P message 129 299 62 196617 100 , $1 $2;
#P message 216 262 79 196617 41 165 590;
#P newex 145 195 62 196617 prepend set;
#P message 130 67 45 196617 set 600;
#P message 87 68 45 196617 set 170;
#P message 41 69 39 196617 set 50;
#P newex 46 34 48 196617 loadbang;
#P newex 145 154 57 196617 pack 0 0 0;
#P button 229 33 15 0;
#P newex 275 103 71 196617 drunk 750 15;
#P newex 203 105 70 196617 drunk 250 -5;
#P newex 113 105 74 196617 drunk 100 10;
#P flonum 162 391 65 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 131 262 79 196617 41 165 590;
#P newex 173 360 40 196617 line;
#P connect 15 0 0 0;
#P connect 14 0 0 0;
#P connect 0 0 2 0;
#P connect 13 0 15 0;
#P connect 1 0 14 0;
#P connect 8 0 9 0;
#P connect 8 0 10 0;
#P connect 8 0 11 0;
#P connect 6 0 3 0;
#P connect 6 0 4 0;
#P connect 6 0 5 0;
#P connect 5 0 7 2;
#P connect 11 0 5 0;
#P connect 4 0 7 1;
#P connect 10 0 4 0;
#P connect 9 0 3 0;
#P connect 3 0 7 0;
#P connect 12 0 1 0;
#P connect 12 0 13 0;
#P connect 7 0 12 0;
#P window clipboard copycount 16;

#25720
Apr 30, 2006 at 3:32am

the line works, but the two message boxes above it arent triggering on the bang because youre sending a set message to the first two message boxes, so they arent outputting. also, im not sure if the line will even have time to ramp up from the first message before it receives the second message…

i think this is what youre lookin for? maybe?

#76036
Apr 30, 2006 at 8:08am

remove “prepend set”.
and if you send 2 messages to line, it will generate the ramp corresponding
to the last message received only (in your case, the left message)

Mathieu

#76037
Apr 30, 2006 at 11:58am

Quote: mathieu.chamagne wrote on Sun, 30 April 2006 02:08
—————————————————-
> remove “prepend set”.
> and if you send 2 messages to line, it will generate the ramp corresponding
> to the last message received only (in your case, the left message)
>
> Mathieu
>
>
—————————————————-

could i just use one message to do it all?

#76038

You must be logged in to reply to this topic.