Article / Updated 11-07-2017
Your Raspberry Pi can shuffle your music if you want to play random songs. Take a look below. The bracketed sections are lists, similar to lists in Python. You can add different instructions (or methods) to the lists to change the order of the items in them. For example, try this, using the reverse method:play_pattern_timed [:c4, :e4, :g4, :c5], [0.