bankindex

Gets the index of the currently loaded patch in the patch bank. Mostly useful in controller objects, to prevent a patch loading mechanism to load itself over and over again.
Author: Johannes Taelman
License: BSD
Github: patch/bankindex.axo

Inlets

None

Outlets

int32.positive patch index, starting from zero

Declaration
int i;
Init
i = GetIndexOfCurrentPatch();
Control Rate
outlet_index = i;

Privacy

© 2024 Zrna Research