Get the length of time for a musical beat.
music.beat(BeatFraction.Whole)
fraction
means fraction of a beat (BeatFraction.Whole, BeatFraction.Sixteenth, etc.)
- a number that is the amount of time in milliseconds (one-thousandth of a second) for the beat fraction.
music.playTone(Note.C, music.beat(BeatFraction.Quarter))
play tone, ring tone, rest, set tempo, change tempo by
music