class PatternPlayer located in AudioEngine.h to avoid mess in the include