Update zifferjs

This commit is contained in:
2023-12-07 01:50:04 +02:00
parent 65fccac799
commit faed3f8868
3 changed files with 10 additions and 5 deletions

View File

@ -43,7 +43,7 @@
"tone": "^14.8.49",
"unique-names-generator": "^4.7.1",
"vite-plugin-markdown": "^2.1.0",
"zifferjs": "^0.0.44",
"zifferjs": "^0.0.45",
"zyklus": "^0.1.4",
"zzfx": "^1.2.0"
}

View File

@ -288,6 +288,11 @@ export class Player extends AbstractEvent {
lead = () => this.voiceleading();
arpeggio(indexes: string|number[]) {
if (this.atTheBeginning()) this.ziffers.arpeggio(indexes);
return this;
}
invert = (n: number) => {
if (this.atTheBeginning()) {
this.ziffers.invert(n);

View File

@ -4028,10 +4028,10 @@ yaml@^2.1.1:
resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.3.1.tgz#02fe0975d23cd441242aa7204e09fc28ac2ac33b"
integrity sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ==
zifferjs@^0.0.44:
version "0.0.44"
resolved "https://registry.yarnpkg.com/zifferjs/-/zifferjs-0.0.44.tgz#c6b425166488ec05e349867e3de2460b74204449"
integrity sha512-Q+0affxeUZwl+oJpsa1nb4hqHV6V4VX+pkejCQq/e9+/0H6ooTpcDQ9IDopvrWBnhA8E11k0tbwUee5TJtE8UQ==
zifferjs@^0.0.45:
version "0.0.45"
resolved "https://registry.yarnpkg.com/zifferjs/-/zifferjs-0.0.45.tgz#63d26e58e30dcd6ecd98dd71922a5039c8cbab59"
integrity sha512-vXuFnD+AGwJ2pvSzj1L7SCjX4QNoz4CzirVJNuQmeAeN0SS3+Nsg1EhhjcIbLpKw5da20eNNMD6YBPco5Umy7Q==
zyklus@^0.1.4:
version "0.1.4"