no more groupings; this should just apply patterns
no more groupings, this consolidates rests and turns attacks followed by rests into longer notes
change func name to better suit