### Arithmetic Operators – Noob Question

Hello

I just started playing around with MaxMSP a few days ago, and I am slightly confused about the Arithmetic Operators, err auctually just the multiplication one. In the left end of the multiplication arithmetic operator, I have connected a random generating float number, In the other end, I have connected it to a preset object, which has several different floats stored into it. I have done exactly what the help file on the multiplication arithmetic operator has said, but it does not work. Instead, only two out of 10ish different frequencies of sounds are heard. I am uploading my patch onto this thread. As well, I have also included a screenshot of my patch, as well as my .pat.

http://www.sfu.ca/~jca41/Iat243/beatH.JPG (screenshot)

http://www.sfu.ca/~jca41/Iat243/beatH.pat (patch)

Thank You,

-Jon

T.a.k.e. .a. .l.o.o.k. .a.l.l. .t.h.e. .w.a.y. .t.o. .t.h.e. .r.i.g.h.t.

.o.f. .t.h.e. .*. .h.e.l.p. .f.i.l.e. .P.E.R.I.O.D.! :-)

dont get discouraged.

-matt

#P slider 362 195 16 21 0 1;

#P window setfont "Sans Serif" 9.;

#P window linecount 5;

#P comment 335 125 72 196617 Give a floating point argument to get a

floating-point computation:;

#P number 362 230 25 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;

#P window linecount 1;

#P newex 362 249 35 196617 + 5.7;

#B color 5;

#P flonum 362 270 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;

#P button 362 290 15 0;

#P connect 1 0 0 0;

#P connect 2 0 1 0;

#P connect 3 0 2 0;

#P connect 5 0 3 0;

#P window clipboard copycount 6;

jOn wrote:

> I just started playing around with MaxMSP a few days ago, and I am slightly confused about the Arithmetic Operators, err auctually just the multiplication one. In the left end of the multiplication arithmetic operator, I have connected a random generating float number, In the other end, I have connected it to a preset object, which has several different floats stored into it. I have done exactly what the help file on the multiplication arithmetic operator has said, but it does not work. Instead, only two out of 10ish different frequencies of sounds are heard. I am uploading my patch onto this thread. As well, I have also included a screenshot of my patch, as well as my .pat.

I have only looked at the image, but I see that you have two float

inputs… and you’re not using a float argument with [*] so it is

defaulting to integer…

Hello

oo.. haha.. I did not notice that. Thank you. It works now :)

-Jon

Forums > MaxMSP