Triggering SyntheticBassDrum with a button [Solved]

I’ve been trying to produce some DaisyDuino code for producing a single beat of the drum using a button. I’ve been trying to modify the SyntheticBassDrum example code from the Arduino IDE without success. Is there a way of triggering the beat using a button instead of the Metro?

Nevermind, I found the Trig() function.