Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def previewbpm(bpm):
c = musictheory.chunk(5)
ins = filezart.getInstrument("Drum_Snare")
for i in c.wholes():
c.add(i, mnote.fromName("C0"))
sidePlay(c.getAudio(ins, bpm))