5. Mapping

Changing every item

A map does the same thing to every item in a list: add 4 to every beat, double every number, flip every beat to the other end of the bar.

🎯 0/4 · 🥁 0 solved · 🏅 0

Challenge A:first = [1, 2, 4]. Map it to second by adding 4 to each beat. Play kick(first) and snare(second).

Goal
snare
kick
1234
5678