A newer version of Max is available. Click here to access the latest version of the documentation

mpeconfig Reference

Configure a MIDI device that supports Multidimensional Polyphonic Expression (MPE) messages

mpeconfig

Description

The mpeconfig object is used to set up and configure zones for interpreting incoming MIDI to MPE devices.

Examples

Arguments

None.

Attributes

chanrange [int] (default: 15)

The channel range specifies the number of channels following the zone master channel. (e.g. masterchannel 1, chanrage 15 will be all 16 channels, and masterchannel 1, chanrange 5 will be master channel 1 and the zone will run until the end of channel 6).

masterchan [int] (default: 1)

The zone master channel specifies the first channel for the currently defined zone.

Common Box Attributes

Messages

bang

The bang message causes a zone to be defined based on the current settings of masterchan and chanrange. You can have a maximum of 7 zones.

clear

The clear message clears all currently configured zones and returns them to their default state.

createzone

Arguments

master-channel [int]
note-bend-range [int]
The word createzone, followed by a list of two integers that define the Master channel and the Note bend range, will define a zone. No bang message is required when using this message. You can have a maximum of 7 zones configured in any way you wish amongst the 16 channels.

masterbendrange

Arguments

max-bend-range [int]
The word masterbendrange, followed by an integer that specifies the maximum pitch bend range in semitones, will set the pitch bend range for all zones. that define the Master channel and the Note bend range, will define a zone. No bang message is required when using this message.

notebendrange

Arguments

max-bend-range [int]
The word notebandrange, followed by an integer that specifies the maximum pitch bend range in semitones, will set the pitch bend range for a specified master channel.

Note: If no master channel is set using a @masterchan attribute, the notebandrange message must always be preceded by a masterchan message to select a master channel, and followed by a bang message to define the zone.

See Also

Name Description
midiin
midiformat
midiparse
mpeformat
mpeparse
polymidiin