This stage builds on the previous stage using a condition from a 'while true' statement (this should be done on the same script as previous step)
Click on the 'Loops' tab, select the 'while true' statement and drag it onto the page
Click on the 'Logic' tab, select the '0 = 0' block, drag and drop to the right of the 'while true' statement - this will replace the 'true' part of the statement
Click on the 'Pins' tab, select the 'digital read pin' block and replace the first '0'
Change the value of the second '0' to '1' and the pin from 'P0' to 'P1'
Click on the 'Music' tab and select the 'play tone' block
Place the block below the 'digital read pin P1 = 1' block
Duplicate the 'play tone' block two times by right clicking it
Place the two duplicated blocks underneath the first 'play tone' block
Now change the 'play tone' blocks to your desired tone and beat