@pie-players/pie-section-player-tools-tts-settings 0.3.21 → 0.3.23
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/TtsSettingsPanel.svelte
CHANGED
|
@@ -1400,6 +1400,7 @@ function normalizePreviewSpeechMarkOffsets(
|
|
|
1400
1400
|
}
|
|
1401
1401
|
} finally {
|
|
1402
1402
|
if (runId === previewRunId) {
|
|
1403
|
+
clearPreviewTracking();
|
|
1403
1404
|
isPreviewing = false;
|
|
1404
1405
|
previewBackend = null;
|
|
1405
1406
|
}
|
|
@@ -1447,6 +1448,8 @@ function normalizePreviewSpeechMarkOffsets(
|
|
|
1447
1448
|
} else if (activeTab === "browser") {
|
|
1448
1449
|
const next = {
|
|
1449
1450
|
backend: "browser" as const,
|
|
1451
|
+
serverProvider: undefined,
|
|
1452
|
+
provider: undefined,
|
|
1450
1453
|
defaultVoice: resolveVoiceForBackend("browser"),
|
|
1451
1454
|
rate: normalizeRate(browserRate),
|
|
1452
1455
|
pitch: normalizePitch(browserPitch),
|
|
@@ -1460,6 +1463,8 @@ function normalizePreviewSpeechMarkOffsets(
|
|
|
1460
1463
|
} else if (activeTab === "polly") {
|
|
1461
1464
|
const next = {
|
|
1462
1465
|
backend: "polly" as const,
|
|
1466
|
+
serverProvider: "polly" as const,
|
|
1467
|
+
provider: "polly" as const,
|
|
1463
1468
|
apiEndpoint: normalizeApiEndpoint(pollyApiEndpoint, getDefaultApiEndpoint()),
|
|
1464
1469
|
transportMode: "pie" as const,
|
|
1465
1470
|
endpointMode: "synthesizePath" as const,
|
|
@@ -1486,6 +1491,8 @@ function normalizePreviewSpeechMarkOffsets(
|
|
|
1486
1491
|
} else {
|
|
1487
1492
|
const next = {
|
|
1488
1493
|
backend: "google" as const,
|
|
1494
|
+
serverProvider: "google" as const,
|
|
1495
|
+
provider: "google" as const,
|
|
1489
1496
|
apiEndpoint: normalizeApiEndpoint(googleApiEndpoint, getDefaultApiEndpoint()),
|
|
1490
1497
|
transportMode: "pie" as const,
|
|
1491
1498
|
endpointMode: "synthesizePath" as const,
|