There are 3 types of number boxes, it will be very important to know the difference.
Integer – You can use whole numbers here. i.e. 3
Float/Decimal – You can use numbers that have a decimal point i.e. 3.14
Audio Rate – This has to do with controlling audio and will be skipped for now.
A Bang initiates or triggers the flow of code. If your code is a river of data, the bang object triggers the water to flow.
A Toggle is a simple helper that outputs a 1 or a 0.
The slider object is a helper that outputs a number between 0 and 127 when you slide up/down.
You can do any math operation in Max. The difference is that the math objects change the stream of numbers coming through the input. Operations include:
– (+) Adding
– (-) Subtracting
– (*) multiplying
– (/) dividing
Sometimes you need to change the range of numbers you are receiving from a sensor or from another stream of numbers
sliderfrom the patchers top bar
number boxto the end.
* 3. connect the bottom of your number box to the top of this new math object. Can you imagine already what it will do?
number boxto the output of the math object you just created.
scale 0 127 1000 2000.
sliderto the input of the
number boxafter the scale and connect the two.
jit.playlist(as in Les 1). Click on the playback tab and copy the same chunk of code as last time.
scale 0 127 0 3. Connect the two objects.
. Figure out how to add a new video to your playlist.
. HINT: Look at the Resources on the left-side of your Patcher window.
. change the scale object so that you can now slide to the new video.