Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion src/synth/AlphaSynth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,14 @@ export class AlphaSynth implements IAlphaSynth {
this.updateTimePosition(this._timePosition * (oldSpeed / value));
}

public get playbackEndTime(): number {
return this._sequencer.endTime;
}

public get playbackEndTick(): number {
return this._sequencer.endTick;
}

public get tickPosition(): number {
return this._tickPosition;
}
Expand Down Expand Up @@ -192,7 +200,7 @@ export class AlphaSynth implements IAlphaSynth {
return false;
}
this.output.activate();

this.playInternal();

if (this._countInVolume > 0) {
Expand Down