Add chord inversions and voiceleading

This commit is contained in:
2023-09-17 22:22:57 +03:00
parent cc04b97d2f
commit 9d964f81da
4 changed files with 35 additions and 5 deletions

View File

@ -196,6 +196,20 @@ export class Player extends Event {
return this;
}
voiceleading() {
if (this.atTheBeginning()) this.ziffers.lead();
return this;
}
lead = () => this.voiceleading();
invert = (n: number) => {
if (this.atTheBeginning()) {
this.ziffers.invert(n);
}
return this;
}
retrograde() {
if (this.atTheBeginning()) this.ziffers.retrograde();
return this;