vexflow-native 2.4.0 → 2.5.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.
- package/README.md +7 -1
- package/lib/module/base/FontManager.js +41 -27
- package/lib/module/base/FontManager.js.map +1 -1
- package/lib/module/base/VexflowCanvas.js +8 -6
- package/lib/module/base/VexflowCanvas.js.map +1 -1
- package/lib/module/base/VexflowRecordingClone.js +83 -0
- package/lib/module/base/VexflowRecordingClone.js.map +1 -0
- package/lib/module/base/VexflowRecordingContext.js +1 -80
- package/lib/module/base/VexflowRecordingContext.js.map +1 -1
- package/lib/module/base/builtInTextFont.js +21 -0
- package/lib/module/base/builtInTextFont.js.map +1 -0
- package/lib/module/base/cssFontShorthand.js +34 -0
- package/lib/module/base/cssFontShorthand.js.map +1 -0
- package/lib/module/base/fonts/OFL.txt +93 -0
- package/lib/module/base/fonts/academico.js +12 -0
- package/lib/module/base/fonts/academico.js.map +1 -0
- package/lib/module/base/pictureRetirement.js +70 -0
- package/lib/module/base/pictureRetirement.js.map +1 -0
- package/lib/module/base/setupVexflowReactNative.js +1 -36
- package/lib/module/base/setupVexflowReactNative.js.map +1 -1
- package/lib/module/musicxml/MusicXmlParser/MeasureParser.js +22 -119
- package/lib/module/musicxml/MusicXmlParser/MeasureParser.js.map +1 -1
- package/lib/module/musicxml/MusicXmlParser/MusicXmlNotes.js +129 -0
- package/lib/module/musicxml/MusicXmlParser/MusicXmlNotes.js.map +1 -0
- package/lib/module/musicxml/MusicXmlParser/PartParser.js +8 -1
- package/lib/module/musicxml/MusicXmlParser/PartParser.js.map +1 -1
- package/lib/module/musicxml/MusicXmlParser/Spanners.js +8 -5
- package/lib/module/musicxml/MusicXmlParser/Spanners.js.map +1 -1
- package/lib/module/musicxml/MusicXmlParser/mappers.js +83 -3
- package/lib/module/musicxml/MusicXmlParser/mappers.js.map +1 -1
- package/lib/module/renderer/Layout/DocumentLayout.js +13 -4
- package/lib/module/renderer/Layout/DocumentLayout.js.map +1 -1
- package/lib/module/renderer/Layout/VerticalSpacing.js +37 -7
- package/lib/module/renderer/Layout/VerticalSpacing.js.map +1 -1
- package/lib/module/renderer/ScoreRenderer/ScoreOverlayPicture.js +80 -46
- package/lib/module/renderer/ScoreRenderer/ScoreOverlayPicture.js.map +1 -1
- package/lib/module/renderer/ScoreRenderer/ScoreRenderer.js +10 -22
- package/lib/module/renderer/ScoreRenderer/ScoreRenderer.js.map +1 -1
- package/lib/module/renderer/ScoreRenderer/ScoreScrollbar.js +18 -8
- package/lib/module/renderer/ScoreRenderer/ScoreScrollbar.js.map +1 -1
- package/lib/module/renderer/ScoreRenderer/utils.js +42 -88
- package/lib/module/renderer/ScoreRenderer/utils.js.map +1 -1
- package/lib/module/renderer/constants.js +1 -1
- package/lib/module/renderer/layout.js +7 -3
- package/lib/module/renderer/layout.js.map +1 -1
- package/lib/module/renderer/lyrics.js +127 -0
- package/lib/module/renderer/lyrics.js.map +1 -0
- package/lib/module/renderer/measure.js +11 -9
- package/lib/module/renderer/measure.js.map +1 -1
- package/lib/module/renderer/measureBounds.js +5 -0
- package/lib/module/renderer/measureBounds.js.map +1 -1
- package/lib/module/renderer/measureModifiers.js +24 -6
- package/lib/module/renderer/measureModifiers.js.map +1 -1
- package/lib/module/renderer/noteModifiers.js +5 -13
- package/lib/module/renderer/noteModifiers.js.map +1 -1
- package/lib/module/renderer/{fixedNoteSpacing.js → noteSpacing.js} +46 -10
- package/lib/module/renderer/noteSpacing.js.map +1 -0
- package/lib/module/renderer/render.js +37 -20
- package/lib/module/renderer/render.js.map +1 -1
- package/lib/typescript/src/base/FontManager.d.ts +12 -7
- package/lib/typescript/src/base/FontManager.d.ts.map +1 -1
- package/lib/typescript/src/base/VexflowCanvas.d.ts.map +1 -1
- package/lib/typescript/src/base/VexflowRecordingClone.d.ts +8 -0
- package/lib/typescript/src/base/VexflowRecordingClone.d.ts.map +1 -0
- package/lib/typescript/src/base/VexflowRecordingContext.d.ts.map +1 -1
- package/lib/typescript/src/base/builtInTextFont.d.ts +6 -0
- package/lib/typescript/src/base/builtInTextFont.d.ts.map +1 -0
- package/lib/typescript/src/base/cssFontShorthand.d.ts +3 -0
- package/lib/typescript/src/base/cssFontShorthand.d.ts.map +1 -0
- package/lib/typescript/src/base/fonts/academico.d.ts +5 -0
- package/lib/typescript/src/base/fonts/academico.d.ts.map +1 -0
- package/lib/typescript/src/base/pictureRetirement.d.ts +26 -0
- package/lib/typescript/src/base/pictureRetirement.d.ts.map +1 -0
- package/lib/typescript/src/base/setupVexflowReactNative.d.ts +0 -8
- package/lib/typescript/src/base/setupVexflowReactNative.d.ts.map +1 -1
- package/lib/typescript/src/base/types.d.ts.map +1 -1
- package/lib/typescript/src/musicxml/MusicXmlParser/InternalTypes.d.ts +4 -1
- package/lib/typescript/src/musicxml/MusicXmlParser/InternalTypes.d.ts.map +1 -1
- package/lib/typescript/src/musicxml/MusicXmlParser/MeasureParser.d.ts.map +1 -1
- package/lib/typescript/src/musicxml/MusicXmlParser/MusicXmlNotes.d.ts +13 -0
- package/lib/typescript/src/musicxml/MusicXmlParser/MusicXmlNotes.d.ts.map +1 -0
- package/lib/typescript/src/musicxml/MusicXmlParser/PartParser.d.ts.map +1 -1
- package/lib/typescript/src/musicxml/MusicXmlParser/Spanners.d.ts +6 -0
- package/lib/typescript/src/musicxml/MusicXmlParser/Spanners.d.ts.map +1 -1
- package/lib/typescript/src/musicxml/MusicXmlParser/mappers.d.ts +7 -1
- package/lib/typescript/src/musicxml/MusicXmlParser/mappers.d.ts.map +1 -1
- package/lib/typescript/src/renderer/Layout/DocumentLayout.d.ts.map +1 -1
- package/lib/typescript/src/renderer/Layout/VerticalSpacing.d.ts +6 -0
- package/lib/typescript/src/renderer/Layout/VerticalSpacing.d.ts.map +1 -1
- package/lib/typescript/src/renderer/ScoreRenderer/ScoreOverlayPicture.d.ts +1 -1
- package/lib/typescript/src/renderer/ScoreRenderer/ScoreOverlayPicture.d.ts.map +1 -1
- package/lib/typescript/src/renderer/ScoreRenderer/ScoreRenderer.d.ts.map +1 -1
- package/lib/typescript/src/renderer/ScoreRenderer/ScoreScrollbar.d.ts +1 -0
- package/lib/typescript/src/renderer/ScoreRenderer/ScoreScrollbar.d.ts.map +1 -1
- package/lib/typescript/src/renderer/ScoreRenderer/types.d.ts +14 -11
- package/lib/typescript/src/renderer/ScoreRenderer/types.d.ts.map +1 -1
- package/lib/typescript/src/renderer/ScoreRenderer/utils.d.ts +8 -27
- package/lib/typescript/src/renderer/ScoreRenderer/utils.d.ts.map +1 -1
- package/lib/typescript/src/renderer/layout.d.ts +4 -1
- package/lib/typescript/src/renderer/layout.d.ts.map +1 -1
- package/lib/typescript/src/renderer/lyrics.d.ts +42 -0
- package/lib/typescript/src/renderer/lyrics.d.ts.map +1 -0
- package/lib/typescript/src/renderer/measure.d.ts +2 -2
- package/lib/typescript/src/renderer/measure.d.ts.map +1 -1
- package/lib/typescript/src/renderer/measureBounds.d.ts +3 -0
- package/lib/typescript/src/renderer/measureBounds.d.ts.map +1 -1
- package/lib/typescript/src/renderer/measureModifiers.d.ts +14 -4
- package/lib/typescript/src/renderer/measureModifiers.d.ts.map +1 -1
- package/lib/typescript/src/renderer/noteModifiers.d.ts +2 -1
- package/lib/typescript/src/renderer/noteModifiers.d.ts.map +1 -1
- package/lib/typescript/src/renderer/{fixedNoteSpacing.d.ts → noteSpacing.d.ts} +9 -1
- package/lib/typescript/src/renderer/noteSpacing.d.ts.map +1 -0
- package/lib/typescript/src/renderer/render.d.ts.map +1 -1
- package/lib/typescript/src/renderer/types.d.ts +17 -7
- package/lib/typescript/src/renderer/types.d.ts.map +1 -1
- package/lib/typescript/src/state/types.d.ts +8 -2
- package/lib/typescript/src/state/types.d.ts.map +1 -1
- package/package.json +34 -26
- package/src/base/FontManager.ts +50 -31
- package/src/base/VexflowCanvas.tsx +10 -10
- package/src/base/VexflowRecordingClone.ts +89 -0
- package/src/base/VexflowRecordingContext.ts +8 -81
- package/src/base/builtInTextFont.ts +25 -0
- package/src/base/cssFontShorthand.ts +45 -0
- package/src/base/fonts/OFL.txt +93 -0
- package/src/base/fonts/academico.ts +10 -0
- package/src/base/pictureRetirement.ts +74 -0
- package/src/base/setupVexflowReactNative.ts +1 -49
- package/src/base/types.ts +0 -3
- package/src/musicxml/MusicXmlParser/InternalTypes.ts +5 -0
- package/src/musicxml/MusicXmlParser/MeasureParser.ts +31 -182
- package/src/musicxml/MusicXmlParser/MusicXmlNotes.ts +198 -0
- package/src/musicxml/MusicXmlParser/PartParser.ts +10 -3
- package/src/musicxml/MusicXmlParser/Spanners.ts +11 -8
- package/src/musicxml/MusicXmlParser/mappers.ts +55 -6
- package/src/renderer/Layout/DocumentLayout.ts +12 -3
- package/src/renderer/Layout/VerticalSpacing.ts +46 -13
- package/src/renderer/ScoreRenderer/ScoreOverlayPicture.tsx +127 -66
- package/src/renderer/ScoreRenderer/ScoreRenderer.tsx +8 -23
- package/src/renderer/ScoreRenderer/ScoreScrollbar.tsx +16 -2
- package/src/renderer/ScoreRenderer/types.ts +14 -12
- package/src/renderer/ScoreRenderer/utils.ts +54 -125
- package/src/renderer/constants.ts +1 -1
- package/src/renderer/layout.ts +15 -4
- package/src/renderer/lyrics.ts +163 -0
- package/src/renderer/measure.tsx +16 -9
- package/src/renderer/measureBounds.ts +10 -0
- package/src/renderer/measureModifiers.ts +27 -7
- package/src/renderer/noteModifiers.ts +8 -9
- package/src/renderer/{fixedNoteSpacing.ts → noteSpacing.ts} +60 -9
- package/src/renderer/render.tsx +51 -25
- package/src/renderer/types.ts +17 -7
- package/src/state/types.ts +8 -2
- package/lib/module/renderer/fixedNoteSpacing.js.map +0 -1
- package/lib/module/utils.js +0 -44
- package/lib/module/utils.js.map +0 -1
- package/lib/typescript/src/renderer/fixedNoteSpacing.d.ts.map +0 -1
- package/lib/typescript/src/utils.d.ts +0 -1
- package/lib/typescript/src/utils.d.ts.map +0 -1
- package/src/utils.tsx +0 -42
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DynamicAttachment, GraceNote, Measure, NoteAttachment, ScoreDefaults, Slur, Staff, Tie, TupletGroup } from '../../state';
|
|
1
|
+
import type { Clef, DynamicAttachment, GraceNote, Measure, NoteAttachment, ScoreDefaults, Slur, Staff, StaffLines, Tie, TupletGroup } from '../../state';
|
|
2
2
|
export type PartInfo = {
|
|
3
3
|
id: string;
|
|
4
4
|
name?: string;
|
|
@@ -8,6 +8,9 @@ export type StaffBuild = {
|
|
|
8
8
|
name?: string;
|
|
9
9
|
order: number;
|
|
10
10
|
defaultClef?: Staff['defaultClef'];
|
|
11
|
+
/** Clef in effect at the parse position; places `<unpitched>` notes. */
|
|
12
|
+
clef: Clef;
|
|
13
|
+
lines?: StaffLines;
|
|
11
14
|
measures: Measure[];
|
|
12
15
|
};
|
|
13
16
|
type ActiveSpanner = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InternalTypes.d.ts","sourceRoot":"","sources":["../../../../../src/musicxml/MusicXmlParser/InternalTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,SAAS,EACT,OAAO,EACP,cAAc,EACd,aAAa,EACb,IAAI,EACJ,KAAK,EACL,GAAG,EACH,WAAW,EACZ,MAAM,aAAa,CAAC;AAErB,MAAM,MAAM,QAAQ,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;IACnC,QAAQ,EAAE,OAAO,EAAE,CAAC;CACrB,CAAC;AAEF,KAAK,aAAa,GAAG;IACnB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,S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],"mappings":"
|
|
1
|
+
{"version":3,"file":"MeasureParser.d.ts","sourceRoot":"","sources":["../../../../../src/musicxml/MusicXmlParser/MeasureParser.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAa/D,OAAO,EASL,KAAK,UAAU,EAChB,MAAM,YAAY,CAAC;AAQpB,wBAAgB,YAAY,CAC1B,OAAO,EAAE,UAAU,EACnB,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,UAAU,EAAE,EACpB,KAAK,EAAE,WAAW,QAyFnB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Clef, Voice, VoiceItem } from '../../state';
|
|
2
|
+
import type { ParserState } from './InternalTypes';
|
|
3
|
+
import { type XmlElement } from './XmlOrder';
|
|
4
|
+
export declare function createVoiceItem(note: XmlElement, voice: Voice, isChordTone: boolean, clef: Clef, state: ParserState): VoiceItem;
|
|
5
|
+
/**
|
|
6
|
+
* Grace chord tones keep only their first pitch; the group's slash comes
|
|
7
|
+
* from its first grace note.
|
|
8
|
+
*/
|
|
9
|
+
export declare function collectGraceNote(note: XmlElement, voiceName: string, clef: Clef, state: ParserState): void;
|
|
10
|
+
export declare function attachPendingGraceNotes(itemId: string, voiceName: string, state: ParserState): void;
|
|
11
|
+
export declare function pushItem(voice: Voice, item: VoiceItem): string;
|
|
12
|
+
export declare function mergeChordTone(voice: Voice, item: VoiceItem, note: XmlElement): string;
|
|
13
|
+
//# sourceMappingURL=MusicXmlNotes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MusicXmlNotes.d.ts","sourceRoot":"","sources":["../../../../../src/musicxml/MusicXmlParser/MusicXmlNotes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,IAAI,EAGJ,KAAK,EACL,SAAS,EACV,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAUnD,OAAO,EASL,KAAK,UAAU,EAChB,MAAM,YAAY,CAAC;AAEpB,wBAAgB,eAAe,CAC7B,IAAI,EAAE,UAAU,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,OAAO,EACpB,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,WAAW,GACjB,SAAS,CAyBX;AA8CD;;;GAGG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,UAAU,EAChB,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,WAAW,QAqBnB;AAED,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,WAAW,QAgBnB;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,GAAG,MAAM,CAI9D;AAED,wBAAgB,cAAc,CAC5B,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,SAAS,EACf,IAAI,EAAE,UAAU,GACf,MAAM,CA4BR"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PartParser.d.ts","sourceRoot":"","sources":["../../../../../src/musicxml/MusicXmlParser/PartParser.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"PartParser.d.ts","sourceRoot":"","sources":["../../../../../src/musicxml/MusicXmlParser/PartParser.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAc,MAAM,iBAAiB,CAAC;AAEzE,OAAO,EAIL,KAAK,UAAU,EAChB,MAAM,YAAY,CAAC;AAEpB,wBAAgB,SAAS,CACvB,IAAI,EAAE,UAAU,EAChB,QAAQ,EAAE,QAAQ,EAClB,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,WAAW,GACjB;IAAE,MAAM,EAAE,KAAK,EAAE,CAAC;IAAC,WAAW,EAAE,UAAU,EAAE,CAAA;CAAE,CAoDhD"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { VoiceItem } from '../../state';
|
|
1
2
|
import type { ParserState } from './InternalTypes';
|
|
2
3
|
import { type XmlElement } from './XmlOrder';
|
|
3
4
|
/**
|
|
@@ -6,4 +7,9 @@ import { type XmlElement } from './XmlOrder';
|
|
|
6
7
|
* owner's existing same-articulation attachment instead of adding a glyph.
|
|
7
8
|
*/
|
|
8
9
|
export declare function applyNoteAttachments(note: XmlElement, itemId: string, staffNumber: string, voiceId: string, state: ParserState, pitchIndex?: number): void;
|
|
10
|
+
/**
|
|
11
|
+
* Ties match by MusicXML voice name and pitch, so they cross barlines (each
|
|
12
|
+
* measure has its own `Voice`).
|
|
13
|
+
*/
|
|
14
|
+
export declare function applyTies(note: XmlElement, item: VoiceItem, itemId: string, voiceName: string, state: ParserState): void;
|
|
9
15
|
//# sourceMappingURL=Spanners.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Spanners.d.ts","sourceRoot":"","sources":["../../../../../src/musicxml/MusicXmlParser/Spanners.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Spanners.d.ts","sourceRoot":"","sources":["../../../../../src/musicxml/MusicXmlParser/Spanners.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAsB,SAAS,EAAE,MAAM,aAAa,CAAC;AACjE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAGnD,OAAO,EAML,KAAK,UAAU,EAChB,MAAM,YAAY,CAAC;AAEpB;;;;GAIG;AACH,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,UAAU,EAChB,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,WAAW,EAClB,UAAU,CAAC,EAAE,MAAM,QA0DpB;AAED;;;GAGG;AACH,wBAAgB,SAAS,CACvB,IAAI,EAAE,UAAU,EAChB,IAAI,EAAE,SAAS,EACf,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,WAAW,QAsBnB"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
import type { Articulation, Barline, Clef, Dynamic, KeySignature, NoteLength, Pitch } from '../../state';
|
|
1
|
+
import type { Articulation, Barline, Clef, Dynamic, KeySignature, Notehead, NoteLength, Pitch } from '../../state';
|
|
2
2
|
import { type XmlElement } from './XmlOrder';
|
|
3
3
|
export declare function mapClef(clef: XmlElement): Clef;
|
|
4
4
|
export declare function mapKeySignature(fifths: number, mode?: string): KeySignature;
|
|
5
5
|
export declare function mapDurationType(type: string): NoteLength;
|
|
6
6
|
export declare function mapPitch(pitch: XmlElement, accidental?: string): Pitch;
|
|
7
|
+
/**
|
|
8
|
+
* `<display-step>`/`<display-octave>` place the note under `clef`; without
|
|
9
|
+
* them it sits on the middle line.
|
|
10
|
+
*/
|
|
11
|
+
export declare function mapUnpitched(unpitched: XmlElement, clef: Clef): Pitch;
|
|
12
|
+
export declare function mapNotehead(value: string): Notehead | undefined;
|
|
7
13
|
export declare function mapStemDirection(value?: string): "up" | "down" | undefined;
|
|
8
14
|
export declare function mapBarline(barline: XmlElement): {
|
|
9
15
|
location: 'left' | 'right';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../../../../src/musicxml/MusicXmlParser/mappers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,YAAY,EACZ,OAAO,EACP,IAAI,EACJ,OAAO,EAEP,YAAY,EACZ,UAAU,EACV,KAAK,EAEN,MAAM,aAAa,CAAC;AAErB,OAAO,EAKL,KAAK,UAAU,EAChB,MAAM,YAAY,CAAC;AAyDpB,wBAAgB,OAAO,CAAC,IAAI,EAAE,UAAU,GAAG,IAAI,CAyB9C;AAED,wBAAgB,eAAe,CA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AE,UAAU,GAAG,OAAO,EAAE,CAInE;AAED,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,UAAU,GAAG,MAAM,GAAG,SAAS,CAE1E;AAED,wBAAgB,0BAA0B,CACxC,SAAS,CAAC,EAAE,UAAU,GACrB,YAAY,EAAE,CAoBhB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocumentLayout.d.ts","sourceRoot":"","sources":["../../../../../src/renderer/Layout/DocumentLayout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAC5D,OAAO,KAAK,EACV,kBAAkB,EAClB,iBAAiB,EAIlB,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"DocumentLayout.d.ts","sourceRoot":"","sources":["../../../../../src/renderer/Layout/DocumentLayout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAC5D,OAAO,KAAK,EACV,kBAAkB,EAClB,iBAAiB,EAIlB,MAAM,WAAW,CAAC;AAenB,wBAAgB,+BAA+B,CAC7C,aAAa,EAAE,aAAa,EAC5B,cAAc,EAAE,MAAM,GACrB;IACD,mBAAmB,EAAE,MAAM,CAAC;IAC5B,iBAAiB,EAAE,MAAM,CAAC;CAC3B,CAiCA;AAED,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,kBAAkB,EACzB,MAAM,EAAE,aAAa,EACrB,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,MAAM,EACzB,mBAAmB,EAAE,MAAM,EAC3B,OAAO,EAAE,YAAY,GACpB,iBAAiB,CAwFnB;AAED,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,kBAAkB,EACzB,MAAM,EAAE,aAAa,EACrB,cAAc,EAAE,MAAM,EACtB,OAAO,EAAE,YAAY,GACpB,iBAAiB,CAoFnB"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { VerseBaselines } from '../lyrics';
|
|
1
2
|
import type { MeasuredGroupMeasure } from '../layout';
|
|
2
3
|
export interface SystemVerticalLayout {
|
|
3
4
|
height: number;
|
|
@@ -13,4 +14,9 @@ export declare function resolveSystemVerticalLayout(measures: MeasuredGroupMeasu
|
|
|
13
14
|
* same offsets in every system and all systems share one height.
|
|
14
15
|
*/
|
|
15
16
|
export declare function resolveUniformSystemVerticalLayout(systems: MeasuredGroupMeasure[][], staffCount: number, staffGap: number): SystemVerticalLayout;
|
|
17
|
+
/**
|
|
18
|
+
* Verse-line baselines of each staff in the system formed by `measures`, the
|
|
19
|
+
* lines level across the system; undefined when no staff has lyrics.
|
|
20
|
+
*/
|
|
21
|
+
export declare function resolveVerseBaselines(measures: MeasuredGroupMeasure[], staffCount: number): Array<VerseBaselines | undefined> | undefined;
|
|
16
22
|
//# sourceMappingURL=VerticalSpacing.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VerticalSpacing.d.ts","sourceRoot":"","sources":["../../../../../src/renderer/Layout/VerticalSpacing.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAQtD,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,2BAA2B,CACzC,QAAQ,EAAE,oBAAoB,EAAE,EAChC,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM,GACf,oBAAoB,CAStB;AAED;;;;;GAKG;AACH,wBAAgB,kCAAkC,CAChD,OAAO,EAAE,oBAAoB,EAAE,EAAE,EACjC,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM,GACf,oBAAoB,CA2BtB"}
|
|
1
|
+
{"version":3,"file":"VerticalSpacing.d.ts","sourceRoot":"","sources":["../../../../../src/renderer/Layout/VerticalSpacing.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAEhD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAQtD,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,2BAA2B,CACzC,QAAQ,EAAE,oBAAoB,EAAE,EAChC,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM,GACf,oBAAoB,CAStB;AAED;;;;;GAKG;AACH,wBAAgB,kCAAkC,CAChD,OAAO,EAAE,oBAAoB,EAAE,EAAE,EACjC,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM,GACf,oBAAoB,CA2BtB;AAwDD;;;GAGG;AACH,wBAAgB,qBAAqB,CACnC,QAAQ,EAAE,oBAAoB,EAAE,EAChC,UAAU,EAAE,MAAM,GACjB,KAAK,CAAC,cAAc,GAAG,SAAS,CAAC,GAAG,SAAS,CAO/C"}
|
|
@@ -7,5 +7,5 @@ import type { ScoreOverlayPictureProps } from './types';
|
|
|
7
7
|
* opaque override color the result matches an in-place recolor up to a ≤1px
|
|
8
8
|
* anti-aliasing fringe of base ink at glyph edges.
|
|
9
9
|
*/
|
|
10
|
-
export default function ScoreOverlayPicture({ contentSize, defaultFont, fontManager, groupIndex, itemStyleOverrides, }: ScoreOverlayPictureProps): import("react").JSX.Element;
|
|
10
|
+
export default function ScoreOverlayPicture({ contentSize, defaultFont, fontManager, groupIndex, itemStyleOverrides, scoreId, }: ScoreOverlayPictureProps): import("react").JSX.Element;
|
|
11
11
|
//# sourceMappingURL=ScoreOverlayPicture.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScoreOverlayPicture.d.ts","sourceRoot":"","sources":["../../../../../src/renderer/ScoreRenderer/ScoreOverlayPicture.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScoreOverlayPicture.d.ts","sourceRoot":"","sources":["../../../../../src/renderer/ScoreRenderer/ScoreOverlayPicture.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAuB,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAU7E;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,EAC1C,WAAW,EACX,WAAW,EACX,WAAW,EACX,UAAU,EACV,kBAAkB,EAClB,OAAO,GACR,EAAE,wBAAwB,+BAmI1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScoreRenderer.d.ts","sourceRoot":"","sources":["../../../../../src/renderer/ScoreRenderer/ScoreRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ScoreRenderer.d.ts","sourceRoot":"","sources":["../../../../../src/renderer/ScoreRenderer/ScoreRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B,OAAO,KAAK,EAGV,kBAAkB,EACnB,MAAM,UAAU,CAAC;;AA4RlB,wBAAmC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScoreScrollbar.d.ts","sourceRoot":"","sources":["../../../../../src/renderer/ScoreRenderer/ScoreScrollbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AACpD,OAAO,
|
|
1
|
+
{"version":3,"file":"ScoreScrollbar.d.ts","sourceRoot":"","sources":["../../../../../src/renderer/ScoreRenderer/ScoreScrollbar.tsx"],"names":[],"mappings":"AAAA,OAA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ceFontProvider } from 'react-native-skia';
|
|
2
2
|
import type { GestureType } from 'react-native-gesture-handler';
|
|
3
3
|
import type { SharedValue } from 'react-native-reanimated';
|
|
4
4
|
import type { VexflowRecordingCommand } from '../../base';
|
|
@@ -19,6 +19,7 @@ export interface CreateScorePictureParams {
|
|
|
19
19
|
fontManager: SkTypefaceFontProvider;
|
|
20
20
|
recordedCommands: readonly VexflowRecordingCommand[];
|
|
21
21
|
replayFontManager?: FontManager;
|
|
22
|
+
scoreId: string;
|
|
22
23
|
styleOverrides?: ScoreItemStyleOverrides;
|
|
23
24
|
}
|
|
24
25
|
export interface ScoreOverlayPictureProps {
|
|
@@ -27,19 +28,21 @@ export interface ScoreOverlayPictureProps {
|
|
|
27
28
|
fontManager: SkTypefaceFontProvider;
|
|
28
29
|
groupIndex: VexflowRecordingGroupIndex;
|
|
29
30
|
itemStyleOverrides: NonNullable<ScoreRendererProps['itemStyleOverrides']>;
|
|
31
|
+
scoreId: string;
|
|
30
32
|
}
|
|
31
|
-
export interface
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
export interface OverlayFontManagerSlot {
|
|
38
|
-
manager: FontManager | null;
|
|
33
|
+
export interface OverlayRecordSample {
|
|
34
|
+
commandCount: number;
|
|
35
|
+
durationMs: number;
|
|
36
|
+
/** When the recording finished. */
|
|
37
|
+
atMs: number;
|
|
39
38
|
}
|
|
40
39
|
export interface OverlayProfileState {
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
/** First sample of the open window; null while it is empty. */
|
|
41
|
+
windowStartMs: number | null;
|
|
43
42
|
count: number;
|
|
43
|
+
totalMs: number;
|
|
44
|
+
maxMs: number;
|
|
45
|
+
/** Command count of the latest sample. */
|
|
46
|
+
commandCount: number;
|
|
44
47
|
}
|
|
45
48
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/renderer/ScoreRenderer/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/renderer/ScoreRenderer/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAE3D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC;AACtD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AACnF,OAAO,KAAK,EACV,YAAY,EACZ,uBAAuB,EACvB,kBAAkB,EAClB,UAAU,EACX,MAAM,UAAU,CAAC;AAElB,YAAY,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE3C,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,UAAU,CAAC;IACjB,WAAW,EAAE,WAAW,CAAC,YAAY,CAAC,CAAC;IACvC,UAAU,EAAE,WAAW,CAAC;IACxB,YAAY,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAClC,YAAY,EAAE,WAAW,CAAC,YAAY,CAAC,CAAC;CACzC,CAAC;AAEF,MAAM,WAAW,wBAAwB;IACvC,WAAW,EAAE,YAAY,CAAC;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,sBAAsB,CAAC;IACpC,gBAAgB,EAAE,SAAS,uBAAuB,EAAE,CAAC;IACrD,iBAAiB,CAAC,EAAE,WAAW,CAAC;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,uBAAuB,CAAC;CAC1C;AAED,MAAM,WAAW,wBAAwB;IACvC,WAAW,EAAE,YAAY,CAAC;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,sBAAsB,CAAC;IACpC,UAAU,EAAE,0BAA0B,CAAC;IACvC,kBAAkB,EAAE,WAAW,CAAC,kBAAkB,CAAC,oBAAoB,CAAC,CAAC,CAAC;IAC1E,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,mBAAmB;IAClC,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,mCAAmC;IACnC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,mBAAmB;IAClC,+DAA+D;IAC/D,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,0CAA0C;IAC1C,YAAY,EAAE,MAAM,CAAC;CACtB"}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { type SkPicture, type
|
|
2
|
-
import type { SharedValue } from 'react-native-reanimated';
|
|
3
|
-
import FontManager from '../../base/FontManager';
|
|
1
|
+
import { type SkPicture, type Transforms3d } from 'react-native-skia';
|
|
4
2
|
import type { RendererSize, RendererType, ScoreOptions, ScoreRendererOptions, Viewport } from '../types';
|
|
5
|
-
import type { CreateScorePictureParams,
|
|
3
|
+
import type { CreateScorePictureParams, OverlayProfileState } from './types';
|
|
6
4
|
export declare function nowMsWorklet(): number;
|
|
7
5
|
export declare function withDefaultOptions(options: ScoreRendererOptions): ScoreOptions;
|
|
8
|
-
export declare function createScorePicture({ contentSize, defaultFont, fontManager, recordedCommands, replayFontManager, styleOverrides, }: CreateScorePictureParams): SkPicture;
|
|
6
|
+
export declare function createScorePicture({ contentSize, defaultFont, fontManager, recordedCommands, replayFontManager, scoreId, styleOverrides, }: CreateScorePictureParams): SkPicture;
|
|
9
7
|
export declare function createScorePictureWorklet({ contentSize, defaultFont, fontManager, recordedCommands, replayFontManager, styleOverrides, }: CreateScorePictureParams): SkPicture;
|
|
10
8
|
/**
|
|
11
9
|
* Maps the content-space picture into the view. Skia applies the transform
|
|
@@ -14,32 +12,15 @@ export declare function createScorePictureWorklet({ contentSize, defaultFont, fo
|
|
|
14
12
|
* must be the view-space content size.
|
|
15
13
|
*/
|
|
16
14
|
export declare function createPictureTransform(scrollOffset: number, rendererType: RendererType, viewport: Viewport, contentSize: RendererSize, scale?: number): Transforms3d;
|
|
17
|
-
/**
|
|
18
|
-
* Runtime-local lazy FontManager: worklets cannot copy a class instance into
|
|
19
|
-
* a closure, so each runtime constructs its own on first use and keeps it in
|
|
20
|
-
* the slot (slot contents never cross runtimes; only the initial `null` is
|
|
21
|
-
* serialized).
|
|
22
|
-
*/
|
|
23
|
-
export declare function getOverlayFontManager(slot: SharedValue<OverlayFontManagerSlot>, fontProvider: SkTypefaceFontProvider, defaultFont: string): FontManager;
|
|
24
15
|
/**
|
|
25
16
|
* Shared blank picture returned while no override matches. One per app,
|
|
26
17
|
* never disposed — PictureProps.picture is non-nullable and declarative Skia
|
|
27
18
|
* can't unmount from the UI thread, so an "empty" frame needs a real picture.
|
|
28
19
|
*/
|
|
29
20
|
export declare function getEmptyOverlayPicture(): SkPicture;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
* owned picture (none, or the shared blank one), which never enters the ring.
|
|
36
|
-
*/
|
|
37
|
-
export declare function retirePicture(state: PictureDisposalState, next: SkPicture | null): void;
|
|
38
|
-
/** Disposes the superseded pictures only; the current one stays alive. */
|
|
39
|
-
export declare function disposeRetiredPictures(state: PictureDisposalState): void;
|
|
40
|
-
export declare function disposePictures(state: PictureDisposalState): void;
|
|
41
|
-
export declare function retireOverlayPicture(disposal: SharedValue<PictureDisposalState>, next: SkPicture | null): void;
|
|
42
|
-
export declare function disposeOverlayPictures(disposal: SharedValue<PictureDisposalState>): void;
|
|
43
|
-
/** Throttled (≤1/s) UI-thread record timing; debug flag only. */
|
|
44
|
-
export declare function logOverlayProfile(profile: SharedValue<OverlayProfileState>, commandCount: number, durationMs: number): void;
|
|
21
|
+
export declare const EMPTY_OVERLAY_PROFILE: OverlayProfileState;
|
|
22
|
+
/** Logs a non-empty profile window and starts a new one. */
|
|
23
|
+
export declare function flushOverlayProfile(state: OverlayProfileState, scoreId: string): OverlayProfileState;
|
|
24
|
+
/** Throttled (≤1/s) record timing; the window opens at its first sample. */
|
|
25
|
+
export declare function addOverlayProfileSample(state: OverlayProfileState, scoreId: string, commandCount: number, durationMs: number, atMs: number): OverlayProfileState;
|
|
45
26
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/renderer/ScoreRenderer/utils.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/renderer/ScoreRenderer/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAK5E,OAAO,KAAK,EACV,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,oBAAoB,EACpB,QAAQ,EACT,MAAM,UAAU,CAAC;AAElB,OAAO,KAAK,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAI7E,wBAAgB,YAAY,IAAI,MAAM,CAIrC;AAYD,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,oBAAoB,GAC5B,YAAY,CAMd;AAED,wBAAgB,kBAAkB,CAAC,EACjC,WAAW,EACX,WAAW,EACX,WAAW,EACX,gBAAgB,EAChB,iBAAiB,EACjB,OAAO,EACP,cAAc,GACf,EAAE,wBAAwB,aAyB1B;AAED,wBAAgB,yBAAyB,CAAC,EACxC,WAAW,EACX,WAAW,EACX,WAAW,EACX,gBAAgB,EAChB,iBAAiB,EACjB,cAAc,GACf,EAAE,wBAAwB,GAAG,SAAS,CAkBtC;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CACpC,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,YAAY,EAC1B,QAAQ,EAAE,QAAQ,EAClB,WAAW,EAAE,YAAY,EACzB,KAAK,GAAE,MAAU,GAChB,YAAY,CAwBd;AAID;;;;GAIG;AACH,wBAAgB,sBAAsB,IAAI,SAAS,CAQlD;AAED,eAAO,MAAM,qBAAqB,EAAE,mBAMnC,CAAC;AAEF,4DAA4D;AAC5D,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,mBAAmB,EAC1B,OAAO,EAAE,MAAM,GACd,mBAAmB,CAiBrB;AAED,4EAA4E;AAC5E,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,mBAAmB,EAC1B,OAAO,EAAE,MAAM,EACf,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,MAAM,GACX,mBAAmB,CAerB"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { Score, Staff, StaffGroup } from '../state';
|
|
2
2
|
import { type ResolvedMeasureState } from './scoreParsing';
|
|
3
|
+
import type { VerseBaselines } from './lyrics';
|
|
3
4
|
import type { MeasuredScore } from './measure';
|
|
4
5
|
import type { StaffVerticalBounds } from './measureBounds';
|
|
5
6
|
import type { RendererRect, RendererSize, RendererType, ScoreOptions } from './types';
|
|
@@ -7,7 +8,7 @@ export interface MeasuredGroupMeasure {
|
|
|
7
8
|
groupId: string;
|
|
8
9
|
measureIndex: number;
|
|
9
10
|
intrinsicWidth: number;
|
|
10
|
-
|
|
11
|
+
systemStartModifierWidth?: number;
|
|
11
12
|
measureNumbers: number[];
|
|
12
13
|
staffBounds: StaffVerticalBounds[];
|
|
13
14
|
tempoMarkBaselines?: Record<string, number>;
|
|
@@ -28,6 +29,8 @@ export interface MeasureLayoutPlan {
|
|
|
28
29
|
width: number;
|
|
29
30
|
height: number;
|
|
30
31
|
staffYOffsets: number[];
|
|
32
|
+
/** Per staff index, shared by the system's measures; absent = no lyrics. */
|
|
33
|
+
verseBaselines?: Array<VerseBaselines | undefined>;
|
|
31
34
|
systemIndex: number;
|
|
32
35
|
}
|
|
33
36
|
export interface SystemLayoutPlan {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../../src/renderer/layout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../../src/renderer/layout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAezD,OAAO,EAIL,KAAK,oBAAoB,EAC1B,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,KAAK,EACV,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACb,MAAM,SAAS,CAAC;AAEjB,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,WAAW,EAAE,mBAAmB,EAAE,CAAC;IACnC,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC7C;AAED,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,QAAQ,E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,EAAE,KAAK,EACZ,aAAa,EAAE,aAAa,EAC5B,OAAO,EAAE,YAAY,EACrB,YAAY,EAAE,YAAY,EAC1B,QAAQ,EAAE,YAAY,GACrB,eAAe,CAwDjB;AAED;;;;;GAKG;AACH,wBAAgB,wBAAwB,CACtC,YAAY,EAAE,YAAY,EAC1B,aAAa,EAAE,aAAa,GAC3B,OAAO,CAIT"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Annotation, BoundingBox } from 'vexflow';
|
|
2
|
+
import type { Note } from 'vexflow';
|
|
3
|
+
import type { LyricAttachment } from '../state';
|
|
4
|
+
/** The verse lines a staff needs: the distinct verses present, in order, and
|
|
5
|
+
* the tallest ascent and descent among their lyrics. */
|
|
6
|
+
export interface VerseLines {
|
|
7
|
+
verses: number[];
|
|
8
|
+
ascent: number;
|
|
9
|
+
descent: number;
|
|
10
|
+
}
|
|
11
|
+
/** Baseline y of each verse line relative to the stave origin, by verse. */
|
|
12
|
+
export type VerseBaselines = ReadonlyMap<number, number>;
|
|
13
|
+
/** Undefined verses sort first, as their own verse line. */
|
|
14
|
+
export declare function verseOf(lyric: LyricAttachment): number;
|
|
15
|
+
/**
|
|
16
|
+
* A lyric reserves its width like any annotation but is drawn on its verse
|
|
17
|
+
* line, which the layout places per system once the staff's other ink is
|
|
18
|
+
* known; until placed it draws nothing and has no ink.
|
|
19
|
+
*/
|
|
20
|
+
export declare class Lyric extends Annotation {
|
|
21
|
+
readonly verse: number;
|
|
22
|
+
private baselineY?;
|
|
23
|
+
constructor(text: string, verse: number, textFontFamily: string);
|
|
24
|
+
setBaselineY(baselineY: number): void;
|
|
25
|
+
getBoundingBox(): BoundingBox;
|
|
26
|
+
draw(): void;
|
|
27
|
+
}
|
|
28
|
+
/** The verse lines of a note's lyrics; undefined without lyrics. */
|
|
29
|
+
export declare function noteVerseLines(note: Note): VerseLines | undefined;
|
|
30
|
+
export declare function mergeVerseLines(left: VerseLines | undefined, right: VerseLines | undefined): VerseLines | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* One level line per verse below `contentBottom` (stave-origin space): verse
|
|
33
|
+
* lines in verse order, a line height apart, the first clearing the content.
|
|
34
|
+
* `bottom` is the lowest ink of the last line.
|
|
35
|
+
*/
|
|
36
|
+
export declare function layoutVerseLines(contentBottom: number, { verses, ascent, descent }: VerseLines): {
|
|
37
|
+
baselines: VerseBaselines;
|
|
38
|
+
bottom: number;
|
|
39
|
+
};
|
|
40
|
+
/** Places the lyrics of a note, already on its stave, on their verse lines. */
|
|
41
|
+
export declare function placeLyrics(note: Note, baselines: VerseBaselines | undefined): void;
|
|
42
|
+
//# sourceMappingURL=lyrics.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lyrics.d.ts","sourceRoot":"","sources":["../../../../src/renderer/lyrics.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EAEV,WAAW,EAGZ,MAAM,SAAS,CAAC;AACjB,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAEpC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAWhD;wDACwD;AACxD,MAAM,WAAW,UAAU;IACzB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,4EAA4E;AAC5E,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAEzD,4DAA4D;AAC5D,wBAAgB,OAAO,CAAC,KAAK,EAAE,eAAe,GAAG,MAAM,CAEtD;AAED;;;;GAIG;AACH,qBAAa,KAAM,SAAQ,UAAU;IAGT,QAAQ,CAAC,KAAK,EAAE,MAAM;IAFhD,OAAO,CAAC,SAAS,CAAC,CAAS;gBAEf,IAAI,EAAE,MAAM,EAAW,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM;IAQxE,YAAY,CAAC,SAAS,EAAE,MAAM;IAI9B,cAAc,IAAI,WAAW;IAW7B,IAAI;CAmBL;AAED,oEAAoE;AACpE,wBAAgB,cAAc,CAAC,IAAI,EAAE,IAAI,GAAG,UAAU,GAAG,SAAS,CAcjE;AAED,wBAAgB,eAAe,CAC7B,IAAI,EAAE,UAAU,GAAG,SAAS,EAC5B,KAAK,EAAE,UAAU,GAAG,SAAS,GAC5B,UAAU,GAAG,SAAS,CAYxB;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,aAAa,EAAE,MAAM,EACrB,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,UAAU,GACtC;IAAE,SAAS,EAAE,cAAc,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAY/C;AAED,+EAA+E;AAC/E,wBAAgB,WAAW,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,cAAc,GAAG,SAAS,QAiB5E"}
|
|
@@ -15,9 +15,9 @@ export interface MeasuredMeasure {
|
|
|
15
15
|
intrinsicNoteWidth: number;
|
|
16
16
|
/**
|
|
17
17
|
* Extra width the measure needs when it starts a system and
|
|
18
|
-
* `spacing.clefOnEachSystem` adds its clef; absent = 0.
|
|
18
|
+
* `spacing.clefOnEachSystem` adds its clef and key signature; absent = 0.
|
|
19
19
|
*/
|
|
20
|
-
|
|
20
|
+
systemStartModifierWidth?: number;
|
|
21
21
|
}
|
|
22
22
|
export interface MeasuredScore {
|
|
23
23
|
measures: MeasuredMeasure[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"measure.d.ts","sourceRoot":"","sources":["../../../../src/renderer/measure.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,KAAK,EAAS,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"measure.d.ts","sourceRoot":"","sources":["../../../../src/renderer/measure.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,KAAK,EAAS,MAAM,UAAU,CAAC;AAiB7C,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAQ3D,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,WAAW,EAAE,mBAAmB,EAAE,CAAC;IACnC;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC5C,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;OAGG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACnC;AAED,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,eAAe,EAAE,CAAC;IAC5B,qBAAqB,EAAE,MAAM,CAAC;CAC/B;AAYD;;GAEG;AACH,wBAAgB,YAAY,CAC1B,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,YAAY,EACrB,EAAE,YAAY,EAAE,GAAE,IAAI,CAAC,cAAc,EAAE,cAAc,CAAM,GAC1D,aAAa,CA0If"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import type { VerseLines } from './lyrics';
|
|
1
2
|
import type { VFVoiceNote } from './scoreParsing';
|
|
2
3
|
export interface StaffVerticalBounds {
|
|
3
4
|
top: number;
|
|
5
|
+
/** Lowest ink but the lyrics, which sit on `lyrics` verse lines below it. */
|
|
4
6
|
bottom: number;
|
|
7
|
+
lyrics?: VerseLines;
|
|
5
8
|
}
|
|
6
9
|
/**
|
|
7
10
|
* Mutates the note (draws it against a no-op context and anchors unplaced
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"measureBounds.d.ts","sourceRoot":"","sources":["../../../../src/renderer/measureBounds.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD,MAAM,WAAW,mBAAmB;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"measureBounds.d.ts","sourceRoot":"","sources":["../../../../src/renderer/measureBounds.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE3C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD,MAAM,WAAW,mBAAmB;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,6EAA6E;IAC7E,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,UAAU,CAAC;CACrB;AA8BD;;;;GAIG;AACH,wBAAgB,eAAe,CAC7B,MAAM,EAAE,mBAAmB,GAAG,SAAS,EACvC,IAAI,EAAE,WAAW,QAkDlB;AAOD,wBAAgB,MAAM,CAAC,MAAM,EAAE,mBAAmB,GAAG,SAAS,EAAE,CAAC,EAAE,MAAM,QAOxE"}
|
|
@@ -10,12 +10,22 @@ export interface ResolvedMeasureModifiers {
|
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
12
|
* Resolves the tri-state measure modifiers: `true` shows, `false` hides,
|
|
13
|
-
* `undefined` falls back to the default (clef on the first
|
|
14
|
-
* a measure that `
|
|
15
|
-
*
|
|
13
|
+
* `undefined` falls back to the default (clef and key signature on the first
|
|
14
|
+
* measure and on a measure that `repeatsSystemStart`; meter hidden, single
|
|
15
|
+
* barlines).
|
|
16
16
|
*/
|
|
17
|
-
export declare function resolveMeasureModifiers(measure: Pick<Measure, 'leftModifiers' | 'rightModifiers'>, measureIndex: number,
|
|
17
|
+
export declare function resolveMeasureModifiers(measure: Pick<Measure, 'leftModifiers' | 'rightModifiers'>, measureIndex: number, repeatsSystemStart?: boolean): ResolvedMeasureModifiers;
|
|
18
18
|
export declare function applyMeasureModifiers(stave: Stave, modifiers: ResolvedMeasureModifiers, resolvedState: ResolvedMeasureState): Stave;
|
|
19
|
+
/**
|
|
20
|
+
* Starts the notes of every stave at the widest begin-modifier block, as
|
|
21
|
+
* VexFlow's `System` does, so same-tick notes line up across a staff group.
|
|
22
|
+
*/
|
|
23
|
+
export declare function alignNoteStarts(staves: Stave[]): void;
|
|
24
|
+
/**
|
|
25
|
+
* The stave with the smallest note-end x (a repeat-end barline on one stave
|
|
26
|
+
* narrows it); formatting to it keeps notes inside every stave of the group.
|
|
27
|
+
*/
|
|
28
|
+
export declare function getFormatReferenceStave(staves: Stave[]): Stave;
|
|
19
29
|
/** Major-key VexFlow spec for the key's accidentals, respelt enharmonically beyond 7 sharps/flats. */
|
|
20
30
|
export declare function keySignatureToVFSpec(keySignature: KeySignature): string;
|
|
21
31
|
//# sourceMappingURL=measureModifiers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"measureModifiers.d.ts","sourceRoot":"","sources":["../../../../src/renderer/measureModifiers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,KAAK,EAAyB,MAAM,SAAS,CAAC;AAEzE,OAAO,KAAK,EAAE,OAAO,EAAW,YAAY,EAAE,OAAO,EAAQ,MAAM,UAAU,CAAC;AAC9E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAE3D,MAAM,WAAW,wBAAwB;IACvC,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,YAAY,EAAE,OAAO,CAAC;IACtB,UAAU,EAAE,OAAO,CAAC;CACrB;AAwDD;;;;;GAKG;AACH,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,eAAe,GAAG,gBAAgB,CAAC,EAC1D,YAAY,EAAE,MAAM,EACpB,
|
|
1
|
+
{"version":3,"file":"measureModifiers.d.ts","sourceRoot":"","sources":["../../../../src/renderer/measureModifiers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,KAAK,EAAyB,MAAM,SAAS,CAAC;AAEzE,OAAO,KAAK,EAAE,OAAO,EAAW,YAAY,EAAE,OAAO,EAAQ,MAAM,UAAU,CAAC;AAC9E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAE3D,MAAM,WAAW,wBAAwB;IACvC,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,YAAY,EAAE,OAAO,CAAC;IACtB,UAAU,EAAE,OAAO,CAAC;CACrB;AAwDD;;;;;GAKG;AACH,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,eAAe,GAAG,gBAAgB,CAAC,EAC1D,YAAY,EAAE,MAAM,EACpB,kBAAkB,UAAQ,GACzB,wBAAwB,CAW1B;AAED,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,wBAAwB,EACnC,aAAa,EAAE,oBAAoB,GAClC,KAAK,CA+BP;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,KAAK,EAAE,QAI9C;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,CAI9D;AAED,sGAAsG;AACtG,wBAAgB,oBAAoB,CAAC,YAAY,EAAE,YAAY,GAAG,MAAM,CAOvE"}
|
|
@@ -17,7 +17,8 @@ export declare function restAttachments(attachments: NoteAttachment[] | undefine
|
|
|
17
17
|
/**
|
|
18
18
|
* Attaches the owner's marks to a VexFlow note in a fixed order regardless of
|
|
19
19
|
* the attachments' order: articulations, annotations, dynamics, lyrics (by
|
|
20
|
-
* verse), grace notes. Same-side marks stack outward in that order
|
|
20
|
+
* verse), grace notes. Same-side marks stack outward in that order, except
|
|
21
|
+
* lyrics, which sit on their staff's verse lines (`lyrics.ts`).
|
|
21
22
|
*/
|
|
22
23
|
export declare function applyNoteModifiers(note: StaveNote, clef: Clef, attachments: NoteAttachment[] | undefined, textFontFamily?: string): void;
|
|
23
24
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"noteModifiers.d.ts","sourceRoot":"","sources":["../../../../src/renderer/noteModifiers.ts"],"names":[],"mappings":"AAAA,OAAO,EAUL,SAAS,EAEV,MAAM,SAAS,CAAC;AACjB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,OAAO,KAAK,EACV,YAAY,EACZ,IAAI,EACJ,SAAS,EACT,aAAa,EAIb,cAAc,EACd,KAAK,EACN,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"noteModifiers.d.ts","sourceRoot":"","sources":["../../../../src/renderer/noteModifiers.ts"],"names":[],"mappings":"AAAA,OAAO,EAUL,SAAS,EAEV,MAAM,SAAS,CAAC;AACjB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,OAAO,KAAK,EACV,YAAY,EACZ,IAAI,EACJ,SAAS,EACT,aAAa,EAIb,cAAc,EACd,KAAK,EACN,MAAM,UAAU,CAAC;AAKlB;;GAEG;AACH,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,YAAY,EAAE,MAAM,CAShE,CAAC;AA4BF,uEAAuE;AACvE,wBAAgB,YAAY,CAAC,IAAI,EAAE,aAAa,GAAG,IAAI,IAAI,SAAS,CAEnE;AAED;;GAEG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,QAI9D;AAoCD,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,SAAS,EACf,OAAO,EAAE,SAAS,KAAK,EAAE,EACzB,QAAQ,EAAE,aAAa,QAKxB;AAED,2EAA2E;AAC3E,wBAAgB,eAAe,CAC7B,WAAW,EAAE,cAAc,EAAE,GAAG,SAAS,GACxC,cAAc,EAAE,GAAG,SAAS,CAE9B;AAYD;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,SAAS,EACf,IAAI,EAAE,IAAI,EACV,WAAW,EAAE,cAAc,EAAE,GAAG,SAAS,EACzC,cAAc,GAAE,MAAqC,QA6DtD;AAsCD;;;;GAIG;AACH,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,SAAS,aAAa,EAAE,EAC/B,UAAU,EAAE,SAAS,SAAS,EAAE,GAAG,SAAS,EAC5C,cAAc,GAAE,MAAqC,QAyBtD"}
|
|
@@ -14,4 +14,12 @@ import type { Formatter, Voice as VFVoice } from 'vexflow';
|
|
|
14
14
|
* left of beat 1.
|
|
15
15
|
*/
|
|
16
16
|
export declare function applyFixedNoteSpacing(formatter: Formatter, voices: VFVoice[], stave: Stave): void;
|
|
17
|
-
|
|
17
|
+
/**
|
|
18
|
+
* Compresses the tick contexts linearly, anchored at the first one, when
|
|
19
|
+
* VexFlow's minimum widths run any of them past the note area. The anchor
|
|
20
|
+
* keeps a centre-aligned rest's centre shift valid; beams post-format after
|
|
21
|
+
* this, so they and modifiers follow the final positions. Returns the
|
|
22
|
+
* applied factor, 1 when nothing moved.
|
|
23
|
+
*/
|
|
24
|
+
export declare function squeezeNoteSpacing(formatter: Formatter, stave: Stave): number;
|
|
25
|
+
//# sourceMappingURL=noteSpacing.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"noteSpacing.d.ts","sourceRoot":"","sources":["../../../../src/renderer/noteSpacing.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,KAAK,EAAE,SAAS,EAAE,KAAK,IAAI,OAAO,EAAE,MAAM,SAAS,CAAC;AAE3D;;;;;;;;;;;;GAYG;AACH,wBAAgB,qBAAqB,CACnC,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,OAAO,EAAE,EACjB,KAAK,EAAE,KAAK,QAoDb;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,UAkCpE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render.d.ts","sourceRoot":"","sources":["../../../../src/renderer/render.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AACvD,OAAO,KAAK,EAEV,KAAK,EAGN,MAAM,UAAU,CAAC;AAClB,OAAO,KAAK,EAGV,eAAe,EAChB,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"render.d.ts","sourceRoot":"","sources":["../../../../src/renderer/render.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AACvD,OAAO,KAAK,EAEV,KAAK,EAGN,MAAM,UAAU,CAAC;AAClB,OAAO,KAAK,EAGV,eAAe,EAChB,MAAM,UAAU,CAAC;AAclB,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAG9E;;;GAGG;AACH,wBAAgB,WAAW,CACzB,GAAG,EAAE,uBAAuB,EAC5B,KAAK,EAAE,KAAK,EACZ,UAAU,EAAE,eAAe,EAC3B,OAAO,EAAE,YAAY,EACrB,KAAK,GAAE,cAAmB,GACzB,gBAAgB,CA+ClB"}
|
|
@@ -149,9 +149,11 @@ export interface ScoreSpacing {
|
|
|
149
149
|
*/
|
|
150
150
|
lastSystemFill: 'justify' | 'natural';
|
|
151
151
|
/**
|
|
152
|
-
* Draw the clef on the first measure of every system
|
|
153
|
-
*
|
|
154
|
-
*
|
|
152
|
+
* Draw the clef and key signature on the first measure of every system, as
|
|
153
|
+
* engraving convention repeats them; line breaking reserves their width.
|
|
154
|
+
* `false` draws them on the first measure of the score only. A measure's
|
|
155
|
+
* explicit `leftModifiers.showClef` / `showKeySignature` still wins.
|
|
156
|
+
* Default true.
|
|
155
157
|
*/
|
|
156
158
|
clefOnEachSystem: boolean;
|
|
157
159
|
}
|
|
@@ -176,7 +178,9 @@ export interface RenderOptions {
|
|
|
176
178
|
/**
|
|
177
179
|
* Font family list for the text drawn on a score: annotations, lyrics and
|
|
178
180
|
* text directions. A family the font provider holds is taken from it;
|
|
179
|
-
* otherwise the system font manager resolves the list.
|
|
181
|
+
* otherwise the system font manager resolves the list. Without system fonts
|
|
182
|
+
* (CanvasKit on the web) a list naming no provider family draws with the
|
|
183
|
+
* built-in Academico face, VexFlow's default text font. Default
|
|
180
184
|
* `Arial, Helvetica, sans-serif`.
|
|
181
185
|
*/
|
|
182
186
|
textFontFamily: string;
|
|
@@ -227,8 +231,8 @@ export interface ScoreItemBounds {
|
|
|
227
231
|
}
|
|
228
232
|
/**
|
|
229
233
|
* Geometry of one rendered stave of a measure. Entries of the same measure
|
|
230
|
-
* share `x`/`width
|
|
231
|
-
*
|
|
234
|
+
* share `x`/`width` and `staveNoteStartX` (notes of a group start after its
|
|
235
|
+
* widest clef, key and time signature block); `staveNoteEndX` is per stave.
|
|
232
236
|
*/
|
|
233
237
|
export interface ScoreMeasureItemsLayout {
|
|
234
238
|
groupId: string;
|
|
@@ -239,7 +243,7 @@ export interface ScoreMeasureItemsLayout {
|
|
|
239
243
|
x: number;
|
|
240
244
|
/** Stave width. */
|
|
241
245
|
width: number;
|
|
242
|
-
/** X where notes
|
|
246
|
+
/** X where notes start, shared by every stave of the measure's group. */
|
|
243
247
|
staveNoteStartX: number;
|
|
244
248
|
/** X where the note area of this stave ends. */
|
|
245
249
|
staveNoteEndX: number;
|
|
@@ -259,6 +263,12 @@ export interface ScoreMeasureItemsLayout {
|
|
|
259
263
|
* read the drawn line from here. Always emitted by the renderer.
|
|
260
264
|
*/
|
|
261
265
|
visibleLineYs?: number[];
|
|
266
|
+
/**
|
|
267
|
+
* Factor the measure's note spacing was compressed by to fit its note area;
|
|
268
|
+
* absent when uncompressed. Re-engrave at a smaller `render.scale` to avoid
|
|
269
|
+
* the crowding.
|
|
270
|
+
*/
|
|
271
|
+
noteSpacingScale?: number;
|
|
262
272
|
}
|
|
263
273
|
/** Geometry of one drawn tempo mark, same space as {@link ScoreItemsLayout}. */
|
|
264
274
|
export interface ScoreTempoMarkLayout {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/renderer/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAExD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AACpD,OAAO,KAAK,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAC9E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEtD,MAAM,MAAM,YAAY,GAAG,eAAe,GAAG,UAAU,GAAG,cAAc,CAAC;AACzE,MAAM,MAAM,sBAAsB,GAAG,oBAAoB,CAAC;AAC1D,MAAM,MAAM,uBAAuB,GAAG,MAAM,CAAC,MAAM,EAAE,sBAAsB,CAAC,CAAC;AAE7E;2CAC2C;AAC3C,MAAM,MAAM,UAAU,GAAG,YAAY,GAAG,UAAU,CAAC;AAEnD;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IACjC,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,8EAA8E;AAC9E,MAAM,WAAW,kBAAkB;IACjC,0DAA0D;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kDAAkD;IAClD,KAAK,CAAC,EAAE,MAAM,CAA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