doc_px1m0d
[print]
[en ]

Previous page Parent page Next page TOC
Structure   (1)   doc  >  doc_px1m0d
The Following Documentation describes the specification of the plugTypes configuration.

It consists of the following chapters:

1. The XMLStructure
2. The description of the ExpressionLanguage?
3. The a vailable Variables and their usage
4. The creation of Messages? -> Midi, OSC and PIPE

chapter 2. Expressions:

Example Expressions:

if-condition:
if(LocalXPos == 1, true, false)

chapter 3. Midi:

The midi message is built according to the specs found on http://www.midi.org/techspecs/midimessages.php

A midi message has usually three bytes. it starts with a statusbyte, followed by two (and sometimes more) data bytes.

the statusbyte start with the first bit set to one, while the data bytes first bit is zero.

the statusbyte is build up the following way:

1tttcccc

the first bit is set to one. the following three bits (t) define the status type (sometimes also called 'commands'). the following Types are
allowed inside this config file:

bits Description <StatusTyp> used for #MidiStatusType## (see chapter 1)

000 Note Off Event "NoteOff"
001 Note On Event "NoteOn"
010 Polyphonic Key Pressure "PolyKeyPressure"
011 Control Change "ControlChange"
100 Program Change "ProgramChange"
101 Channel Pressure "ChannelPressure"
110 Pitch Wheel Change "PitchBend"
111 System Exclusive Message "SysEx"

the following 4 bits (c) define the channel.

bits Description Values calculated by the expression
0000 channel 1 0
0001 channel 2 1
0010 channel 3 2
0011 channel 4 3
0100 channel 5 4
0101 channel 6 5
0110 channel 7 6
0111 channel 8 7
1000 channel 9 8
1001 channel 10 9
1010 channel 11 10
1011 channel 12 11
1100 channel 13 12
1101 channel 14 13
1110 channel 15 14
1111 channel 16 15

Each of the status types expect a certain number of databytes, most of the time 2, some none, one or in the case
of sysex messages even as many as the user wants to. in order what is allowed, please check the above mentioned
link. the value beeing sent with the databytes are allways calculated by an expression, but since a databyte can
only have 7 bits (since the first bit has to be 0), it will always be cast into a value from 0 ... 127.





pic

thumbnail
905_Pic090.jpg