255
edits
Kei kitamura (talk | contribs) |
Kei kitamura (talk | contribs) |
||
Line 24: | Line 24: | ||
<br> | <br> | ||
1.Open a new patcher from top menu bar. You can also make a new patcher with shortcuts "command" + "K". | 1.Open a new patcher from top menu bar. You can also make a new patcher with shortcuts "command" + "K". | ||
<br> | |||
<br> | <br> | ||
2.Press "F" key to make a number box for float. This will be the input of the noise contoroller. | 2.Press "F" key to make a number box for float. This will be the input of the noise contoroller. | ||
<br> | |||
<br> | <br> | ||
3.Press "M" key to make a message node and type "/test $1" and connect with the number box.<br> | 3.Press "M" key to make a message node and type "/test $1" and connect with the number box.<br> | ||
"/test" is an identifier of the osc message. You can rename whatever you want, but you should pay attention not to forget "/" before the name of identifier.<br> | "/test" is an identifier of the osc message. You can rename whatever you want, but you should pay attention not to forget "/" before the name of identifier.<br> | ||
Also, "$1" is required to import external value.<br> | Also, "$1" is required to import external value. | ||
4.Press "B" to make a bang node and press "N" and type "OpenSoundControl".<br> | <br> | ||
<br> | |||
4.Press "B" to make a bang node and press "N" and type "OpenSoundControl". | |||
<br> | |||
<br> | |||
5.Press "N" and type "udpreceive 127.0.0.1 2222".<br> | 5.Press "N" and type "udpreceive 127.0.0.1 2222".<br> | ||
"127.0.0.1" is a IP address, which is used to connect this setup on your laptop.<br> | "127.0.0.1" is a IP address, which is used to connect this setup on your laptop.<br> | ||
If you try this tuotrial with 2 computer, check the IP address of a computer for Unity project.<br> | If you try this tuotrial with 2 computer, check the IP address of a computer for Unity project.<br> | ||
"2222" is a name of port. You can define any integer, but make sure that you are using the same port number for Max patch and Unity.<br> | "2222" is a name of port. You can define any integer, but make sure that you are using the same port number for Max patch and Unity. | ||
<br> | |||
<br> | |||
6.Connect nodes together like the picture below;<br> | 6.Connect nodes together like the picture below;<br> | ||
[[File:MaxMsp 01_06.png|thumb|600px]] | [[File:MaxMsp 01_06.png|thumb|600px]] |
edits