Back to Index

Outputs 1 when x stays within band of ref for ms.

Signature

STABLE_FOR_MS(tonId, x, ref, band, ms, &q);

Example

// Example pattern from analog_macros.ems
STABLE_FOR_MS("st1", ain(1), 5000, 20, 1000, stable);