Merge branch 'main' into 48-superdough-features

This commit is contained in:
Raphaël Forment
2023-09-18 17:56:20 +01:00
committed by GitHub
4 changed files with 43 additions and 5 deletions

View File

@ -199,6 +199,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;