tonus 0.11.0 → 0.11.1
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.
- package/CHANGELOG.md +16 -0
- package/dist/data/kyriale.d.ts +12 -0
- package/dist/data/kyriale.js +240 -0
- package/dist/engines/chant/chant.js +13 -1
- package/dist/engines/chant/ordinary.js +15 -2
- package/docs/api/chant.md +12 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to tonus. Newest first.
|
|
4
4
|
|
|
5
|
+
## 0.11.1 — 2026-09-10
|
|
6
|
+
|
|
7
|
+
The Kyriale says where it is printed.
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- **The Kyriale can be cited.** Its 120 chants shipped with `books: ["ky"]` and
|
|
12
|
+
no page at all, so nothing downstream could say where to find one — `ky` is a
|
|
13
|
+
category, not a volume, and a citation drawn from `SOURCES` had nothing to
|
|
14
|
+
draw on. They are printed all the same, and twice over: every one carries
|
|
15
|
+
`books: ["lu", "gr"]` and the Liber Usualis's and the Graduale's own pages, so
|
|
16
|
+
`cantus({ id, source: "lu" })` and `cantus({ id, source: "gr" })` each answer
|
|
17
|
+
with that book's leaf number. `ky` remains outside `SOURCES`, the shelf's row
|
|
18
|
+
counts are unchanged, and a bare book query still does not sweep the ordinary
|
|
19
|
+
in: you ask for a Kyrie, you do not stumble onto one.
|
|
20
|
+
|
|
5
21
|
## 0.11.0 — 2026-09-06
|
|
6
22
|
|
|
7
23
|
One cadence catalogue.
|
package/dist/data/kyriale.d.ts
CHANGED
|
@@ -6,6 +6,18 @@ export interface KyrialeEntry {
|
|
|
6
6
|
mode: string | null;
|
|
7
7
|
incipit: string;
|
|
8
8
|
gabc: string;
|
|
9
|
+
/**
|
|
10
|
+
* Every book that PRINTS this ordinary chant, owner first — `gr` and `lu`,
|
|
11
|
+
* never `ky`. The Kyriale is a category, not a volume, so it is not in the
|
|
12
|
+
* book registry; these are the volumes a citation can name.
|
|
13
|
+
*/
|
|
14
|
+
books: string[];
|
|
15
|
+
/** Page citations keyed by book code — the same shape as ChantData.pages. */
|
|
16
|
+
pages: Record<string, {
|
|
17
|
+
page: string;
|
|
18
|
+
sequence: number;
|
|
19
|
+
extent: number;
|
|
20
|
+
}[]>;
|
|
9
21
|
}
|
|
10
22
|
export declare const KYRIALE: KyrialeEntry[];
|
|
11
23
|
//# sourceMappingURL=kyriale.d.ts.map
|