See Inside and use the following blocks inside the project. Remix this and keep making your own beats or to include your beat for you new project/game!
Based on: http://madewithcode.com/projects/beats UPDATE: I made some error fixes like setting the correct sample rate for the sounds for Scratch compatibility.