@telosnex/monet-ui 0.0.0-stage → 0.1.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.
Files changed (90) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +69 -2
  3. package/dist/afterimage.d.ts +41 -0
  4. package/dist/afterimage.js +204 -0
  5. package/dist/afterimage.js.map +1 -0
  6. package/dist/apca-tone-bounds-data.d.ts +2 -0
  7. package/dist/apca-tone-bounds-data.js +809 -0
  8. package/dist/apca-tone-bounds-data.js.map +1 -0
  9. package/dist/cam16-v11.d.ts +78 -0
  10. package/dist/cam16-v11.js +229 -0
  11. package/dist/cam16-v11.js.map +1 -0
  12. package/dist/color.d.ts +9 -0
  13. package/dist/color.js +31 -0
  14. package/dist/color.js.map +1 -0
  15. package/dist/contrast.d.ts +109 -0
  16. package/dist/contrast.js +517 -0
  17. package/dist/contrast.js.map +1 -0
  18. package/dist/css-vars.d.ts +11 -0
  19. package/dist/css-vars.js +58 -0
  20. package/dist/css-vars.js.map +1 -0
  21. package/dist/extract.d.ts +57 -0
  22. package/dist/extract.js +261 -0
  23. package/dist/extract.js.map +1 -0
  24. package/dist/hct.d.ts +28 -0
  25. package/dist/hct.js +442 -0
  26. package/dist/hct.js.map +1 -0
  27. package/dist/index.d.ts +27 -0
  28. package/dist/index.js +28 -0
  29. package/dist/index.js.map +1 -0
  30. package/dist/lerp.d.ts +58 -0
  31. package/dist/lerp.js +118 -0
  32. package/dist/lerp.js.map +1 -0
  33. package/dist/lru-cache.d.ts +17 -0
  34. package/dist/lru-cache.js +50 -0
  35. package/dist/lru-cache.js.map +1 -0
  36. package/dist/luma.d.ts +10 -0
  37. package/dist/luma.js +93 -0
  38. package/dist/luma.js.map +1 -0
  39. package/dist/math.d.ts +2 -0
  40. package/dist/math.js +13 -0
  41. package/dist/math.js.map +1 -0
  42. package/dist/oklch.d.ts +11 -0
  43. package/dist/oklch.js +61 -0
  44. package/dist/oklch.js.map +1 -0
  45. package/dist/over-image.d.ts +162 -0
  46. package/dist/over-image.js +440 -0
  47. package/dist/over-image.js.map +1 -0
  48. package/dist/palette-snapshot.d.ts +63 -0
  49. package/dist/palette-snapshot.js +93 -0
  50. package/dist/palette-snapshot.js.map +1 -0
  51. package/dist/palette.d.ts +129 -0
  52. package/dist/palette.js +295 -0
  53. package/dist/palette.js.map +1 -0
  54. package/dist/point-provider-lab.d.ts +7 -0
  55. package/dist/point-provider-lab.js +16 -0
  56. package/dist/point-provider-lab.js.map +1 -0
  57. package/dist/point-provider.d.ts +6 -0
  58. package/dist/point-provider.js +2 -0
  59. package/dist/point-provider.js.map +1 -0
  60. package/dist/quantize-worker.d.ts +36 -0
  61. package/dist/quantize-worker.js +81 -0
  62. package/dist/quantize-worker.js.map +1 -0
  63. package/dist/quantizer-celebi.d.ts +7 -0
  64. package/dist/quantizer-celebi.js +25 -0
  65. package/dist/quantizer-celebi.js.map +1 -0
  66. package/dist/quantizer-map.d.ts +5 -0
  67. package/dist/quantizer-map.js +19 -0
  68. package/dist/quantizer-map.js.map +1 -0
  69. package/dist/quantizer-wsmeans.d.ts +21 -0
  70. package/dist/quantizer-wsmeans.js +569 -0
  71. package/dist/quantizer-wsmeans.js.map +1 -0
  72. package/dist/quantizer-wu.d.ts +52 -0
  73. package/dist/quantizer-wu.js +319 -0
  74. package/dist/quantizer-wu.js.map +1 -0
  75. package/dist/size-scale.d.ts +1 -0
  76. package/dist/size-scale.js +4 -0
  77. package/dist/size-scale.js.map +1 -0
  78. package/dist/temperature.d.ts +66 -0
  79. package/dist/temperature.js +169 -0
  80. package/dist/temperature.js.map +1 -0
  81. package/dist/theme.d.ts +33 -0
  82. package/dist/theme.js +66 -0
  83. package/dist/theme.js.map +1 -0
  84. package/dist/uv-harmony.d.ts +23 -0
  85. package/dist/uv-harmony.js +248 -0
  86. package/dist/uv-harmony.js.map +1 -0
  87. package/dist/xyz-lab.d.ts +8 -0
  88. package/dist/xyz-lab.js +50 -0
  89. package/dist/xyz-lab.js.map +1 -0
  90. package/package.json +41 -4
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Telosnex
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,70 @@
1
- # Temporary Holding Version
1
+ # @telosnex/monet-ui
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ The colour and theme part of the Dart `monet_ui` package, in TypeScript:
4
+ colour spaces, contrast, palettes, `MonetThemeData`, image colour
5
+ extraction and CSS variables. It has no framework dependency. The React
6
+ controls are in `@telosnex/monet-ui-react`.
7
+
8
+ ```ts
9
+ import {
10
+ MonetThemeData,
11
+ argbFromHex,
12
+ themeCssVars,
13
+ applyCssVars,
14
+ } from '@telosnex/monet-ui';
15
+
16
+ const theme = MonetThemeData.fromColor({
17
+ color: argbFromHex('#1177AA'),
18
+ backgroundTone: 93,
19
+ brightness: 'light',
20
+ contrast: 0.5,
21
+ });
22
+
23
+ applyCssVars(themeCssVars(theme));
24
+ ```
25
+
26
+ Image extraction:
27
+
28
+ ```ts
29
+ import {MonetThemeData, quantizeImage} from '@telosnex/monet-ui';
30
+
31
+ const result = await quantizeImage(imgElement, 128, 96);
32
+ const theme = MonetThemeData.fromQuantizerResult({
33
+ result,
34
+ backgroundTone: 93,
35
+ brightness: 'light',
36
+ });
37
+ ```
38
+
39
+ Runtime animation:
40
+
41
+ ```ts
42
+ import {PaletteLerped, paletteCssVars, applyCssVars} from '@telosnex/monet-ui';
43
+
44
+ const lerped = new PaletteLerped(oldTheme.primary, newTheme.primary, 0.5, 'polar');
45
+ applyCssVars(paletteCssVars('primary', lerped.toRecord()));
46
+ ```
47
+
48
+ A colour in other viewing conditions, for example under a light:
49
+
50
+ ```ts
51
+ import {Cam16V11, Cam16V11ViewingConditions, xyzFromArgb} from '@telosnex/monet-ui';
52
+
53
+ const conditions = Cam16V11ViewingConditions.make({
54
+ whitePoint: xyzFromArgb(lightArgb),
55
+ backgroundLstar: 30,
56
+ });
57
+ const xyz = Cam16V11.fromInt(colorArgb).xyzInViewingConditions(conditions);
58
+ ```
59
+
60
+ The implementation lives next to the Dart code so parity fixtures/tests can be generated from the Dart source of truth.
61
+
62
+ Parity workflow:
63
+
64
+ ```sh
65
+ npm run test:parity:generate # regenerates fixtures/libmonet_parity.json from Dart
66
+ npm run check # TypeScript build + Vitest, including Dart fixture parity
67
+ npm run check:parity # regenerate fixtures, fail on fixture diff, then run check
68
+ ```
69
+
70
+ Current parity note: JS now includes direct CAM16 v1.1/HCT, TemperatureCache, and Celebi/Wu/WSMeans quantizer ports validated by focused tests and Dart fixtures. Palette/theme/scorer parity is checked against Dart-generated fixtures with a tiny channel-drift budget for solver-edge rounding.
@@ -0,0 +1,41 @@
1
+ import { Hct } from './hct.js';
2
+ /** CIE 1976 u'v' chromaticity of argb, or null for degenerate (black). */
3
+ export declare function uvOfArgb(argb: number): [number, number] | null;
4
+ /** u'v' chromaticity of the sRGB white point (D65). */
5
+ export declare const whiteUvPoint: [number, number];
6
+ /**
7
+ * Per-tone cache of the sRGB gamut slice's chromaticity boundary: the set
8
+ * of u'v' chromaticities renderable at tone T. Sampled once per tone
9
+ * (360 HCT solves); queries are polyline arithmetic plus a small local
10
+ * refinement.
11
+ */
12
+ export declare class SliceCache {
13
+ readonly tone: number;
14
+ readonly us: Float64Array;
15
+ readonly vs: Float64Array;
16
+ readonly maxChromas: Float64Array;
17
+ private static byTone;
18
+ private constructor();
19
+ /**
20
+ * The slice for rawTone. Tones are quantized to 0.5 steps: bounds the
21
+ * cache at 201 entries and makes arbitrary real-world tones actually hit
22
+ * it. Callers re-tone results to the exact input tone.
23
+ */
24
+ static of(rawTone: number): SliceCache;
25
+ /**
26
+ * Walks boundary segments to find where the ray `white + s*(du, dv)`
27
+ * exits the slice. Returns [s, hueIndex + fraction], or null if the
28
+ * slice is degenerate (tone ~0 or ~100, or a zero direction).
29
+ */
30
+ rayExit(du: number, dv: number): [number, number] | null;
31
+ private dist2;
32
+ private chromaSearch;
33
+ /** In-gamut color at this tone whose chromaticity is nearest (tu, tv). */
34
+ nearest(tu: number, tv: number): Hct;
35
+ }
36
+ /**
37
+ * The afterimage complement: the color the eye produces after adapting to
38
+ * the input. Rendered at the input's tone; chroma is NOT preserved.
39
+ * Achromatic inputs return themselves.
40
+ */
41
+ export declare function afterimageComplement(input: Hct): Hct;
@@ -0,0 +1,204 @@
1
+ // Afterimage complement. Port of lib/effects/afterimage.dart; must be kept
2
+ // in sync.
3
+ //
4
+ // The afterimage the eye produces after adapting to a color: cone fatigue
5
+ // shifts perception of a neutral field in the direction opposite the
6
+ // stimulus chromaticity, so the afterimage chromaticity is the point
7
+ // reflection of the input's u'v' through the white point. Rendered at the
8
+ // input's tone. If the full-strength target is out of gamut, strength is
9
+ // clamped along the ray from white: direction is physiology, only magnitude
10
+ // yields to the gamut. An additive mixture of input and complement is
11
+ // neutral.
12
+ import { Hct } from './hct.js';
13
+ import { xyzFromArgb } from './oklch.js';
14
+ /** CIE 1976 u'v' chromaticity of argb, or null for degenerate (black). */
15
+ export function uvOfArgb(argb) {
16
+ const [x, y, z] = xyzFromArgb(argb);
17
+ const denom = x + 15 * y + 3 * z;
18
+ if (Math.abs(denom) < 1e-9)
19
+ return null;
20
+ return [4 * x / denom, 9 * y / denom];
21
+ }
22
+ /** u'v' chromaticity of the sRGB white point (D65). */
23
+ export const whiteUvPoint = uvOfArgb(0xffffffff);
24
+ // Refinement effort; see lib/effects/afterimage.dart for the sweep behind
25
+ // these values.
26
+ const chromaIters = 8;
27
+ const hueWidth = 4;
28
+ const hueIters = 6;
29
+ const polishIters = 4;
30
+ /**
31
+ * Per-tone cache of the sRGB gamut slice's chromaticity boundary: the set
32
+ * of u'v' chromaticities renderable at tone T. Sampled once per tone
33
+ * (360 HCT solves); queries are polyline arithmetic plus a small local
34
+ * refinement.
35
+ */
36
+ export class SliceCache {
37
+ tone;
38
+ us;
39
+ vs;
40
+ maxChromas;
41
+ static byTone = new Map();
42
+ constructor(tone, us, vs, maxChromas) {
43
+ this.tone = tone;
44
+ this.us = us;
45
+ this.vs = vs;
46
+ this.maxChromas = maxChromas;
47
+ }
48
+ /**
49
+ * The slice for rawTone. Tones are quantized to 0.5 steps: bounds the
50
+ * cache at 201 entries and makes arbitrary real-world tones actually hit
51
+ * it. Callers re-tone results to the exact input tone.
52
+ */
53
+ static of(rawTone) {
54
+ const tone = Math.round(Math.min(100, Math.max(0, rawTone)) * 2) / 2;
55
+ let slice = SliceCache.byTone.get(tone);
56
+ if (slice)
57
+ return slice;
58
+ const us = new Float64Array(360);
59
+ const vs = new Float64Array(360);
60
+ const cs = new Float64Array(360);
61
+ for (let h = 0; h < 360; h++) {
62
+ const hct = Hct.from(h, 250, tone); // gamut-clamped
63
+ const uv = uvOfArgb(hct.toInt()) ?? whiteUvPoint;
64
+ us[h] = uv[0];
65
+ vs[h] = uv[1];
66
+ cs[h] = hct.chroma;
67
+ }
68
+ slice = new SliceCache(tone, us, vs, cs);
69
+ SliceCache.byTone.set(tone, slice);
70
+ return slice;
71
+ }
72
+ /**
73
+ * Walks boundary segments to find where the ray `white + s*(du, dv)`
74
+ * exits the slice. Returns [s, hueIndex + fraction], or null if the
75
+ * slice is degenerate (tone ~0 or ~100, or a zero direction).
76
+ */
77
+ rayExit(du, dv) {
78
+ const [wu, wv] = whiteUvPoint;
79
+ let best = null;
80
+ for (let i = 0; i < 360; i++) {
81
+ const j = (i + 1) % 360;
82
+ const au = this.us[i] - wu, av = this.vs[i] - wv;
83
+ const bu = this.us[j] - wu, bv = this.vs[j] - wv;
84
+ const eu = bu - au, ev = bv - av;
85
+ const det = du * ev - dv * eu;
86
+ if (Math.abs(det) < 1e-18)
87
+ continue;
88
+ const t = (au * dv - av * du) / det; // along segment
89
+ const s = (au * ev - av * eu) / det; // along ray
90
+ if (t >= 0 && t < 1 && s > 0) {
91
+ if (best === null || s < best[0])
92
+ best = [s, i + t];
93
+ }
94
+ }
95
+ return best;
96
+ }
97
+ dist2(h, tu, tv) {
98
+ const q = uvOfArgb(h.toInt());
99
+ if (q === null)
100
+ return Number.POSITIVE_INFINITY;
101
+ return (q[0] - tu) * (q[0] - tu) + (q[1] - tv) * (q[1] - tv);
102
+ }
103
+ chromaSearch(hue, tu, tv) {
104
+ let lo = 0, hi = this.maxChromas[Math.floor(hue) % 360] + 4;
105
+ for (let i = 0; i < chromaIters; i++) {
106
+ const m1 = lo + (hi - lo) / 3, m2 = hi - (hi - lo) / 3;
107
+ if (this.dist2(Hct.from(hue, m1, this.tone), tu, tv) <=
108
+ this.dist2(Hct.from(hue, m2, this.tone), tu, tv)) {
109
+ hi = m2;
110
+ }
111
+ else {
112
+ lo = m1;
113
+ }
114
+ }
115
+ return Hct.from(hue, (lo + hi) / 2, this.tone);
116
+ }
117
+ /** In-gamut color at this tone whose chromaticity is nearest (tu, tv). */
118
+ nearest(tu, tv) {
119
+ const [wu, wv] = whiteUvPoint;
120
+ const du = tu - wu, dv = tv - wv;
121
+ if (Math.sqrt(du * du + dv * dv) < 1e-9) {
122
+ return Hct.from(0, 0, this.tone);
123
+ }
124
+ const exit = this.rayExit(du, dv);
125
+ if (exit === null)
126
+ return Hct.from(0, 0, this.tone);
127
+ const hue = exit[1] % 360;
128
+ if (exit[0] <= 1) {
129
+ // Target at/outside boundary: nearest point on the cached polyline,
130
+ // pure arithmetic (no solver), then a short boundary polish.
131
+ let bestD = Number.POSITIVE_INFINITY;
132
+ let bestHue = hue;
133
+ for (let i = 0; i < 360; i++) {
134
+ const j = (i + 1) % 360;
135
+ const eu = this.us[j] - this.us[i], ev = this.vs[j] - this.vs[i];
136
+ const len2 = eu * eu + ev * ev;
137
+ let t = 0;
138
+ if (len2 > 1e-18) {
139
+ t = Math.min(1, Math.max(0, ((tu - this.us[i]) * eu + (tv - this.vs[i]) * ev) / len2));
140
+ }
141
+ const qu = this.us[i] + t * eu - tu, qv = this.vs[i] + t * ev - tv;
142
+ const d = qu * qu + qv * qv;
143
+ if (d < bestD) {
144
+ bestD = d;
145
+ bestHue = (i + t) % 360;
146
+ }
147
+ }
148
+ // Polish: polyline is ~1 degree coarse; ternary-search true boundary.
149
+ let lo = bestHue - 1, hi = bestHue + 1;
150
+ for (let i = 0; i < polishIters; i++) {
151
+ const m1 = lo + (hi - lo) / 3, m2 = hi - (hi - lo) / 3;
152
+ if (this.dist2(Hct.from(((m1 % 360) + 360) % 360, 250, this.tone), tu, tv) <=
153
+ this.dist2(Hct.from(((m2 % 360) + 360) % 360, 250, this.tone), tu, tv)) {
154
+ hi = m2;
155
+ }
156
+ else {
157
+ lo = m1;
158
+ }
159
+ }
160
+ return Hct.from(((((lo + hi) / 2) % 360) + 360) % 360, 250, this.tone);
161
+ }
162
+ // Inside: refine chroma, then hue, then chroma again. HCT hue lines
163
+ // curve in u'v', so the best hue can sit a few degrees off the
164
+ // ray-exit hue.
165
+ let bestHue = hue;
166
+ let best = this.chromaSearch(bestHue, tu, tv);
167
+ let lo = bestHue - hueWidth, hi = bestHue + hueWidth;
168
+ for (let i = 0; i < hueIters; i++) {
169
+ const m1 = lo + (hi - lo) / 3, m2 = hi - (hi - lo) / 3;
170
+ if (this.dist2(Hct.from(((m1 % 360) + 360) % 360, best.chroma, this.tone), tu, tv) <=
171
+ this.dist2(Hct.from(((m2 % 360) + 360) % 360, best.chroma, this.tone), tu, tv)) {
172
+ hi = m2;
173
+ }
174
+ else {
175
+ lo = m1;
176
+ }
177
+ }
178
+ bestHue = ((((lo + hi) / 2) % 360) + 360) % 360;
179
+ return this.chromaSearch(bestHue, tu, tv);
180
+ }
181
+ }
182
+ /**
183
+ * The afterimage complement: the color the eye produces after adapting to
184
+ * the input. Rendered at the input's tone; chroma is NOT preserved.
185
+ * Achromatic inputs return themselves.
186
+ */
187
+ export function afterimageComplement(input) {
188
+ const p = uvOfArgb(input.toInt());
189
+ if (p === null)
190
+ return input; // black: no chromaticity to fatigue against
191
+ const [wu, wv] = whiteUvPoint;
192
+ const du = wu - p[0], dv = wv - p[1]; // opposite direction; s=1 is full
193
+ const slice = SliceCache.of(input.tone);
194
+ const exit = slice.rayExit(du, dv);
195
+ const result = exit === null
196
+ ? Hct.from(0, 0, input.tone)
197
+ // Clamp strength along the ray to just inside the boundary.
198
+ : slice.nearest(wu + Math.min(1, exit[0] * 0.995) * du, wv + Math.min(1, exit[0] * 0.995) * dv);
199
+ // Slice tone is quantized (0.5 steps); restore the exact input tone, and
200
+ // re-express in the input's color model.
201
+ const retoned = Hct.from(result.hue, result.chroma, input.tone);
202
+ return Hct.fromInt(retoned.toInt(), input.colorModel);
203
+ }
204
+ //# sourceMappingURL=afterimage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"afterimage.js","sourceRoot":"","sources":["../src/afterimage.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAC3E,WAAW;AACX,EAAE;AACF,0EAA0E;AAC1E,qEAAqE;AACrE,qEAAqE;AACrE,0EAA0E;AAC1E,yEA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AE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,kCAAkC;IACxE,MAAM,KAAK,GAAG,UAAU,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IACxC,MAAM,IAAI,GAAG,KAAK,CAAC,OAAO,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;IACnC,MAAM,MAAM,GAAG,IAAI,KAAK,IAAI;QACxB,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC;QAC5B,4DAA4D;QAC5D,CAAC,CAAC,KAAK,CAAC,OAAO,CACX,EAAE,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,GAAG,EAAE,EACtC,EAAE,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC;IAChD,yEAAyE;IACzE,yCAAyC;IACzC,MAAM,OAAO,GAAG,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;IAChE,OAAO,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;AACxD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const apcaMinimumAtQuarterTone: readonly [0, 0.000001343054178671297, 0.000007088682453413477, 0.000018757914144296237, 0.00003741429029694435, 0.00006391775942841088, 0.00009900486441199062, 0.0001433272698836764, 0.00019747380809108635, 0.0002619844743663941, 0.00033735995681866745, 0.00042406846360814893, 0.0005201315119531062, 0.0006221320646048017, 0.0007297498390893976, 0.0008424967937909479, 0.0009599530011124059, 0.0010817540602877332, 0.0012075813198462047, 0.001337154192730242, 0.0014702240482958868, 0.001606569306517876, 0.0017459914591826382, 0.0018883118135940998, 0.0020333688051607382, 0.002181015762178282, 0.0023311190332658046, 0.002483556408069633, 0.0026382157769725373, 0.002794993987004521, 0.0029537958599147487, 0.003114533345126132, 0.003277124785554801, 0.00344322154115855, 0.0036145753608386416, 0.003791259498887991, 0.003973347112277072, 0.004160911264217523, 0.004354024927535462, 0.004552760987867786, 0.004757192246693336, 0.00496739142421039, 0.005183431162070286, 0.005405384025976842, 0.005633322508160035, 0.0058673190297318925, 0.006107445942931958, 0.006353775533269023, 0.006606380021565581, 0.00686533156591047, 0.007130702263525352, 0.0074025641525499765, 0.007680989213750665, 0.007966049372156612, 0.008257816498627725, 0.00855636241135804, 0.008861758877317842, 0.00917407761363814, 0.00949339028894019, 0.009819768524613201, 0.010153283896042503, 0.01049400793379127, 0.010842012124737448, 0.011197367913168575, 0.011560146701836523, 0.011930419852973578, 0.012308258689272551, 0.012693734494831861, 0.013086918516067594, 0.013487881962593932, 0.01389669600807368, 0.014313431791039381, 0.014738160415687922, 0.01517095295264765, 0.015611880439721365, 0.016061013882604572, 0.016518424255581133, 0.016984182502196465, 0.017458359535909827, 0.017941026240726327, 0.018432253471809254, 0.018932112056074125, 0.01944067279276439, 0.019958006454010396, 0.02048418378537133, 0.021019275506361616, 0.021563352310962132, 0.02211648486811624, 0.022678743822212313, 0.02325019979355193, 0.023830923378806018, 0.024420985151457276, 0.02502045566223076, 0.02562940543951372, 0.026247904989762354, 0.02687602479789929, 0.027513835327699767, 0.028161407022167528, 0.02881881030390175, 0.029486115575453414, 0.030163393219673425, 0.03085071360005142, 0.03154814706104615, 0.03225576392840799, 0.032973634509492505, 0.03370182909356756, 0.03444041795211185, 0.035189471339106944, 0.0359490594913221, 0.03671925262859162, 0.03750012095408726, 0.03829173465458256, 0.03909416390071193, 0.0399074788472238, 0.04073174963322714, 0.0415670463824338, 0.04241343920339379, 0.04327099818972634, 0.04413979342034591, 0.04501989495968195, 0.04591137285789564, 0.04681429715109021, 0.04772873786151806, 0.04865476499778253, 0.04959244855503583, 0.050541858515172504, 0.05150306484701922, 0.05247613750652021, 0.05346114643691877, 0.054458161568935626, 0.055467252820943, 0.05648849009913567, 0.057521943297698, 0.05856768229896819, 0.05962577697359877, 0.06069629718071446, 0.06177931276806603, 0.0628748935721824, 0.06398310941851888, 0.06510403012160251, 0.0662377254851744, 0.06738426530233155, 0.06854371935566271, 0.0697161574173839, 0.07090164924947015, 0.07210026460378581, 0.07331207322221214, 0.0745371448367722, 0.0757755491697534, 0.07702735593382859, 0.0782926348321742, 0.07957145555858673, 0.08086388779759647, 0.08217000122457989, 0.0834898655058706, 0.08482355029886635, 0.08617112525213624, 0.08753266000552493, 0.08890822419025578, 0.09029788742903068, 0.09170171933613125, 0.09311978951751451, 0.09455216757090924, 0.09599892308591107, 0.09746012564407554, 0.09893584481900569, 0.10042615017644763, 0.10193111127437313, 0.10345079766307072, 0.10498527888522705, 0.10653462447601499, 0.10809890396317326, 0.10967818686708816, 0.11127254270087475, 0.11288204097045487, 0.11450675117463403, 0.11614674280517953, 0.11780208534689218, 0.11947284827768466, 0.12115910106865056, 0.12286091318413797, 0.12457835408181947, 0.12631149321276083, 0.12806040002149144, 0.12982514394606967, 0.13160579441815137, 0.13340242086305196, 0.13521509269981385, 0.13704387934126996, 0.13888885019410352, 0.14075007465891257, 0.14262762213026964, 0.14452156199678073, 0.14643196364114466, 0.1483588964402127, 0.15030242976504496, 0.1522626329809643, 0.1542395754476168, 0.15623332651902336, 0.15824395554363405, 0.16027153186438253, 0.1623161248187384, 0.16437780373875835, 0.16645663795113805, 0.16855269677726242, 0.1706660495332555, 0.17279676553003082, 0.17494491407333446, 0.1771105644638011, 0.17929378599699375, 0.1814946479634557, 0.18371321964875284, 0.1859495703335202, 0.18820376929350677, 0.1904758857996197, 0.19276598911796647, 0.1950741485098999, 0.1974004332320602, 0.19974491253641163, 0.20210765567029557, 0.20448873187645927, 0.20688821039309846, 0.20930616045390538, 0.2117426512880968, 0.21419775212046133, 0.21667153217139315, 0.21916406065693014, 0.2216754067887929, 0.2242056397744213, 0.22675482881700693, 0.22932304311553503, 0.231910351864817, 0.23451682425552572, 0.2371425294742277, 0.23978753670342282, 0.24245191512157255, 0.2451357339031359, 0.24783906221860394, 0.25056196923452845, 0.2533045241135566, 0.25606679601446547, 0.2588488540921859, 0.2616507674978404, 0.2644726053787718, 0.267314436878572, 0.27017633113711464, 0.27305835729058336, 0.2759605844714947, 0.2788830818087497, 0.2818259184276282, 0.2847891634498404, 0.28777288599355855, 0.2907771551734252, 0.2938020401005945, 0.29684760988276065, 0.2999139336241669, 0.3030010804256576, 0.30610911938468977, 0.30923811959535097, 0.3123881501484042, 0.3155592801313053, 0.318751578628212, 0.32196511472004113, 0.32519995748445923, 0.32845617599593413, 0.3317338393257438, 0.3350330165419933, 0.3383537767096619, 0.34169618889060627, 0.34506032214358645, 0.348446245524301, 0.3518540280853904, 0.35528373887647713, 0.35873544694416704, 0.36220922133209743, 0.3657051310809391, 0.36922324522841926, 0.3727636328093506, 0.3763263628556467, 0.37991150439634247, 0.3835191264576221, 0.3871492980628288, 0.3908020882324817, 0.39447756598431183, 0.3981758003332784, 0.4018968602915603, 0.40564081486862746, 0.40940773307120987, 0.4131976839033388, 0.4170107363663664, 0.4208469594589842, 0.424706422177226, 0.42858919351451424, 0.43249534246164945, 0.4364249380068397, 0.44037804913572887, 0.44435474483139076, 0.4483550940743739, 0.4523791658426863, 0.45642702911184185, 0.4604987528548638, 0.46459440604229607, 0.4687140576422387, 0.4728577766203316, 0.4770256319398099, 0.4812176925614904, 0.4854340274437985, 0.48967470554278264, 0.4939397958121296, 0.4982293672031767, 0.5025434886649423, 0.5068822291441107, 0.5112456575850768, 0.5156338429299471, 0.5200468541185589, 0.5244847600884844, 0.5289476297750595, 0.5334355321113786, 0.537948536028348, 0.5424867104546423, 0.5470501243167711, 0.5516388465390589, 0.5562529460436771, 0.560892491750651, 0.5655575525778578, 0.5702481974410798, 0.574964495253974, 0.5797065149281093, 0.584474325372974, 0.5892679954959933, 0.5940875942025217, 0.5989331903958831, 0.603804852977377, 0.6087026508462668, 0.6136266528998259, 0.6185769280333228, 0.6235535451400457, 0.628556573111317, 0.6335860808364976, 0.6386421372030041, 0.6437248110963187, 0.6488341714, 0.6539702869956753, 0.6591332267630966, 0.6643230595801177, 0.669539854322721, 0.674783679864999, 0.6800546050792077, 0.685352698835746, 0.6906780300031826, 0.6960306674482629, 0.7014106800359076, 0.706818136629248, 0.7122531060896177, 0.7177156572765567, 0.7232058590478407, 0.728723780259483, 0.7342694897657458, 0.7398430564191366, 0.74544454907045, 0.7510740365687228, 0.7567315877613155, 0.7624172714938752, 0.7681311566103387, 0.7738733119529744, 0.7796438063623526, 0.7854427086774104, 0.7912700877354, 0.797126012371941, 0.8030105514209952, 0.8089237737149279, 0.8148657480844502, 0.8208365433586845, 0.8268362283651198, 0.832864871929691, 0.8389225428767073, 0.8450093100289289, 0.8511252422075439, 0.857270408232169, 0.8634448769208649, 0.8696487170901578, 0.8758819975550437, 0.8821447871289949, 0.888437154623944, 0.8947591688503211, 0.9011108986170612, 0.9074924127315885, 0.913903779999871, 0.9203450692263624, 0.9268163492140398, 0.9333176887644868, 0.9398491566777172, 0.9464108217524193, 0.9530027527857379, 0.9596250185734486, 0.9662776879098532, 0.9729608295878911, 0.9796745123990174, 0.9864188051333573, 0.9931938008828245, 1.0000001];
2
+ export declare const apcaMaximumAtQuarterTone: readonly [0, 0.00005148347867561926, 0.0001870573760455687, 0.00035442624767918177, 0.0005397254601082333, 0.0007370652156526585, 0.0009432599688222048, 0.0011563455475246426, 0.0013750051270419719, 0.001598302702181264, 0.0018255435013872614, 0.0020561942802776434, 0.0022898347289118616, 0.0025261262842533935, 0.0027647912645028497, 0.0030055984220064775, 0.0032483526477504465, 0.0034928874518473214, 0.0037390593537553266, 0.003986743619049862, 0.004235830966327808, 0.004486224986467528, 0.004737840093881448, 0.004990599881123774, 0.005244435783518042, 0.005499285985025579, 0.005755094513954339, 0.006011810489599816, 0.006269387490018676, 0.006527783017865388, 0.0067869580462535705, 0.007046876630408176, 0.007307505573780345, 0.007571549041372013, 0.007841778414721659, 0.008118263192841419, 0.008401072857350932, 0.008690276872923862, 0.008985944687717816, 0.009288145733788557, 0.009596949427489104, 0.009912425169854619, 0.01023464234697359, 0.010563670330345996, 0.010899578477229149, 0.011242436130971574, 0.011592312621335626, 0.011949277264809302, 0.012313399364907683, 0.012684748212464445, 0.013063393085914001, 0.013449403251564466, 0.013842847963861961, 0.014243796465646665, 0.01465231798840074, 0.01506848175248875, 0.015492356967390588, 0.015924012831927452, 0.01636351853448101, 0.016810943253206017, 0.017266356156236718, 0.01772982640188722, 0.01820142313884601, 0.01868121550636507, 0.01916927263444346, 0.019665663644005755, 0.02017045764707564, 0.020683723746944542, 0.021205531038335772, 0.021735948607564115, 0.02227504553269123, 0.02282289088367681, 0.023379553722525755, 0.02394510310343153, 0.024519608072915727, 0.025103137669964106, 0.025695760926159085, 0.026297546865808884, 0.02690856450607341, 0.027528882857087017, 0.028158570922078165, 0.028797697697486215, 0.02944633217307536, 0.030104543332045694, 0.030772400151141764, 0.0314499716007583, 0.032137326645043776, 0.03283453424200129, 0.03354166334358708, 0.03425878289580689, 0.03498596183881007, 0.035723269106981405, 0.036470773629031186, 0.037228544328082806, 0.03799665012175879, 0.03877515992226466, 0.03956414263647115, 0.040363667165994384, 0.04117380240727458, 0.04199461725165284, 0.04282618058544643, 0.04366856129002235, 0.044521828241869406, 0.04538605031266876, 0.046261296369363096, 0.047147635274224095, 0.048045135884918835, 0.048953867054574586, 0.049873897631842495, 0.050805296460959645, 0.05174813238181044, 0.05270247422998603, 0.05366839083684329, 0.05464595102956209, 0.05563522363120161, 0.05663627746075578, 0.05764918133320732, 0.0586740040595809, 0.05971081444699528, 0.06075968129871448, 0.061820673414197766, 0.0628938595891492, 0.06397930861556558, 0.06507708928178413, 0.0661872703725288, 0.06730992066895632, 0.06844510894870037, 0.0695929039859164, 0.07075337455132434, 0.07192658941225114, 0.07235679157634216, 0.07295697309368845, 0.0737051049968662, 0.07453633670078554, 0.07542578727528858, 0.0763606623898213, 0.07733333276742944, 0.07833881414696973, 0.07937364122855758, 0.08043529360072937, 0.08152187450295809, 0.08263191808588267, 0.08376426730951415, 0.08491799314008537, 0.08609233912426378, 0.08728668221174196, 0.0885005043470806, 0.0897333714129595, 0.09098491732121318, 0.09225483178963663, 0.09354285080997074, 0.09484874911532734, 0.09617233415638499, 0.09757518768004171, 0.0990339481905931, 0.10050704742639807, 0.10199455437545478, 0.10349653802172372, 0.10501306734517189, 0.10654421132181628, 0.1080900389237664, 0.10965061911926671, 0.11122602087273767, 0.11281631314481678, 0.11442156489239858, 0.1160418450686743, 0.11767722262317071, 0.1193277665017883, 0.12099354564683946, 0.12267462899708532, 0.12437108548777223, 0.12608298405066853, 0.12781039361409913, 0.1295533831029816, 0.1313120214388596, 0.1330863775399376, 0.13487652032111438, 0.13668251869401546, 0.13850444156702646, 0.14034235784532428, 0.14219633643090962, 0.14406644622263742, 0.14595275611624786, 0.14785533500439677, 0.1497742517766853, 0.1517095753196895, 0.1536613745169892, 0.15562971824919652, 0.1576146753939849, 0.15961631482611557, 0.16163470541746636, 0.16366991603705805, 0.16572201555108132, 0.16779107282292283, 0.16987715671319148, 0.1719803360797444, 0.1741006797777113, 0.17623825665952067, 0.17839313557492337, 0.18056538537101713, 0.18275507489227164, 0.18496227298055046, 0.187187048475136, 0.18942947021275153, 0.19168960702758445, 0.19396752775130868, 0.1962633012131067, 0.19857699623969202, 0.20090868165533, 0.20325842628185964, 0.20562629893871495, 0.20801236844294485, 0.21041670360923498, 0.21268670316256688, 0.21425445977917215, 0.21624972995467853, 0.21838144806071424, 0.22059699784498493, 0.22287447722101214, 0.22520220443001526, 0.22757306411779007, 0.22998234217514538, 0.23242672815202609, 0.23490379598734204, 0.2374117090099934, 0.2399490408912843, 0.24251466118227188, 0.2451076590066874, 0.24772729039954866, 0.25037294089234996, 0.25304409826372565, 0.25574033226473786, 0.25846127924966317, 0.2612066303326485, 0.26397612212757865, 0.26676952941300064, 0.2695866592536561, 0.2724273462393795, 0.27529144859184373, 0.27817884495300405, 0.2810894317145786, 0.2840231207810089, 0.28510138635619, 0.28635047455512364, 0.28801432875172195, 0.28990107867731874, 0.2919385045217101, 0.29408964624400147, 0.2963324819629076, 0.2986526029820016, 0.3010399599259036, 0.303487210193268, 0.3059887956259589, 0.3085403901257011, 0.3111385501705145, 0.31378048375241097, 0.3164638919878025, 0.3191868572114904, 0.32194776185583573, 0.3247452283325032, 0.3275780736146784, 0.3304452743412947, 0.3333459396022004, 0.3362792894291091, 0.3392446375917599, 0.34224137768841845, 0.34526897178938004, 0.3483269410819087, 0.35141485810079565, 0.3545323402272849, 0.35779739019791723, 0.36125802264136875, 0.36474070710117407, 0.368245512515758, 0.3717725078210021, 0.37532176195026107, 0.3788933438343815, 0.38248732240172006, 0.3861037665781599, 0.3897427452871291, 0.3934043274496176, 0.39708858198419356, 0.400795577807022, 0.40452538383187886, 0.4082780689701707, 0.4120537021309476, 0.41585235222092226, 0.419674088144485, 0.4235189788037188, 0.4273870930984165, 0.4312784999260955, 0.4351932681820132, 0.4391314667591823, 0.4430931645483863, 0.4470784304381945, 0.4510873333149755, 0.45511994206291445, 0.4591763255640243, 0.4632565526981632, 0.46736069234304706, 0.4714888133742641, 0.4756409846652892, 0.47981727508749705, 0.4840177535101756, 0.48824248880054205, 0.49249154982375276, 0.49676500544291985, 0.5010629245191212, 0.5053853759114173, 0.5097324284768605, 0.5141041510705104, 0.5185006125454462, 0.5229218817527773, 0.5273680275416589, 0.531839118759302, 0.5363352242509866, 0.5408564128600741, 0.5454027534280181, 0.5499743147943786, 0.5545711657968313, 0.5591933752711803, 0.5638410120513709, 0.5685141449694994, 0.5732128428558254, 0.5779371745387829, 0.5826872088449909, 0.5874630145992666, 0.5922646606246325, 0.5970922157423322, 0.6019457487718366, 0.6068253285308589, 0.6117310238353609, 0.6166629034995669, 0.621621036335973, 0.626605491155356, 0.6316163367667872, 0.6366536419776389, 0.6417174755935962, 0.6468079064186664, 0.6519250032551902, 0.65706883490385, 0.6622394701636806, 0.6674369778320781, 0.6726614267048098, 0.6779128855760239, 0.6831914232382594, 0.6884971084824539, 0.6938300100979541, 0.6991901968725246, 0.7045777375923573, 0.70999270104208, 0.7152003397563709, 0.7193136140977502, 0.7241757363053207, 0.729262381717945, 0.7344850037343328, 0.7398070966298489, 0.7452092641834839, 0.7506797083534579, 0.7562106116380173, 0.7617964774628742, 0.7674332689164131, 0.7731179205539828, 0.7788480425970755, 0.7846217320854866, 0.7887032391322165, 0.7929866626676315, 0.7977955531270546, 0.8028589185978967, 0.808089733291368, 0.8135661396930781, 0.8193949406080433, 0.8252638362105723, 0.8311721465094422, 0.8371192733427887, 0.8431046883414968, 0.8491279230837194, 0.8551885609708821, 0.8612862304702616, 0.8674205994526892, 0.8735913704155569, 0.8797982764272844, 0.8860410776641228, 0.8923195584366839, 0.8986335246239582, 0.9049828014484672, 0.9113672315386072, 0.9177866732340519, 0.924241815286812, 0.9296377368048044, 0.9352003281856941, 0.9411836045281213, 0.947364154858828, 0.9536756367055799, 0.9600871092522464, 0.9665810833048609, 0.973146507643809, 0.9797758661707113, 0.9864637723771615, 0.9932062117463757, 1.0000001];