Generate a drum performance as a flat list of onsets.
Every voice (kick, snare, ghost snares, closed/open/foot hi-hats, ride, toms,
crash, and auxiliary percussion) is emitted as a DrumHit distinguished
by its General MIDI pitch. Groove style selects an internal style and feel;
density sets the backing-density level; section shapes kick, hi-hat, ghost,
and percussion density. 16th-note hi-hats drop to 8ths at or above 150 BPM.
When fills is true the final bar is replaced with a fill whose archetype is
shaped by nextSection; a fill that would emit nothing on its beat falls back
to the normal groove so the phrase end is never silent. euclideanKick
overrides the kick with an evenly-spread Euclidean pattern. Output is fully
determined by the options plus seed.
Generate a drum performance as a flat list of onsets.
Every voice (kick, snare, ghost snares, closed/open/foot hi-hats, ride, toms, crash, and auxiliary percussion) is emitted as a DrumHit distinguished by its General MIDI pitch. Groove style selects an internal style and feel;
densitysets the backing-density level;sectionshapes kick, hi-hat, ghost, and percussion density. 16th-note hi-hats drop to 8ths at or above 150 BPM. Whenfillsis true the final bar is replaced with a fill whose archetype is shaped bynextSection; a fill that would emit nothing on its beat falls back to the normal groove so the phrase end is never silent.euclideanKickoverrides the kick with an evenly-spread Euclidean pattern. Output is fully determined by the options plusseed.