Transforming a whole groove
A remix takes a groove and changes it: reverse it, shift it, thin it out, swap drums. Write each change as a function that takes beats and returns new beats.
Challenge A:def reverse_beats(beats): return [9 - b for each b] (build it with a loop). Play kick(reverse_beats([1, 2, 5])).