Route bpm change from TransportProcessor
This commit is contained in:
@ -137,7 +137,6 @@ export class Clock {
|
||||
|
||||
set bpm(bpm: number) {
|
||||
if (bpm > 0 && this._bpm !== bpm) {
|
||||
this._bpm = bpm;
|
||||
this.transportNode?.setBPM(bpm);
|
||||
}
|
||||
}
|
||||
@ -223,7 +222,8 @@ export class Clock {
|
||||
* @remark also sends a MIDI message if a port is declared
|
||||
*/
|
||||
this.app.clock.tick = 0;
|
||||
this.logicalTime = 0
|
||||
this.logicalTime = 0;
|
||||
this.elapsed = 0;
|
||||
this.time_position = { bar: 0, beat: 0, pulse: 0 };
|
||||
this.app.api.MidiConnection.sendStopMessage();
|
||||
this.transportNode?.stop();
|
||||
|
||||
Reference in New Issue
Block a user