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


Reverse output with respect to input


The jit.reverse object reverses the sequential order of data coming in its inlets, relative to its outlets. More simply put, a jit.reverse object with 5 inlets will pass input sent to the left inlet to its rightmost outlet. Inlet 2 would be mapped to outlet 4, etc.




bang Equivalent to anything.
int Equivalent to anything.
float Equivalent to anything.
list Equivalent to anything.
anything Any input is passed to the corresponding outlet.
clear inlet-list [list]
The clear message with no arguments initializes all inlets. Optional arguments specify by number the inlets to initialize. Inlet numbering starts from 0.

When initialized, no output will occur for the inlet's corresponding outlet until new input is received in that inlet.


Name Type g/s Description
reverse int Reverse mapping flag (default = 1) When the flag is set, reverse mapping is enabled. Otherwise, mapping passes inlet 1 to outlet 1, inlet 2 to outlet 2, etc.
immediate int Processing mode (default = 0 (left inlet only))
0 = output triggered by input to the left inlet only.
1 = input to any inlet is sent out the outlet associated with it immediately.

Information for box attributes common to all objects


See Also

Name Description
jit.cycle Cycle messages through outputs
swap Reverse the sequential order of two integers