Strategy Pattern for Play Modes

Good day,

This is more of a suggestion before all but I believe the method processNextBuffer() in class song.cpp is too long (performing more than it should). Therefore, the strategy pattern could be applied to extract the logic out of the switch statement in order to improve re-usabiliy and readability.

Let me know what you think,

Alex