Library for handling multiple sequencer tracks, focused on generative sequencers.
Used by Microlidian, Nexus6 and Compulidian.
Currently:-
- Mutating, modulatable Euclidian sequencers
- Turing Machine-esque
Uses the midihelpers, parameters, mymenu, saveloadlib libraries.
EuclidianSequencer::set_seed_identity(uint32_t) supplies an application-owned,
stable identity without depending on a particular board or hardware API.
set_add_identity_enabled(bool) opts into adding it to the effective seed;
the default is disabled, preserving existing patterns. is_add_identity_enabled()
reports the setting. The existing phrase contribution remains independent.
For example, a device can fold its 64-bit card ID into 32 bits and supply that
value before playback. Devices with different identities then generate different,
repeatable mutations from the same base seed and phrase. Identity changes affect
future mutations, not already-generated patterns. Seed lock takes precedence
over both phrase and identity changes. set_euclidian_seed() still sets the
effective seed, accounting for enabled contributions with wrapping arithmetic.
With ENABLE_STORAGE, the optional flag is stored as Add Identity To Seed
at scene/project scope. The identity itself is not persisted: the application
supplies it at startup, so loading a project never replaces the device's identity.