The preset generateProgression would choose for a style and seed.
The choice is otherwise invisible: the generator returns chords, not the preset it drew them from, so a caller who wants to show or reproduce it has no way to name it.
The style pool to choose from.
The same context the generator would be given, or the seed alone.
The preset that context selects.
If no preset claims the style.
import { pickProgressionPreset } from '@libraz/libcantus';pickProgressionPreset('dance', 3).name; Copy
import { pickProgressionPreset } from '@libraz/libcantus';pickProgressionPreset('dance', 3).name;
The preset generateProgression would choose for a style and seed.
The choice is otherwise invisible: the generator returns chords, not the preset it drew them from, so a caller who wants to show or reproduce it has no way to name it.