Forums > MaxMSP

notein bug ?


f.e
December 17, 2006 | 2:22 pm

It drove me crazy for one hour :

#P window setfont "Sans Serif" 10.;
#P window linecount 1;
#P comment 187 195 260 9109514 2 – Hit your keyboard , you’ll see 0 in
the flonum !!!;
#P number 131 138 35 10 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 131 106 126 9109514 if $i1==0 then 0 else 127;
#P flonum 60 202 35 10 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 94 60 84 9109514 notein;
#P message 60 61 26 9109514 127;
#P newex 60 166 35 9109514 / 127.;
#P comment 187 177 260 9109514 1 – Hit the message ’127′ , you’ll see 1
in the flonum;
#P connect 2 0 1 0;
#P connect 1 0 4 0;
#P connect 5 0 1 1;
#P connect 3 1 5 0;
#P connect 5 0 6 0;
#P window clipboard copycount 8;


f.e chanfrault | aka | personal computer music
> >>>>>> http://www.personal-computer-music.com
> >>>>>> |sublime music for a desperate people|


December 17, 2006 | 4:58 pm



f.e
December 17, 2006 | 5:13 pm


December 17, 2006 | 6:13 pm


December 17, 2006 | 6:27 pm


December 17, 2006 | 6:28 pm


December 17, 2006 | 6:55 pm

Works without problems here. I press the message box and there is 1. Then I press a key from my midi keyboard, and while holding that press the message box again and the output is still 1. If I stop pressing the note on my midi keyboard, 0 is output from the if statement, then if I press the message box again, 1.#INF is output which is the case when you divide things with 0. So works in the way it is supposed to work here. win XP 4.5.5.



f.e
December 17, 2006 | 6:59 pm


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