Expand description
music21’s WeightedHexatonicBlues, made reproducible.
Upstream this is the one ConcreteScale subclass that is not
deterministic: its IntervalNetwork sets deterministic=False and branches
at the fourth degree, so two calls on the same tonic can return six or seven
pitches. It is a sampler, not a table, which is why it cannot be a
ScaleType variant — a generated parity fixture for it
would go red at random.
The branch is the only source of that randomness, and it has exactly two
outcomes: take the blue note or skip it. Both are exposed here as named
BluesForm variants that are perfectly deterministic, plus a
WeightedHexatonicBlues::sample that picks between them from a seed you
supply. Nothing in this crate reaches for a global random number generator.
Structs§
- Weighted
Hexatonic Blues - music21’s
WeightedHexatonicBlues, with the randomness made explicit.
Enums§
- Blues
Form - Which side of the network’s branch a realization takes.