jit.reverse 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.

Attributes:
Name Type Description
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.
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.

Messages:
anything
Any input (int, float, bang, or list) 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.


Example:

See Also:
jit.cycle, swap