tonus 0.6.1 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -34,14 +34,14 @@ export declare const STROKE: {
34
34
  };
35
35
  /** The type scale, and it is THE PAGE'S: a modular scale on 15px stepped by
36
36
  * the Pythagorean minor third, 32:27 — the same six `--micro` … `--display-size`
37
- * that ../../../../docs/styles.css declares. So a wheel's label and a table's
37
+ * that the site's stylesheet declares. So a wheel's label and a table's
38
38
  * label at the same step are the same size.
39
39
  *
40
40
  * It was 9/11/13.5/17/21/26, derived from what the diagrams happened to use.
41
41
  * That was honest when the page had no scale of its own; once the page took
42
42
  * one, the two agreed on `title` alone and every drawn label sat 1.5–2px under
43
- * the prose around it. ../../../../scripts/vendor-ink.mjs asserts the pairing
44
- * now, so this cannot drift again silently.
43
+ * the prose around it. The site's vendor step asserts the pairing now, so this
44
+ * cannot drift again silently.
45
45
  *
46
46
  * Nothing inside tonus reads STEP — the site's diagrams are its only consumer
47
47
  * — so moving it changes no emitted SVG for a package consumer. */
@@ -63,7 +63,7 @@ export declare const HOUSE_SERIF = "Junicode, 'Crimson Pro', Georgia, serif";
63
63
  export declare const HOUSE_MONO = "'IBM Plex Mono', ui-monospace, Menlo, monospace";
64
64
  /** The fourth stack, and NOT a fourth face: neither text face carries the
65
65
  * planetary or musical signs (see fonts/README.md), so a figure that draws one
66
- * falls back to the system. Mirrors `--symbol` in ../../../../docs/styles.css
66
+ * falls back to the system. Mirrors `--symbol` in the site's stylesheet
67
67
  * — the same sharing-by-numbers seam as HOUSE_SERIF and HOUSE_MONO, and it was duplicated
68
68
  * inline in mutatio.js as a local SIGN_FACE before this existed. */
69
69
  export declare const HOUSE_SYMBOL: string;
@@ -79,9 +79,9 @@ export declare const HOUSE_SYMBOL: string;
79
79
  * of digits must line up; that is the setting that does work.
80
80
  *
81
81
  * Nothing in the library's own emitters uses this yet. It lives here because
82
- * this file is the ONE definition of the ink system and the site vendors it
83
- * (../../../../scripts/vendor-ink.mjs) — a second copy in the site would be
84
- * the drift this module exists to prevent. */
82
+ * this file is the ONE definition of the ink system and the site vendors it
83
+ * a second copy in the site would be the drift this module exists to
84
+ * prevent. */
85
85
  export declare const FIGURES: {
86
86
  readonly family: "Junicode, 'Crimson Pro', Georgia, serif";
87
87
  readonly features: "";
@@ -24,9 +24,8 @@
24
24
  // draw.
25
25
  //
26
26
  // ─── HOW THIS MEETS THE PAGE ───────────────────────────────────────────────
27
- // The documentation site keeps a system of its own, stated at the top of
28
- // ../../../../docs/styles.css. The two are separate and they AGREE BY SHARING
29
- // NUMBERS,
27
+ // The site (orreliquum-next) keeps a system of its own, stated at the top of
28
+ // its stylesheet. The two are separate and they AGREE BY SHARING NUMBERS,
30
29
  // not by one importing the other:
31
30
  //
32
31
  // STEP mirrors the six CSS type steps (--micro … --display-size)
@@ -92,14 +91,14 @@ export const STROKE = {
92
91
  };
93
92
  /** The type scale, and it is THE PAGE'S: a modular scale on 15px stepped by
94
93
  * the Pythagorean minor third, 32:27 — the same six `--micro` … `--display-size`
95
- * that ../../../../docs/styles.css declares. So a wheel's label and a table's
94
+ * that the site's stylesheet declares. So a wheel's label and a table's
96
95
  * label at the same step are the same size.
97
96
  *
98
97
  * It was 9/11/13.5/17/21/26, derived from what the diagrams happened to use.
99
98
  * That was honest when the page had no scale of its own; once the page took
100
99
  * one, the two agreed on `title` alone and every drawn label sat 1.5–2px under
101
- * the prose around it. ../../../../scripts/vendor-ink.mjs asserts the pairing
102
- * now, so this cannot drift again silently.
100
+ * the prose around it. The site's vendor step asserts the pairing now, so this
101
+ * cannot drift again silently.
103
102
  *
104
103
  * Nothing inside tonus reads STEP — the site's diagrams are its only consumer
105
104
  * — so moving it changes no emitted SVG for a package consumer. */
@@ -128,7 +127,7 @@ export const HOUSE_SERIF = "Junicode, 'Crimson Pro', Georgia, serif";
128
127
  export const HOUSE_MONO = "'IBM Plex Mono', ui-monospace, Menlo, monospace";
129
128
  /** The fourth stack, and NOT a fourth face: neither text face carries the
130
129
  * planetary or musical signs (see fonts/README.md), so a figure that draws one
131
- * falls back to the system. Mirrors `--symbol` in ../../../../docs/styles.css
130
+ * falls back to the system. Mirrors `--symbol` in the site's stylesheet
132
131
  * — the same sharing-by-numbers seam as HOUSE_SERIF and HOUSE_MONO, and it was duplicated
133
132
  * inline in mutatio.js as a local SIGN_FACE before this existed. */
134
133
  export const HOUSE_SYMBOL = "'Apple Symbols', 'Segoe UI Symbol', "
@@ -145,9 +144,9 @@ export const HOUSE_SYMBOL = "'Apple Symbols', 'Segoe UI Symbol', "
145
144
  * of digits must line up; that is the setting that does work.
146
145
  *
147
146
  * Nothing in the library's own emitters uses this yet. It lives here because
148
- * this file is the ONE definition of the ink system and the site vendors it
149
- * (../../../../scripts/vendor-ink.mjs) — a second copy in the site would be
150
- * the drift this module exists to prevent. */
147
+ * this file is the ONE definition of the ink system and the site vendors it
148
+ * a second copy in the site would be the drift this module exists to
149
+ * prevent. */
151
150
  export const FIGURES = {
152
151
  family: HOUSE_SERIF,
153
152
  features: "",
@@ -2,7 +2,13 @@
2
2
  // begin at the thumb tip, come down the thumb, cross the finger BASES
3
3
  // index→little, climb the little finger, return across the finger TIPS
4
4
  // little→index, descend the index, then spiral inward; ee (76) floats above the
5
- // middle fingertip (region "super"). The two b/♮ pairs (58/59, 70/71) share a
5
+ // middle fingertip (region "super"). THE INWARD TURN IS ONE TURN: after g on
6
+ // the index the line runs in to aa, out to bb/♮♮ on the ring, then UP that
7
+ // finger to cc before crossing to the middle for dd and ee. Reading it with
8
+ // cc on the middle and dd on the ring makes the line cross three times where
9
+ // the hand turns once. The figure that DRAWS the turn lives in the site
10
+ // (orreliquum-next), and its LOCUS table must agree with the fingers named
11
+ // here; the test that holds the two together lives there beside it. The two b/♮ pairs (58/59, 70/71) share a
6
12
  // locus by design — one joint, two readings (fa in molle, mi in durum), the
7
13
  // tradition, not a duplication to fix. They are one distinction, named for the
8
14
  // two shapes of the letter: b rotundum (the round b) against b quadratum (the
@@ -31,8 +37,8 @@ export const GUIDONIAN_DATA = new Map([
31
37
  [69, { hand: { finger: "middle", region: "mid" }, name: ["aa", "Alamire"], variants: [{ hexachord: "durum", solmization: "RE" }, { hexachord: "naturale", solmization: "LA" }, { hexachord: "molle", solmization: "MI" }] }],
32
38
  [70, { hand: { finger: "ring", region: "mid" }, name: ["bb", "Befa"], variants: [{ hexachord: "molle", solmization: "FA" }] }],
33
39
  [71, { hand: { finger: "ring", region: "mid" }, name: ["♮♮", "Bemi"], variants: [{ hexachord: "durum", solmization: "MI" }] }],
34
- [72, { hand: { finger: "middle", region: "top" }, name: ["cc", "Cesolfa"], variants: [{ hexachord: "durum", solmization: "FA" }, { hexachord: "naturale", solmization: "UT" }, { hexachord: "molle", solmization: "SOL" }] }],
35
- [74, { hand: { finger: "ring", region: "top" }, name: ["dd", "Delasol"], variants: [{ hexachord: "durum", solmization: "SOL" }, { hexachord: "naturale", solmization: "RE" }, { hexachord: "molle", solmization: "LA" }] }],
40
+ [72, { hand: { finger: "ring", region: "top" }, name: ["cc", "Cesolfa"], variants: [{ hexachord: "durum", solmization: "FA" }, { hexachord: "naturale", solmization: "UT" }, { hexachord: "molle", solmization: "SOL" }] }],
41
+ [74, { hand: { finger: "middle", region: "top" }, name: ["dd", "Delasol"], variants: [{ hexachord: "durum", solmization: "SOL" }, { hexachord: "naturale", solmization: "RE" }, { hexachord: "molle", solmization: "LA" }] }],
36
42
  [76, { hand: { finger: "middle", region: "super" }, name: ["ee", "Ela"], variants: [{ hexachord: "durum", solmization: "LA" }, { hexachord: "naturale", solmization: "MI" }] }],
37
43
  ]);
38
44
  //# sourceMappingURL=guido.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tonus",
3
- "version": "0.6.1",
3
+ "version": "0.7.0",
4
4
  "type": "module",
5
5
  "description": "Medieval music analysis and performance: GABC plainchant exports, liturgical calendar, tuning systems, ephemeris, and the harmony of the spheres",
6
6
  "author": "Jeffrey Pierce <jeffrey@jeffreypierce.net>",
@@ -50,10 +50,6 @@
50
50
  "clean": "rm -rf dist",
51
51
  "test": "npm run build && node --test --test-reporter=spec tests/*.test.mjs",
52
52
  "prepublishOnly": "npm run clean && npm run build",
53
- "check:links": "node scripts/check-doc-links.mjs",
54
- "site": "npm run build && node scripts/vendor-ink.mjs && rm -rf docs/dist && cp -R dist docs/dist",
55
- "serve": "npm run site && node scripts/serve.mjs",
56
- "diagrams": "npm run site && node scripts/diagram-lab.mjs",
57
53
  "lab": "npm run build && node scripts/render-lab.mjs",
58
54
  "stress": "npm run build && node scripts/render-stress.mjs",
59
55
  "glyphs": "node scripts/extract-smufl-glyphs.mjs"