Max Simple Math Tutorial
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.
Highlight the text below and copy and paste it into a Max window.
-- Pasted Max Patch, click to expand. --Copy all of the following text. Then, in Max, select New From Clipboard.----------begin_max5_patcher---------- 338.3oc0TFsaCBBE.8Y7qfviK1NEk35daeGKMKnxZYQAihYt0z+8Ant1tXVo sYcau.gKWt2CGRXiG.kJ6XMH38vGg.vFO.vFxD.LrFfJocYEzFaZHQaYJqF4 2ukrUUvTp2pX80.wEJjODkREqPvkCYwysGUl9xrjwSVQUYq4hUOUyxT8GFuH ZdfOLJ.alHAlQrd7y57rTnDzRauPOTyoEiUSSEWnIwxX3tf87Yih2qHM72sE IT2ISzsddlAeWc.6U8cYr2JVm8BftEt3a8xT9fbbefSr9HBOmbd9.OoOB+w8 wMPxI6iXG7Qbv+SeLSy7IKjHGDR3edgbYeZfOtCBSt6W5SCaiPEbwW+G0BqI 9ghoQ1VmMdyGdgg6vMm0n3BphKE6kS7A4rlmmyraGLDojmWI0Zb.A3xIejbk HrCDEcUIh3.QIWUhhcfHxEPjdwVuOjQQ9xG -----------end_max5_patcher-----------
To answer your question, yes- in your example you need to trigger the message first…
----------begin_max5_patcher---------- 470.3ocwV1rTCBCD.9L7TjIGcp0jPAAu4KgWb53DJw13.AFHcrZm9tKrP+wJ sFZQ7BLrIr4KerrvZaKbX5JQAF8.5Yjk0ZaKKHTU.qlqsvI7Uyh4EvzvJw6o gugGUOjVrRCg0HIJbazzk5XgV+QlnNyXoRiGgvgb0bLZZyrdMUoKjeBygRGS ZBmw0yVHUyeIWLSWe+TmpgQzI9UmbbFSmDDD3OBwHiI6xmZYhTUtt.mzlfxH .uRjuk5fOXkU7DXkwOIxi3JNdeVpwGRCqJ3Fa6pCiLzPIhhB9bwOTjC6j94h jx8DPJ9tGIEp+ojBqEov5tTnWfTJyPnHuaEHY4hBgRy0xT0AabFwC1wT3Do4 P6FjYPYkCELnKjotUQ0p6dLWxi6uxoS7B2cnfyZSCsHyumrHqoNjM18bVrkR PutZQZ+YwaPt8hEcmzSVz04Bsn++nEu0LG1cavbLtgeKJIXPTRe1XaRcG8d5 URJicoM1HWSmMXYvwR0w+YAfZU7u6yhzk4y1JrseoFQ2QajnPKUfsNbRke4B seKsPFEIfw2JlDYTVZo+af.Ms0mtchIxuvTvvhDw.jNh6+blXFpI5fgTfAD4 OnRxyjmaCJQ9FPj2UPT4Ear+BLomYaI -----------end_max5_patcher-----------
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!
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.
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
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.]
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]
Forums > MaxMSP