fix: fixing some stuff
Some checks failed
Gitea djledda.de/arne-drums/pipeline/head There was a failure building this commit
Some checks failed
Gitea djledda.de/arne-drums/pipeline/head There was a failure building this commit
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -31,7 +31,7 @@ export default class Beat implements IPublisher<BeatEvents>{
|
|||||||
constructor(options?: BeatInitOptions) {
|
constructor(options?: BeatInitOptions) {
|
||||||
this.key = `Beat-${Beat.count}`;
|
this.key = `Beat-${Beat.count}`;
|
||||||
this.name = options?.name ?? this.key;
|
this.name = options?.name ?? this.key;
|
||||||
this.setTimeSignature(options?.timeSig?.up ?? 4, options?.timeSig?.down ?? 4);
|
this.setTimeSignature({up: options?.timeSig?.up ?? 4, down: options?.timeSig?.down ?? 4});
|
||||||
this.setBars(options?.bars ?? 48);
|
this.setBars(options?.bars ?? 48);
|
||||||
Beat.count++;
|
Beat.count++;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user