/event Message
/event message is sent from the iPhone to the computer.
/event [Device ID] [Page Number] [Item Number] [Item Kind] [Event Kind] [Value 1] [Value 2] [Value 3]
[Device ID]
The device ID you set in the Settings page.
[Page Numer]
0: Mixer Page
1: Pads Page
2: XY Page
3: Grid Page
4: Settings Page
-2: Accelerometer
-3: Shake
[Item Number]
0~73: Controls (Buttons and Sliders)
-1: Page Change
-2: Accelerometer
-3: Shake
[Item Kind]
0: Push Button
1: Toggle Button
2: Slider
3: XYSlider
-1: Page Change
-2: Accelerometer
-3: Shake
[Event Kind]
0: Touch Up
1: Touch Down
2: Touch Move
-1: Page Change
-2: Accelerometer
-3: Shake
[Value 1] [Value 2] [Value 3]
for Push Button
[Value 1] 0:Touch Up, 1:Touch Down
for Toggle Button
[Value 1] 0:Off, 1:On
for Slider
[Value 1] 0.0~1.0: Slider value
for XYSlider
[Value 1] 0.0~1.0: X(Horizontal) Value
[Value 2] 0.0~1.0: Y(Vertical) Value
for Accelerometer
[Value 1] 0.0~1.0: X(Horizontal) Value
[Value 2] 0.0~1.0: Y(Vertical) Value
[Value 3] 0.0~1.0: Z(Depth) Value
for Shake
[Value 1] 0:Shake Begin, 1:Shake Cancel, 2:Shake End
/set Message
/set message is sent from the computer to the iPhone.
/set [Device ID] [Page Number] [Item Number] [Item Kind] [Event Kind] [Value 1] [Value 2] [Value 3]
[Device ID], [Item Kind] and [Event Kind] are not used and the value has no meaning.
max6で使ってみました。
便利ですね!