Hello. I'm using beatsin8() function and I want to do exactly N beating periods.

Hello. I’m using beatsin8() function and I want to do exactly N beating periods. How can I achieve that?

Can you give a bit more info about what you’re trying to do? Do you mean you want to have it beat exactly N times and then stop? Or beat at exactly N beats per minute?

@marmil I want to have it beat exactly N times and then stop.