diff --git a/package.json b/package.json index da2f748..a3c6903 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "tone": "^14.8.49", "unique-names-generator": "^4.7.1", "vite-plugin-markdown": "^2.1.0", - "zifferjs": "^0.0.31", + "zifferjs": "^0.0.32", "zzfx": "^1.2.0" } } diff --git a/src/documentation/ziffers.ts b/src/documentation/ziffers.ts index 4ebf086..923013e 100644 --- a/src/documentation/ziffers.ts +++ b/src/documentation/ziffers.ts @@ -376,7 +376,8 @@ ${makeExample( ${makeExample( "Fraction durations", ` - z1('1/4 0 0 4 4 5 5 2/4 4 1/4 3 3 2 2 1 1 2/4 0').sound('sine').out() + z1('1/4 0 0 4 4 5 5 2/4 4 1/4 3 3 2 2 1 1 2/4 0') + .sound('sine').out() `, true )} @@ -384,7 +385,8 @@ ${makeExample( ${makeExample( "Decimal durations", ` -z1('0.25 5 1 2 6 0.125 3 8 0.5 4 1.0 0').sound('sine').scale("ionian").out() +z1('0.25 5 1 2 6 0.125 3 8 0.5 4 1.0 0') +.sound('sine').scale("galian").out() `, true )} @@ -392,11 +394,21 @@ z1('0.25 5 1 2 6 0.125 3 8 0.5 4 1.0 0').sound('sine').scale("ionian").out() ${makeExample( "Rest and octaves", ` -z1('q 0 ^ e0 r _ 0 _ r 4 ^4 4').sound('sine').scale("ionian").out() +z1('q 0 ^ e0 r _ 0 _ r 4 ^4 4') +.sound('sine').scale("godian").out() `, true )} +${makeExample( + "Rests with durations", + ` + z1('q 0 4 e^r 3 e3 0.5^r h4 1/4^r e 5 r 0.125^r 0') + .sound('sine').scale("aeryptian").out() + `, + true +)} + - Scales ${makeExample( diff --git a/yarn.lock b/yarn.lock index cb3f882..27acbe6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1451,10 +1451,10 @@ yaml@^2.1.1: resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.3.1.tgz#02fe0975d23cd441242aa7204e09fc28ac2ac33b" integrity sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ== -zifferjs@^0.0.31: - version "0.0.31" - resolved "https://registry.yarnpkg.com/zifferjs/-/zifferjs-0.0.31.tgz#723d780eb4992f5eb59fd5a43b9a38e7b1e0ed2a" - integrity sha512-PJV+tEzM9iYeFK3ta7LGSu0j2iodnNIROdzdguVG/YwDz0LLr3vVh8s8XXR3N6CV+/HKbS890han5wdd9kb9Jw== +zifferjs@^0.0.32: + version "0.0.32" + resolved "https://registry.yarnpkg.com/zifferjs/-/zifferjs-0.0.32.tgz#825ab27f890f6fc9315e350e9d6b7ea40bcdaa3e" + integrity sha512-jY7Jx1lFIa7+I606G0+SSYID5hUe8nYlzebtlLKmbuE1Fb1utReb6064auLcpUcRz+zoSBm2GDr6/JlZ4HpKJg== zzfx@^1.2.0: version "1.2.0"