Skip to main content

selectors_of

Function selectors_of 

Source
pub fn selectors_of(
    instrument: InstrumentType,
    params: &[f32],
) -> Vec<SessionSelector>
Expand description

Every selector on params, as the position it is pointing at.

Which controls those are comes from the instrument’s own is_discrete rather than from a list here: a panel that gains a switch has to start storing it without this file being edited, because the failure this guards against is silent.