Forums > MaxMSP

seq~ object

March 9, 2006 | 12:48 pm


March 9, 2006 | 1:23 pm

hi guys,

im using the % object for a patch it does the job fine
bur sometimes gives weird results. i need it to be
constant otherwise it mess up all the rest of the
patch.

can anyone test it on their machine and see if it has
the same problem? it mostly happen when the right
input is > of the one stored.

otherwise is there any math thingy to achieve the same
result?

here is the little thing

max v2;
#N vpatcher 10 59 950 635;
#P toggle 255 47 15 0;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 255 116 43 196617 / 1000;
#P newex 255 84 43 196617 clocker;
#P button 316 61 15 0;
#P newex 316 102 58 196617 random 20;
#P number 316 130 35 9 5 0 1 3 0 0 0 221 221 221 222
222 222 0 0 0;
#P newex 299 197 27 196617 i;
#P newex 255 293 32 196617 sel 0;
#P number 289 263 35 9 0 0 0 3 0 0 0 221 221 221 222
222 222 0 0 0;
#P newex 255 225 33 196617 % 1;
#P number 255 140 35 9 0 0 0 3 0 0 0 221 221 221 222
222 222 0 0 0;
#P connect 10 0 8 0;
#P connect 8 0 9 0;
#P connect 9 0 0 0;
#P connect 0 0 1 0;
#P connect 1 0 3 0;
#P connect 4 0 1 1;
#P connect 1 0 2 0;
#P fasten 3 0 4 0 260 338 378 338 378 183 304 183;
#P connect 7 0 6 0;
#P connect 6 0 5 0;
#P connect 5 0 4 1;
#P pop;

thank you in advance

jigen

Yahoo! Messenger – NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com


March 10, 2006 | 6:38 am

jigen dot wrote:
> here is the little thing

But you didn’t explain what you think is funny about.
Without knowing what you expect, nobody will be able to help.

But let me guess, (as I think its exactly doing what it should do):
You want it to go from 0 to a random number and when you change that,
you want it to jump to 0 and not to something else.

Solution:

Use a counter instead of % (no feedback required)

Stefan

[][] [][][] [][] [][][]
[][][][][][][][][][][][][][][]

Stefan Tiedje
Klanggestalter
Electronic Composition
&
Improvisation

/~~~~~
\ /|() ()|
))))) )| | |( \
/// _/)/ )))))
___/ ///

————————-x—-
–_____———–|———–
–(_|_ —-|—–|—–()—-
– _|_)—-|—–()———–
———-()————x—–

14, Av. Pr. Franklin Roosevelt,
94320 Thiais, France
Phone at CCMIX +33-1-57 42 91 09


March 10, 2006 | 9:53 am

hi stefan,

the % it is working properly but my brain it was not.

sorry if it was not clear, i posted quickly without
even read it because i was late for something.

it was a stupid question anyway, i rather dont explain
it, sorry!

in the end i did use a counter.

thank you

j.


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