|
@@ -201,7 +201,15 @@ export class ExpressionReader {
|
|
|
this.currentMultiTempoExpression,
|
|
|
true);
|
|
|
instantaneousTempoExpression.parentMeasure = currentMeasure;
|
|
|
+
|
|
|
this.soundTempo = bpmNumber;
|
|
|
+ if (beatUnit.value === "half") {
|
|
|
+ this.soundTempo *= 2;
|
|
|
+ // TODO better handling: keep as is instead of converting to quarter bpm,
|
|
|
+ // respect PlaybackSettings.beatRealValue
|
|
|
+ }
|
|
|
+ // TODO handle other beatUnit values
|
|
|
+
|
|
|
// make sure to take dotted beats into account
|
|
|
currentMeasure.TempoInBPM = this.soundTempo * (dotted?1.5:1);
|
|
|
if (this.musicSheet.DefaultStartTempoInBpm === 0) {
|