Documented arpeggios and updated zifferjs

This commit is contained in:
2023-12-11 02:35:54 +02:00
parent aef26b0811
commit 491461e354
6 changed files with 94 additions and 50 deletions

View File

@ -391,6 +391,7 @@ export abstract class AudibleEvent extends AbstractEvent {
};
public invert = (howMany: number = 0) => {
if(howMany === 0) return this;
if (this.values.note) {
let notes = [...this.values.note];
notes = howMany < 0 ? [...notes].reverse() : notes;