fixes user pattern writing issue with multiple pieces playing at the same time
Merge branch 'master' into v1