pub fn effect_order_code(order: &[EffectFamily; 9]) -> Result<u32, FormatError>Expand description
The effect_chain_order code of an effect list, top to bottom.
Number the effects by EFFECT_ORDER. Each effect after the first
adds a mixed-radix digit: the count of effects above it with a higher
number, in base position + 1, the first digit the most significant.
Measured on Vital 1.0.7: moving Reverb
to the top stores 260650, Chorus to the bottom 8, and swapping the
first two 181440.
ยงErrors
A FormatError when the list does not hold each effect once.