0% found this document useful (0 votes)
26 views1 page

Max/MSP/Jitter Guide for Musicians

The document discusses using the random object in Max to generate random numbers between 0 and 127. It explains that providing the random object with an argument of 128 sets the range to include all numbers from 0 to 127. Clicking a connected button will generate a new random number within that range, which is then output to a number box for display. MIDI uses 128 numbers from 0 to 127 to represent musical elements like pitch and velocity.

Uploaded by

Abel Castro
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views1 page

Max/MSP/Jitter Guide for Musicians

The document discusses using the random object in Max to generate random numbers between 0 and 127. It explains that providing the random object with an argument of 128 sets the range to include all numbers from 0 to 127. Clicking a connected button will generate a new random number within that range, which is then output to a number box for display. MIDI uses 128 numbers from 0 to 127 to represent musical elements like pitch and velocity.

Uploaded by

Abel Castro
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

MAX /MSP/JITTER FOR MUSIC

2. Give this random object the argument 128 (Note: if you already
clicked away from the object, double click it in order to, once
again, enable typing within the object box)
Be sure to put a space between the word random and the argument 128 or else
Max will look for an object called random128 that does not exist.

18

3. Create a new button (press b)


4. Connect the outlet of button to the first inlet of random 128
5. Create a number box (press i)
6. Connect the outlet of random 128 to the inlet of the number box

FIGURE 2.1
outputs random numbers
from 0 to 127 when a
bang is received | the
_RAT_patch.maxpat

Do you remember that kid that you went to grammar school with who asked
you to count to 10 and when you started counting 1, 2, 3 . . . he stopped you
and laughed as he declared No! You forgot the number zero!!! Im sure you
remember that kid, or maybe you were that kid. Well, in Max, we almost always
start counting at the number 0, not the number 1. With the argument 128, the
random object will randomly output a total of 128 possible numbers starting at
0, which means that the range of numbers being randomly generated from random will be between 0 and 127.
7. Lock your patch and click the button to see random numbers
between 0 and 127

MIDI (Musical Instrument Digital Interface)


The MIDI protocol is a language that computers use to convey musical messages. Synthesizers as well as nearly all computer music software applications
deal with MIDI in some way. What are these MIDI messages?
In essence, MIDI is a bunch of messages in which a total of 128 numbers,
the numbers 0127, are used to represent musical elements like pitch and velocity. The lowest MIDI note, 0, is the pitch C at 5 octaves below middle C. The
number 1 is the C /D directly above that C, and so on. The MIDI note 12 is the
C above the lowest C.

You might also like