temperature sensor MIN MAX
Hi, I’m actually new with MAX, Thursday I’m takeing an examination in design interaction.(basic level)
I’m tryng to write a patch that use the temperature sensor stream(not very stable, first problem). I should register the low value and the highest value of the sensor inside a scale/zmap to calibrate the range, closing after that step the calibration and starting the interaction. Please, could anyone help me?? I cannot really do it by myself anymore..
Thanks a lot,
At a quick look, your patch seems to go in the right direction, but knowing some more max objects would help – moreover, not everyone in the forum can understand comments and names in Italian ;)
the peak and trough objects give you the minimum and maximum from a stream of data. So, here is more or less what you need for your calibration thing:
----------begin_max5_patcher---------- 634.3ocyWFzaaCBEG+rymBDWmqEfiiq2srodXR8vz1tLMUUQhoIrEiiRHZYs pe2mArSZibhwjTTiT.a.w6O+3w6geZP.bR4V1ZH3ifeABBdZPPftIUCA0uG. KnamtftVOL3CKJEaJfgltpdjKVvj59v0MtjJmNmKlc+J1ToYtGlDgBADhtJA oeopDb294obirYhH0sxy0lrbxuuhPZL4CkBofVvzcMdEmtnoGyLH+2RlwnJs RkvP.bBULCtyXpYXM+Q8nvjHjp0mGLPUDZIEDr+VopFCKYa0qS3iEzk.TD.G oKQnnVAURWfBmYpPocPJbKjB4.o7AbjfqxT+h.lp95CQFp8apIDxAmHb143D Yd3RBJEZlrQJKENxBjcnHtETLpaTram6a278a9ww8cBM+4hKKclVVTvplyCU CWT0SEN.4TIsufKSypXc40IcvMTKbKoat81cD5C.bqKXRWATLkwjnj9FNA6R f2KsqfjNouazw6OfPb4.RliK65CC6W9UZuNAK7yiu8KeR06Wuc7O8QH2YTIC PbykIUWNZX+Cyl5RBnPOkDZU4lYyOUFnS.F70l.tI1E9nEupQmSBnZ2qK8gq iPpkL5eZxX2WPY7cp4TZV+4T76PN41MeydwkVb5hud4du5w.WvEG9w.5Ujp8 WCl0kaVMswb0N1f8qpb1ZIWPk7pa1reLpalBH6FzbddNS7x7rE77kkUaa0Z. bWq6R1JoXakD1aRJ8UV6DRB4MIcf4NhlHdUSoVHoQu6TTrWUj5aY5zWZjW8t 0RxFJ4QIYSboCz8atlHVnoTuJIa13v8LFPbl9iMFpJSF1774FsxRz4pGV0KO O3+.KtzVbB -----------end_max5_patcher-----------
… about your incoming data, there are many filtering techniques you can apply, but you should be more precise about the kind of unstability you’re experiencing – it would make easier to help you!
this thread has an excellent example patch with multiple data-smoothing options. worth a look for the smoothing as well as learning some more Max trickery: