Motion 5 - Applying the MIDI behavior

background image

Applying the MIDI behavior

The MIDI behavior is applied in the same way as all other Parameter behaviors. In the
following examples, the MIDI parameter behavior is used to adjust an object’s opacity
and rotation.

Note: This behavior can only be used if you have a MIDI device correctly connected to
your computer.

To use the MIDI behavior to adjust an object’s opacity

1

Select an object, then select the Opacity parameter in the Properties Inspector.

431

Chapter 9

Using Behaviors

background image

2

Control-click the parameter, then choose MIDI from the shortcut menu.

The MIDI parameters are displayed in the Behaviors Inspector. By default, Control Type
is set to Learning.

Like all other Parameter behaviors, the Apply To field displays the parameter to which
the behavior is applied.

3

On your MIDI device, tweak the control (such as the knob, dial, or key) you want to use
as the controller for the Opacity parameter.

Note: When in Learning mode, the first control adjusted on the MIDI device is set as the
control. To reset the selected controller, choose Learning from the Control Type pop-up
menu, and adjust another control on the MIDI device.

The identification number of the MIDI control is displayed in the ID field. The value range
of the control is 0 to 127, the default MIDI control value.

Because an object’s opacity can only fall between 0 (completely transparent) to 100
(completely opaque), the default MIDI values are sufficient to adjust the parameter.

To use the MIDI parameter behavior to adjust an object’s rotation

1

Select an object, then select the Rotation parameter in the Properties Inspector.

2

Control-click the parameter, then choose MIDI from the shortcut menu.

3

On your MIDI device, tweak the control (knob, dial, key, and so on) you want to use as
the controller for the Rotation parameter.

As mentioned above, the default Value range is 0 to 1. Because the Rotation value of an
object can be much larger, you can use the Scale parameter to multiply the Value range.

4

To give the control more sensitivity, increase the Scale value.