mididings
Units¶
Units are the basic building blocks from which you can build your mididings patches.
Note
This document doesn’t describe what the documented functions do,
but rather what the objects they return do.
For example, the Transpose()
function does not actually
transpose anything.
It merely returns an object that, when inserted into a
patch, will transpose incoming events.
Filters¶
- Filter(types, ...)
Filter events by type, see
here
.
For filters which accept an arbitrary number of arguments, each argument may also be a list or tuple of values. The following filters are equivalent:
PortFilter(1, 2, 3, 4)
PortFilter([1, 2, 3, 4])
PortFilter(1, 2, (3, 4))
Splits¶
- Split(mapping)
Split by event type, see
here
.
Modifiers¶
Generators¶
Generators change the type of an event, either generating an entirely new event, or retaining some attributes of the original event.
If the port and channel arguments are omitted for any of these generators, the values are retained from the incoming event. To reuse other values, one of the Event Attribute constants can be used in place of any parameter.