feat: more ui, looping

This commit is contained in:
Daniel Ledda
2021-08-30 14:12:41 +02:00
parent 76b8a427bc
commit 7fa530f070
22 changed files with 529 additions and 166 deletions

11
src/BeatLike.ts Normal file
View File

@@ -0,0 +1,11 @@
import {IPublisher} from "./Publisher";
import {BeatEvents} from "./Beat";
export default interface BeatLike extends IPublisher<BeatEvents>{
setBarCount(barCount: number): void;
getBarCount(): void;
setLooping(isLooping: boolean): void;
isLooping(): boolean;
setLoopLength(loopLength: number): void;
getLoopLength(): number;
}