My simple divide won't work?

D482's icon

Hi,

I have attached a screenshot of the simple division that i am trying to do, I am trying to calculate 1 / the received distance but it does not give any output. Could anyone have a look and see what the problem may be?

Thanks

Screen-Shot-2015-04-20-at-13.57.34.png
png
Wetterberg's icon

Check the help file for /. It's explained there, and gives you the method for getting the output.

D482's icon

I looked at the help file for / there but i still cant see what I'm doing wrong, i am new to max so I am still trying to figure out how everything works.

kleine's icon
Max Patch
Copy patch and select New From Clipboard in Max.

to trigger the calculation on the right / input, you need to bang it's left inlet.

Christopher Dobrian's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Or use the [!/] object, which means "divide into" instead of "divide by".

brendan mccloskey's icon

What's also important is to learn and understand the difference between hot and cold inlets (left and right) for Max objects

Wetterberg's icon

Exactly, Brendan. The "hot/cold" distinction *is* explained in that help file - I just checked; Right inlet specifically says "no output", and there's a "bang for output" connected to the left inlet.

@christopher: The problem there is that Catherine's patch has a numbox for changing the 1, so the problem would persist even with !/, only for changes to *that* parameter.

Roman Thilenius's icon

well, then i´d suggest to use

[flonum]   [receive]
|          |
[pak 0. 0.]
||
[/ 1.]      {both outputs into first inlet of division}

not only you can bang hot inputs, some objects such as + - * / minimum maximum also accepts a list of left and right operand.

110 :)

Peter McCulloch's icon

Similar functionality to roman's solution: put bondo between the number boxes and the divide.

D482's icon

Thanks everyone :) got it sorted!