Max Simple Math Tutorial

    Aug 24 2010 | 6:31 pm
    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.

    • Aug 24 2010 | 7:16 pm
      Highlight the text below and copy and paste it into a Max window.
    • Aug 24 2010 | 9:00 pm
      To answer your question, yes- in your example you need to trigger the message first...
    • Aug 24 2010 | 9:03 pm
      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!
    • Aug 24 2010 | 9:30 pm
      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.
    • Aug 25 2010 | 10:51 am
      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
    • Aug 25 2010 | 11:17 am
      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.]
    • Aug 25 2010 | 1:43 pm
      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]