When I play a long melody, can pattern1 automatically switch to pattern2

Yes…check this post

2 Likes