Merge branch 'rev03-changes'
# Conflicts: # libs/core/motors.cpp # libs/core/music.cpp # package.json
This commit is contained in:
@ -167,7 +167,7 @@ namespace music {
|
||||
let beat = 60000 / beatsPerMinute;
|
||||
if (fraction == BeatFraction.Whole) return beat;
|
||||
else if (fraction == BeatFraction.Half) return beat / 2;
|
||||
else if (fraction == BeatFraction.Quarter) return beat / 4
|
||||
else if (fraction == BeatFraction.Quarter) return beat / 4;
|
||||
else if (fraction == BeatFraction.Eighth) return beat / 8;
|
||||
else return beat / 16;
|
||||
}
|
||||
|
Reference in New Issue
Block a user