Max Simple Math Tutorial

Aug 24, 2010 at 6:31pm

Max Simple Math Tutorial

Hey everyone,
I'm new here and I am making my way through the Simple Math tutorial for Max, and coming to the exercise of converting Fahrenheit to Celsius I have become quite stuck. When I alter the Fahrenheit number box nothing happens to display the Celsius result.
I have uploaded an attachment of my patch that I have constructed. Will I have to use a trigger with an integer and a bang, or a simple bang message to display the result?

Sorry for my noobness but you have to start somewhere.

[attachment=139674,1014]

Attachments:
  1. Screen_shot_2010-08-24_at_17.15.25.png
#51964
Aug 24, 2010 at 7:16pm

Highlight the text below and copy and paste it into a Max window.

– Pasted Max Patch, click to expand. –
#186466
Aug 24, 2010 at 9:00pm

To answer your question, yes- in your example you need to trigger the message first…

hth`

– Pasted Max Patch, click to expand. –

`

#186467
Aug 24, 2010 at 9:03pm

I can’t reproduce the behaviour you say you’re getting, but perhaps you should be aware that most (if not all) the Max (and many MSP) objects with >1 inlet, have ‘hot’ (left), and cold (right, middle etc) inlets: this means the left inlet tells the object to ‘do its job’, the other inlets set or change variables, or receive other info; so if a maths object appears not to be doing its job when changing a variable (like your 32 message to [-]), you should bang the left inlet to remind the object to do its job ‘now’. Enjoy the tutorials, a wonderful world awaits you!

#186468
Aug 24, 2010 at 9:30pm

Cheers everyone,
Thats what I love about Cycling 74 the whole community is what makes Max the best program to use. It is so well documented and with their email support and forums and guys like you who go out their way to help that makes the whole learning curve so simple.
Cheers again, I have a whole bunch of tutorials I need to go through ha.

#186469
Aug 25, 2010 at 10:51am

Also guys, if I want to do the inverse by doing the inverse math also by converting celsius to fahrenheit in the same patch how can this be done? I tried to fiddle about with the patch but I think I started to over complicated matters. Sorry for posting again and may be really simple for you guys. Cheers

#186470
Aug 25, 2010 at 11:17am

Rather than give you the answer, how about this:
think about how your simple program operates, i.e. what is the order of actions and what are those actions?
What do you wish to do? Reverse the order of actions; don’t forget to invert the actions themselves too…..

ps use float numbers and operations, e.g. [+ 32.]

#186471
Aug 25, 2010 at 1:43pm

if you want to make a patch with one input and two different coversion modes, you might
want to look into the help file for [gate]

#186472

You must be logged in to reply to this topic.