Amazing what a coffee can do !

I've got something working now. I created a variable called time and then changed the music section to

Code:
music:
if sw1=0 then swcount=swcount+1     ;cycles through the patterns by adding 1 to SWcount
pause 70                            ;debounce delay
If swcount >7 then swcount=1        ;error trap for exceeding max patterns                        
gosub sel1                          ;go to subroutine to select pattern based on SWcount value
If mus = 1 then counts = counts+1
if mus = 0 then time = time +1
gosub sel2                          ;go to subroutine to display pattern in current step
If counts = steps then counts = 0  ;if counts then reset counts to 1
if time = 20 then goto chase
goto music:
works fine... just got to try the value for the jump to chase with some music (young one's asleep on the sofa at the moment.. so it will have to wait !)

Sorry for the waste of space on the server.. but I had been trying to get this working for hours before the cafine break !