adding the logic for a rewind button

This commit is contained in:
2023-08-03 13:30:11 +02:00
parent 1ef3c0549f
commit 4614896a84
2 changed files with 28 additions and 2 deletions

View File

@ -73,6 +73,7 @@ export class TransportNode extends AudioWorkletNode {
this.startTime = null;
this.elapsedTime = null;
this.app.clock.tick = 0;
this.$clock.innerHTML = `[${1} | ${1} | ${zeroPad(1, '2')}]`;
this.port.postMessage("stop");
}