Tidal
Tidal copied to clipboard
Should `choose` work with patterns as well as lists?
Tidal-1.0.x (currently) has no patToList, which means it's harder to select random elements from a pattern.
Perhaps choose could be generalised, or another choose could be created, to facilitate choosing random elements from patterns.
We could either make patterns of lists:
choose :: Pattern [a] -> Pattern a
or use polyphony as lists:
choose :: Pattern a -> Pattern a
For chords, we're doing the latter, which sort of makes sense. For something like choose, the former probably makes sense.. but then, what if we want to randomly choose a note from a chord?
I think a version of mono that makes a pattern monophonic by picking from concurrent events at random would be the answer to this,