Page 1 of 1

Play note length 1/4- 1/8- 1/16 with midi

Posted: Wed Oct 29, 2003 11:36 pm
by Cor
How to play note length 1/4- 1/8- 1/16 with midi without using the delay function

Is there a standard control to play e.g. 1/8 note

I'm now using

Code: Select all

PlayNote(#Channel4,$40,90)

Delay (200)
StopNote(#Channel2,$39)
But this will make my timing fail if e.g. I want to play 80 bpm

Posted: Thu Oct 30, 2003 2:55 am
by einander
How to play note length 1/4- 1/8- 1/16 with midi without using the delay function
Cor:
I use Delay with no trouble.

Try: Delay (60000/BPM)
BPM=Beats per minute
Beats=quarter note

Example:
For 80 quarter notes in 1 minute: Delay(60000/80)

Posted: Thu Oct 30, 2003 2:31 pm
by Cor
Thanks :D