@sudobility/music_types 0.13.20 → 0.13.21
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/CLAUDE.md +5 -0
- package/dist/domain/generation/score-presets.d.ts +83 -0
- package/dist/domain/generation/score-presets.d.ts.map +1 -0
- package/dist/domain/generation/score-presets.js +89 -0
- package/dist/domain/generation/score-presets.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/model/generation.d.ts +22 -1
- package/dist/model/generation.d.ts.map +1 -1
- package/dist/model/generation.js +10 -8
- package/dist/model/generation.js.map +1 -1
- package/package.json +1 -1
package/CLAUDE.md
CHANGED
|
@@ -120,6 +120,11 @@ Everything exports from a single sectioned `src/index.ts`:
|
|
|
120
120
|
- **The singer is written first, ahead of the genre order.** In `rankTracksForGeneration`, `voiceFirst` used to be a tiebreak among equally ranked parts, so it only did anything where `lead` already came first. `GROOVE_FIRST` writes the lead **last** — in reggae the bassline is the material and the melody decorates it, which is true of an instrumental and inverts the moment somebody is singing over it — so in eleven genres every backing part was composed before the voice existed, `vocalSupportRule` in music_api had no singer to point at, and the vocal was bent to fit a finished arrangement instead of the other way round. It is now the primary sort key, and `roleOrderForStyle` is untouched, so a roster with no voice is arranged exactly as it was. A percussion track is never promoted, whatever its program addresses: on the drum channel, program 53 is a kit.
|
|
121
121
|
- **A closed vocabulary is offered in the order it is read, not the order it was declared.** `sortOptionsByLabel` sorts on the **translated** label under the active language. Both halves matter: the value is `electroSwing` while the reader sees "Electro Swing", so sorting the keys puts entries wherever their camel-case identifier happens to fall; and collating Chinese labels by the English they were translated from produces an order with no visible logic at all. The 33 styles and 6 moods go through it in both apps — an ordering rule written twice is one that eventually disagrees with itself.
|
|
122
122
|
|
|
123
|
+
- **The preset briefs are the server's list and the hosts' words.** `SCORE_PRESET_KEYS` is the closed vocabulary; which of them suit which genre lives in `music_api` and is served by `GET /public/presets?style=`, so it can be retuned without shipping an app and two apps cannot offer different starting points for the same style. The *text* stays in each app's locale files, because the brief a reader picks is also the prompt sent to the model and a Chinese reader should be prompting in Chinese — the same division `MusicXmlWarnings` uses. The vocabulary is here rather than only on the server because **both ends need it**: the server must not serve a brief no app can name, and each app must be able to prove offline, in a test, that it has words for every brief it could be sent. A list only the server had would make the second impossible, which is exactly how a menu comes to print `openingTitle` at a reader. A brief names a subject and a shape and never a genre, since `style` already travels as its own expanded phrase — which is what lets one brief serve several genres instead of 33 sets of bespoke copy.
|
|
124
|
+
- **`weak` is gone and `default` is called "Open AI".** The label said only that it was the default, which is a fact about the picker rather than about which company's model writes the music. The wire value is still `default`, and the default is still expressed by sending **no field at all**, so an ordinary request is byte-for-byte what it was.
|
|
125
|
+
|
|
126
|
+
- **The lyric's subject is its own field, and it replaces rather than adds.** `lyricsTheme` was once deliberately absent, on the grounds that `prompt` already says what the piece is and a second subject line is a place for the two to disagree. What that missed is that they are different questions: "a slow waltz in D minor" describes the music, and the words over it can be about coming home. The disagreement is avoided by there being exactly **one** "the words are about" clause on the server, which this fills when present and `prompt` fills otherwise — so a request that says nothing about it produces the lyric it always did, and `prompt` still reaches the model in its own right. Never sent without `lyrics`: `buildGenerateScoreRequest` drops both on the same rule.
|
|
127
|
+
|
|
123
128
|
## Related Projects
|
|
124
129
|
|
|
125
130
|
- `music_api` — backend (Hono/Drizzle/OpenAI proxy), consumes schemas for validation
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* The briefs a reader can start a generation from, as ids rather than as text.
|
|
4
|
+
*
|
|
5
|
+
* Which briefs suit which genre is **product data the server owns** — it is
|
|
6
|
+
* served by `GET /public/presets` so it can be retuned without shipping an app,
|
|
7
|
+
* and so two apps offering "the presets for reggae" cannot offer different
|
|
8
|
+
* ones. The *words* stay with the hosts, which is the same division
|
|
9
|
+
* `MusicXmlWarnings` uses and the reason a Chinese reader gets Chinese: a
|
|
10
|
+
* library that held the copy would hold it in one language.
|
|
11
|
+
*
|
|
12
|
+
* The vocabulary itself lives here rather than on the server because both ends
|
|
13
|
+
* need it. The server must not serve a brief no app can name, and each app must
|
|
14
|
+
* be able to prove — offline, in a test — that it has words for every brief it
|
|
15
|
+
* could ever be sent. A list only the server had would make the second
|
|
16
|
+
* impossible, which is exactly how a menu comes to print `openingTitle` at a
|
|
17
|
+
* reader.
|
|
18
|
+
*
|
|
19
|
+
* A brief names a subject and a shape, never a genre: `style` already travels
|
|
20
|
+
* as its own expanded phrase, so a preset that said "reggae" would say it twice
|
|
21
|
+
* and would be wrong the moment it were served under another style. That is
|
|
22
|
+
* what lets one brief be assigned to several genres.
|
|
23
|
+
*/
|
|
24
|
+
export declare const SCORE_PRESET_KEYS: readonly ["gentleMelody", "simpleBeginner", "openingTitle", "slowBuild", "loopableLoop", "callAndResponse", "quietEnding", "singleHook", "verseChorus", "loveSong", "leavingHome", "lateNightDrive", "breakupSong", "crowdSinger", "rainyWindow", "summerDay", "walkingBass", "lockedGroove", "handclapBackbeat", "halfTimeDrop", "drivingEighths", "syncopatedRiff", "triumphant", "menacing", "bittersweet", "playfulDance", "lullaby", "restless", "lonely", "celebration", "chaseScene", "battleTheme", "creditsRoll", "marketScene", "sunriseScene", "ceremonyProcession", "twelveBarShuffle", "improvisedSolo", "fiddleAnswers", "organStabs", "brassStabs", "pedalDrone", "palmMutedRiff", "threeChordRush"];
|
|
25
|
+
export type ScorePresetKey = (typeof SCORE_PRESET_KEYS)[number];
|
|
26
|
+
/** Whether a string is a brief this vocabulary knows. */
|
|
27
|
+
export declare function isScorePresetKey(value: string): value is ScorePresetKey;
|
|
28
|
+
/**
|
|
29
|
+
* What `GET /public/presets` answers.
|
|
30
|
+
*
|
|
31
|
+
* An object rather than a bare array, so the response can gain a field without
|
|
32
|
+
* every client having to be changed on the same day.
|
|
33
|
+
*/
|
|
34
|
+
export declare const scorePresetsResponseSchema: z.ZodObject<{
|
|
35
|
+
presets: z.ZodArray<z.ZodEnum<{
|
|
36
|
+
gentleMelody: "gentleMelody";
|
|
37
|
+
simpleBeginner: "simpleBeginner";
|
|
38
|
+
openingTitle: "openingTitle";
|
|
39
|
+
slowBuild: "slowBuild";
|
|
40
|
+
loopableLoop: "loopableLoop";
|
|
41
|
+
callAndResponse: "callAndResponse";
|
|
42
|
+
quietEnding: "quietEnding";
|
|
43
|
+
singleHook: "singleHook";
|
|
44
|
+
verseChorus: "verseChorus";
|
|
45
|
+
loveSong: "loveSong";
|
|
46
|
+
leavingHome: "leavingHome";
|
|
47
|
+
lateNightDrive: "lateNightDrive";
|
|
48
|
+
breakupSong: "breakupSong";
|
|
49
|
+
crowdSinger: "crowdSinger";
|
|
50
|
+
rainyWindow: "rainyWindow";
|
|
51
|
+
summerDay: "summerDay";
|
|
52
|
+
walkingBass: "walkingBass";
|
|
53
|
+
lockedGroove: "lockedGroove";
|
|
54
|
+
handclapBackbeat: "handclapBackbeat";
|
|
55
|
+
halfTimeDrop: "halfTimeDrop";
|
|
56
|
+
drivingEighths: "drivingEighths";
|
|
57
|
+
syncopatedRiff: "syncopatedRiff";
|
|
58
|
+
triumphant: "triumphant";
|
|
59
|
+
menacing: "menacing";
|
|
60
|
+
bittersweet: "bittersweet";
|
|
61
|
+
playfulDance: "playfulDance";
|
|
62
|
+
lullaby: "lullaby";
|
|
63
|
+
restless: "restless";
|
|
64
|
+
lonely: "lonely";
|
|
65
|
+
celebration: "celebration";
|
|
66
|
+
chaseScene: "chaseScene";
|
|
67
|
+
battleTheme: "battleTheme";
|
|
68
|
+
creditsRoll: "creditsRoll";
|
|
69
|
+
marketScene: "marketScene";
|
|
70
|
+
sunriseScene: "sunriseScene";
|
|
71
|
+
ceremonyProcession: "ceremonyProcession";
|
|
72
|
+
twelveBarShuffle: "twelveBarShuffle";
|
|
73
|
+
improvisedSolo: "improvisedSolo";
|
|
74
|
+
fiddleAnswers: "fiddleAnswers";
|
|
75
|
+
organStabs: "organStabs";
|
|
76
|
+
brassStabs: "brassStabs";
|
|
77
|
+
pedalDrone: "pedalDrone";
|
|
78
|
+
palmMutedRiff: "palmMutedRiff";
|
|
79
|
+
threeChordRush: "threeChordRush";
|
|
80
|
+
}>>;
|
|
81
|
+
}, z.core.$strip>;
|
|
82
|
+
export type ScorePresetsResponse = z.infer<typeof scorePresetsResponseSchema>;
|
|
83
|
+
//# sourceMappingURL=score-presets.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"score-presets.d.ts","sourceRoot":"","sources":["../../../src/domain/generation/score-presets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,iBAAiB,qrBAmDpB,CAAC;AAEX,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEhE,yDAAyD;AACzD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,cAAc,CAEvE;AAED;;;;;GAKG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAErC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* The briefs a reader can start a generation from, as ids rather than as text.
|
|
4
|
+
*
|
|
5
|
+
* Which briefs suit which genre is **product data the server owns** — it is
|
|
6
|
+
* served by `GET /public/presets` so it can be retuned without shipping an app,
|
|
7
|
+
* and so two apps offering "the presets for reggae" cannot offer different
|
|
8
|
+
* ones. The *words* stay with the hosts, which is the same division
|
|
9
|
+
* `MusicXmlWarnings` uses and the reason a Chinese reader gets Chinese: a
|
|
10
|
+
* library that held the copy would hold it in one language.
|
|
11
|
+
*
|
|
12
|
+
* The vocabulary itself lives here rather than on the server because both ends
|
|
13
|
+
* need it. The server must not serve a brief no app can name, and each app must
|
|
14
|
+
* be able to prove — offline, in a test — that it has words for every brief it
|
|
15
|
+
* could ever be sent. A list only the server had would make the second
|
|
16
|
+
* impossible, which is exactly how a menu comes to print `openingTitle` at a
|
|
17
|
+
* reader.
|
|
18
|
+
*
|
|
19
|
+
* A brief names a subject and a shape, never a genre: `style` already travels
|
|
20
|
+
* as its own expanded phrase, so a preset that said "reggae" would say it twice
|
|
21
|
+
* and would be wrong the moment it were served under another style. That is
|
|
22
|
+
* what lets one brief be assigned to several genres.
|
|
23
|
+
*/
|
|
24
|
+
export const SCORE_PRESET_KEYS = [
|
|
25
|
+
// Shape and craft
|
|
26
|
+
"gentleMelody",
|
|
27
|
+
"simpleBeginner",
|
|
28
|
+
"openingTitle",
|
|
29
|
+
"slowBuild",
|
|
30
|
+
"loopableLoop",
|
|
31
|
+
"callAndResponse",
|
|
32
|
+
"quietEnding",
|
|
33
|
+
"singleHook",
|
|
34
|
+
// Songs
|
|
35
|
+
"verseChorus",
|
|
36
|
+
"loveSong",
|
|
37
|
+
"leavingHome",
|
|
38
|
+
"lateNightDrive",
|
|
39
|
+
"breakupSong",
|
|
40
|
+
"crowdSinger",
|
|
41
|
+
"rainyWindow",
|
|
42
|
+
"summerDay",
|
|
43
|
+
// Groove
|
|
44
|
+
"walkingBass",
|
|
45
|
+
"lockedGroove",
|
|
46
|
+
"handclapBackbeat",
|
|
47
|
+
"halfTimeDrop",
|
|
48
|
+
"drivingEighths",
|
|
49
|
+
"syncopatedRiff",
|
|
50
|
+
// Character
|
|
51
|
+
"triumphant",
|
|
52
|
+
"menacing",
|
|
53
|
+
"bittersweet",
|
|
54
|
+
"playfulDance",
|
|
55
|
+
"lullaby",
|
|
56
|
+
"restless",
|
|
57
|
+
"lonely",
|
|
58
|
+
"celebration",
|
|
59
|
+
// Scenes
|
|
60
|
+
"chaseScene",
|
|
61
|
+
"battleTheme",
|
|
62
|
+
"creditsRoll",
|
|
63
|
+
"marketScene",
|
|
64
|
+
"sunriseScene",
|
|
65
|
+
"ceremonyProcession",
|
|
66
|
+
// Idioms a genre owns
|
|
67
|
+
"twelveBarShuffle",
|
|
68
|
+
"improvisedSolo",
|
|
69
|
+
"fiddleAnswers",
|
|
70
|
+
"organStabs",
|
|
71
|
+
"brassStabs",
|
|
72
|
+
"pedalDrone",
|
|
73
|
+
"palmMutedRiff",
|
|
74
|
+
"threeChordRush",
|
|
75
|
+
];
|
|
76
|
+
/** Whether a string is a brief this vocabulary knows. */
|
|
77
|
+
export function isScorePresetKey(value) {
|
|
78
|
+
return SCORE_PRESET_KEYS.includes(value);
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* What `GET /public/presets` answers.
|
|
82
|
+
*
|
|
83
|
+
* An object rather than a bare array, so the response can gain a field without
|
|
84
|
+
* every client having to be changed on the same day.
|
|
85
|
+
*/
|
|
86
|
+
export const scorePresetsResponseSchema = z.object({
|
|
87
|
+
presets: z.array(z.enum(SCORE_PRESET_KEYS)),
|
|
88
|
+
});
|
|
89
|
+
//# sourceMappingURL=score-presets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"score-presets.js","sourceRoot":"","sources":["../../../src/domain/generation/score-presets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,kBAAkB;IAClB,cAAc;IACd,gBAAgB;IAChB,cAAc;IACd,WAAW;IACX,cAAc;IACd,iBAAiB;IACjB,aAAa;IACb,YAAY;IACZ,QAAQ;IACR,aAAa;IACb,UAAU;IACV,aAAa;IACb,gBAAgB;IAChB,aAAa;IACb,aAAa;IACb,aAAa;IACb,WAAW;IACX,SAAS;IACT,aAAa;IACb,cAAc;IACd,kBAAkB;IAClB,cAAc;IACd,gBAAgB;IAChB,gBAAgB;IAChB,YAAY;IACZ,YAAY;IACZ,UAAU;IACV,aAAa;IACb,cAAc;IACd,SAAS;IACT,UAAU;IACV,QAAQ;IACR,aAAa;IACb,SAAS;IACT,YAAY;IACZ,aAAa;IACb,aAAa;IACb,aAAa;IACb,cAAc;IACd,oBAAoB;IACpB,sBAAsB;IACtB,kBAAkB;IAClB,gBAAgB;IAChB,eAAe;IACf,YAAY;IACZ,YAAY;IACZ,YAAY;IACZ,eAAe;IACf,gBAAgB;CACR,CAAC;AAIX,yDAAyD;AACzD,MAAM,UAAU,gBAAgB,CAAC,KAAa;IAC5C,OAAQ,iBAAuC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AAClE,CAAC;AAED;;;;;GAKG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;CAC5C,CAAC,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -77,6 +77,7 @@ export * from "./domain/instruments/gm-transposition.js";
|
|
|
77
77
|
export * from "./domain/instruments/gm-percussion.js";
|
|
78
78
|
export * from "./domain/generation/style-presets.js";
|
|
79
79
|
export * from "./domain/generation/option-order.js";
|
|
80
|
+
export * from "./domain/generation/score-presets.js";
|
|
80
81
|
export * from "./domain/selection/selection.js";
|
|
81
82
|
export * from "./services/regeneration/controller.js";
|
|
82
83
|
export * from "./domain/commands/history.js";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AASH,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc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CAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,oCAAoC,CAAC;AACnD,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AACxD,cAAc,mCAAmC,CAAC;AAClD,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC;;;GAGG;AACH,cAAc,wCAAwC,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -99,6 +99,7 @@ export * from "./domain/instruments/gm-transposition.js";
|
|
|
99
99
|
export * from "./domain/instruments/gm-percussion.js";
|
|
100
100
|
export * from "./domain/generation/style-presets.js";
|
|
101
101
|
export * from "./domain/generation/option-order.js";
|
|
102
|
+
export * from "./domain/generation/score-presets.js";
|
|
102
103
|
export * from "./domain/selection/selection.js";
|
|
103
104
|
export * from "./services/regeneration/controller.js";
|
|
104
105
|
// Absorbed from music_lib: pure, synchronous, dependency-free model code
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,8EAA8E;AAC9E,+CAA+C;AAC/C,EAAE;AACF,8EAA8E;AAC9E,sEAAsE;AACtE,iEAAiE;AACjE,8EAA8E;AAC9E,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAE5C,8EAA8E;AAC9E,yEAAyE;AACzE,8EAA8E;AAC9E,8EAA8E;AAC9E,2EAA2E;AAC3E,8EAA8E;AAC9E,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AAEjC,cAAc,oBAAoB,CAAC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AAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kCAAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,iCAAiC,CAAC;AAChD,cAAc,wCAAwC,CAAC;AACvD,cAAc,mCAAmC,CAAC;AAClD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,oCAAoC,CAAC;AACnD,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AACxD,cAAc,mCAAmC,CAAC;AAClD,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC;;;GAGG;AACH,cAAc,wCAAwC,CAAC"}
|
|
@@ -31,7 +31,7 @@ export type GenerateScoreRequestTrack = {
|
|
|
31
31
|
* brief can be run through two backends and compared by ear, which became worth
|
|
32
32
|
* doing once the provider was a configuration change rather than a code change.
|
|
33
33
|
*/
|
|
34
|
-
export declare const GENERATION_VARIANTS: readonly ["default", "deepseek", "
|
|
34
|
+
export declare const GENERATION_VARIANTS: readonly ["default", "deepseek", "local"];
|
|
35
35
|
export type GenerationVariant = (typeof GENERATION_VARIANTS)[number];
|
|
36
36
|
/**
|
|
37
37
|
* What to call each one in a picker.
|
|
@@ -93,6 +93,26 @@ export type GenerateScoreRequest = {
|
|
|
93
93
|
* for the two to disagree.
|
|
94
94
|
*/
|
|
95
95
|
lyrics?: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* What the words are about, when that is not simply what the piece is about.
|
|
98
|
+
*
|
|
99
|
+
* This field once did not exist on the grounds that `prompt` already says
|
|
100
|
+
* what the piece is, and a second subject line is a place for the two to
|
|
101
|
+
* disagree. What it missed is that they are genuinely different questions:
|
|
102
|
+
* "a slow waltz in D minor" describes the music, and the words over it can be
|
|
103
|
+
* about coming home without the music brief being about coming home.
|
|
104
|
+
*
|
|
105
|
+
* The disagreement is avoided by **replacing rather than adding**: the server
|
|
106
|
+
* has exactly one "the words are about" clause, and this fills it when it is
|
|
107
|
+
* present. Absent or blank, that clause falls back to `prompt` and the lyric
|
|
108
|
+
* is what it always was. `prompt` still reaches the model in its own right, so
|
|
109
|
+
* narrowing the words' subject never hides the piece's brief.
|
|
110
|
+
*
|
|
111
|
+
* Never sent without `lyrics`: `buildGenerateScoreRequest` drops it in the
|
|
112
|
+
* same breath it drops `lyrics` for a roster with nobody to sing, so a theme
|
|
113
|
+
* for a lyric that was not asked for cannot reach the wire.
|
|
114
|
+
*/
|
|
115
|
+
lyricsTheme?: string;
|
|
96
116
|
};
|
|
97
117
|
/** Never a rendered/notation payload and never raw MIDI: always a structured `Score`. */
|
|
98
118
|
export type GenerateScoreResult = {
|
|
@@ -526,6 +546,7 @@ export declare const generateScoreRequestSchema: z.ZodObject<{
|
|
|
526
546
|
}>>;
|
|
527
547
|
variant: z.ZodOptional<z.ZodString>;
|
|
528
548
|
lyrics: z.ZodOptional<z.ZodBoolean>;
|
|
549
|
+
lyricsTheme: z.ZodOptional<z.ZodString>;
|
|
529
550
|
}, z.core.$strip>;
|
|
530
551
|
export declare const generateScoreResultSchema: z.ZodObject<{
|
|
531
552
|
score: z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generation.d.ts","sourceRoot":"","sources":["../../src/model/generation.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,OAAO,KAAK,EACV,KAAK,EACL,aAAa,EACb,YAAY,EACZ,UAAU,EACV,aAAa,EACb,KAAK,EACL,IA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,wBAAgB,2BAA2B,CACzC,IAAI,EAAE,OAAO,GACZ,sBAAsB,CAExB;AAED,4GAA4G;AAC5G,wBAAgB,0BAA0B,CACxC,IAAI,EAAE,OAAO,GACZ,qBAAqB,CAEvB"}
|
package/dist/model/generation.js
CHANGED
|
@@ -20,12 +20,7 @@ import { clefSchema, keySignatureSchema, measureSchema, scoreSchema, timeSignatu
|
|
|
20
20
|
* brief can be run through two backends and compared by ear, which became worth
|
|
21
21
|
* doing once the provider was a configuration change rather than a code change.
|
|
22
22
|
*/
|
|
23
|
-
export const GENERATION_VARIANTS = [
|
|
24
|
-
"default",
|
|
25
|
-
"deepseek",
|
|
26
|
-
"weak",
|
|
27
|
-
"local",
|
|
28
|
-
];
|
|
23
|
+
export const GENERATION_VARIANTS = ["default", "deepseek", "local"];
|
|
29
24
|
/**
|
|
30
25
|
* What to call each one in a picker.
|
|
31
26
|
*
|
|
@@ -34,9 +29,15 @@ export const GENERATION_VARIANTS = [
|
|
|
34
29
|
* the old set.
|
|
35
30
|
*/
|
|
36
31
|
export const GENERATION_VARIANT_LABELS = {
|
|
37
|
-
|
|
32
|
+
/*
|
|
33
|
+
Named after the provider it reaches, not after its position in the list.
|
|
34
|
+
|
|
35
|
+
"Default" told a reader only that it was the one already selected, which is
|
|
36
|
+
a fact about the picker; what they are choosing between is which company's
|
|
37
|
+
model writes the music.
|
|
38
|
+
*/
|
|
39
|
+
default: "Open AI",
|
|
38
40
|
deepseek: "DeepSeek",
|
|
39
|
-
weak: "Cheap model",
|
|
40
41
|
/*
|
|
41
42
|
A model running on the machine, served by LM Studio through ShapeShyft.
|
|
42
43
|
|
|
@@ -102,6 +103,7 @@ export const generateScoreRequestSchema = z.object({
|
|
|
102
103
|
// than trusted: see `GenerateScoreRequest.variant`.
|
|
103
104
|
variant: z.string().optional(),
|
|
104
105
|
lyrics: z.boolean().optional(),
|
|
106
|
+
lyricsTheme: z.string().optional(),
|
|
105
107
|
});
|
|
106
108
|
export const generateScoreResultSchema = z.object({
|
|
107
109
|
score: scoreSchema,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generation.js","sourceRoot":"","sources":["../../src/model/generation.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,UAAU,EACV,kBAAkB,EAClB,aAAa,EACb,WAAW,EACX,mBAAmB,GACpB,MAAM,cAAc,CAAC;AAuBtB;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG
|
|
1
|
+
{"version":3,"file":"generation.js","sourceRoot":"","sources":["../../src/model/generation.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,UAAU,EACV,kBAAkB,EAClB,aAAa,EACb,WAAW,EACX,mBAAmB,GACpB,MAAM,cAAc,CAAC;AAuBtB;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,SAAS,EAAE,UAAU,EAAE,OAAO,CAAU,CAAC;AAG7E;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAsC;IAC1E;;;;;;MAME;IACF,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB;;;;;;MAME;IACF,KAAK,EAAE,mBAAmB;CAC3B,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,qBAAqB,CACnC,OAAU,EACV,OAA2B;IAE3B,OAAO,OAAO,IAAI,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC;AAC9E,CAAC;AAyKD,8EAA8E;AAC9E,8CAA8C;AAC9C,8EAA8E;AAE9E,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,UAAU,EAAE,CAAC,CAAC,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