@nodaro/sdk 1.1.1 → 1.1.2
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/dist/index.cjs +8 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -13
- package/dist/index.d.ts +14 -13
- package/dist/index.js +8 -7
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -3407,13 +3407,14 @@ declare class VoicesResource {
|
|
|
3407
3407
|
* Pass `audioUrl` for audio-only recast or `videoUrl` to recast the audio
|
|
3408
3408
|
* track of a video clip (the server demuxes, recasts, and remuxes).
|
|
3409
3409
|
*
|
|
3410
|
-
* Voice and music are ALWAYS separated first —
|
|
3411
|
-
* isolated vocal stem
|
|
3412
|
-
* `true`) only controls whether that
|
|
3413
|
-
* under the new voices; set it `false`
|
|
3414
|
-
* `separationQuality` selects the
|
|
3415
|
-
*
|
|
3416
|
-
*
|
|
3410
|
+
* Voice and music are ALWAYS separated first — before recasting, the source
|
|
3411
|
+
* is split into an isolated vocal stem and a music/SFX stem.
|
|
3412
|
+
* `preserveBackground` (default `true`) only controls whether that
|
|
3413
|
+
* music/instrumental stem is mixed back under the new voices; set it `false`
|
|
3414
|
+
* for a clean voice-only result. `separationQuality` selects the quality of
|
|
3415
|
+
* the voice/music separation: `"fast"` (default, quicker — preserves more of
|
|
3416
|
+
* the voice) or `"best"` (finer voice/music separation).
|
|
3417
|
+
* `removeBackgroundNoise` additionally denoises the result.
|
|
3417
3418
|
* `musicVolumeMode` sets the level of that preserved background (only relevant
|
|
3418
3419
|
* when `preserveBackground` is on): `"match"` (default) keeps the original
|
|
3419
3420
|
* level, `"normalize"` loudnorms it, `"manual"` uses `musicVolume`%.
|
|
@@ -3452,8 +3453,8 @@ type VoiceChangerProVoice = string | {
|
|
|
3452
3453
|
seed?: number;
|
|
3453
3454
|
/**
|
|
3454
3455
|
* Loudness handling for this recast voice. `"match"` (default) matches the
|
|
3455
|
-
* original speaker's loudness; `"normalize"` applies
|
|
3456
|
-
* `"manual"` uses `volume` as a percentage.
|
|
3456
|
+
* original speaker's loudness; `"normalize"` applies loudness
|
|
3457
|
+
* normalization; `"manual"` uses `volume` as a percentage.
|
|
3457
3458
|
*/
|
|
3458
3459
|
volumeMode?: "match" | "normalize" | "manual";
|
|
3459
3460
|
/** Manual output volume as a percentage (0–200). Consulted only when `volumeMode === "manual"`. */
|
|
@@ -3480,8 +3481,8 @@ interface VoiceChangerProInput {
|
|
|
3480
3481
|
*/
|
|
3481
3482
|
preserveBackground?: boolean;
|
|
3482
3483
|
/**
|
|
3483
|
-
*
|
|
3484
|
-
* preserves more of the voice) or `"best"` (
|
|
3484
|
+
* Quality of the voice/music separation. `"fast"` (default, quicker —
|
|
3485
|
+
* preserves more of the voice) or `"best"` (finer voice/music separation).
|
|
3485
3486
|
*/
|
|
3486
3487
|
separationQuality?: "fast" | "best";
|
|
3487
3488
|
/** Strip background noise for a clean voice-only result. */
|
|
@@ -3490,8 +3491,8 @@ interface VoiceChangerProInput {
|
|
|
3490
3491
|
* Level of the preserved background music / SFX stem in the final mix. Only
|
|
3491
3492
|
* relevant when `preserveBackground` is on (otherwise there is no background to
|
|
3492
3493
|
* level). `"match"` (default) leaves the separated instrumental at its original
|
|
3493
|
-
* level; `"normalize"` applies
|
|
3494
|
-
* `musicVolume`%.
|
|
3494
|
+
* level; `"normalize"` applies loudness normalization; `"manual"` sets its
|
|
3495
|
+
* level to `musicVolume`%.
|
|
3495
3496
|
*/
|
|
3496
3497
|
musicVolumeMode?: "match" | "normalize" | "manual";
|
|
3497
3498
|
/** Background music level as a percentage (0–200). Consulted only when `musicVolumeMode === "manual"`. */
|
package/dist/index.d.ts
CHANGED
|
@@ -3407,13 +3407,14 @@ declare class VoicesResource {
|
|
|
3407
3407
|
* Pass `audioUrl` for audio-only recast or `videoUrl` to recast the audio
|
|
3408
3408
|
* track of a video clip (the server demuxes, recasts, and remuxes).
|
|
3409
3409
|
*
|
|
3410
|
-
* Voice and music are ALWAYS separated first —
|
|
3411
|
-
* isolated vocal stem
|
|
3412
|
-
* `true`) only controls whether that
|
|
3413
|
-
* under the new voices; set it `false`
|
|
3414
|
-
* `separationQuality` selects the
|
|
3415
|
-
*
|
|
3416
|
-
*
|
|
3410
|
+
* Voice and music are ALWAYS separated first — before recasting, the source
|
|
3411
|
+
* is split into an isolated vocal stem and a music/SFX stem.
|
|
3412
|
+
* `preserveBackground` (default `true`) only controls whether that
|
|
3413
|
+
* music/instrumental stem is mixed back under the new voices; set it `false`
|
|
3414
|
+
* for a clean voice-only result. `separationQuality` selects the quality of
|
|
3415
|
+
* the voice/music separation: `"fast"` (default, quicker — preserves more of
|
|
3416
|
+
* the voice) or `"best"` (finer voice/music separation).
|
|
3417
|
+
* `removeBackgroundNoise` additionally denoises the result.
|
|
3417
3418
|
* `musicVolumeMode` sets the level of that preserved background (only relevant
|
|
3418
3419
|
* when `preserveBackground` is on): `"match"` (default) keeps the original
|
|
3419
3420
|
* level, `"normalize"` loudnorms it, `"manual"` uses `musicVolume`%.
|
|
@@ -3452,8 +3453,8 @@ type VoiceChangerProVoice = string | {
|
|
|
3452
3453
|
seed?: number;
|
|
3453
3454
|
/**
|
|
3454
3455
|
* Loudness handling for this recast voice. `"match"` (default) matches the
|
|
3455
|
-
* original speaker's loudness; `"normalize"` applies
|
|
3456
|
-
* `"manual"` uses `volume` as a percentage.
|
|
3456
|
+
* original speaker's loudness; `"normalize"` applies loudness
|
|
3457
|
+
* normalization; `"manual"` uses `volume` as a percentage.
|
|
3457
3458
|
*/
|
|
3458
3459
|
volumeMode?: "match" | "normalize" | "manual";
|
|
3459
3460
|
/** Manual output volume as a percentage (0–200). Consulted only when `volumeMode === "manual"`. */
|
|
@@ -3480,8 +3481,8 @@ interface VoiceChangerProInput {
|
|
|
3480
3481
|
*/
|
|
3481
3482
|
preserveBackground?: boolean;
|
|
3482
3483
|
/**
|
|
3483
|
-
*
|
|
3484
|
-
* preserves more of the voice) or `"best"` (
|
|
3484
|
+
* Quality of the voice/music separation. `"fast"` (default, quicker —
|
|
3485
|
+
* preserves more of the voice) or `"best"` (finer voice/music separation).
|
|
3485
3486
|
*/
|
|
3486
3487
|
separationQuality?: "fast" | "best";
|
|
3487
3488
|
/** Strip background noise for a clean voice-only result. */
|
|
@@ -3490,8 +3491,8 @@ interface VoiceChangerProInput {
|
|
|
3490
3491
|
* Level of the preserved background music / SFX stem in the final mix. Only
|
|
3491
3492
|
* relevant when `preserveBackground` is on (otherwise there is no background to
|
|
3492
3493
|
* level). `"match"` (default) leaves the separated instrumental at its original
|
|
3493
|
-
* level; `"normalize"` applies
|
|
3494
|
-
* `musicVolume`%.
|
|
3494
|
+
* level; `"normalize"` applies loudness normalization; `"manual"` sets its
|
|
3495
|
+
* level to `musicVolume`%.
|
|
3495
3496
|
*/
|
|
3496
3497
|
musicVolumeMode?: "match" | "normalize" | "manual";
|
|
3497
3498
|
/** Background music level as a percentage (0–200). Consulted only when `musicVolumeMode === "manual"`. */
|
package/dist/index.js
CHANGED
|
@@ -1527,13 +1527,14 @@ var VoicesResource = class {
|
|
|
1527
1527
|
* Pass `audioUrl` for audio-only recast or `videoUrl` to recast the audio
|
|
1528
1528
|
* track of a video clip (the server demuxes, recasts, and remuxes).
|
|
1529
1529
|
*
|
|
1530
|
-
* Voice and music are ALWAYS separated first —
|
|
1531
|
-
* isolated vocal stem
|
|
1532
|
-
* `true`) only controls whether that
|
|
1533
|
-
* under the new voices; set it `false`
|
|
1534
|
-
* `separationQuality` selects the
|
|
1535
|
-
*
|
|
1536
|
-
*
|
|
1530
|
+
* Voice and music are ALWAYS separated first — before recasting, the source
|
|
1531
|
+
* is split into an isolated vocal stem and a music/SFX stem.
|
|
1532
|
+
* `preserveBackground` (default `true`) only controls whether that
|
|
1533
|
+
* music/instrumental stem is mixed back under the new voices; set it `false`
|
|
1534
|
+
* for a clean voice-only result. `separationQuality` selects the quality of
|
|
1535
|
+
* the voice/music separation: `"fast"` (default, quicker — preserves more of
|
|
1536
|
+
* the voice) or `"best"` (finer voice/music separation).
|
|
1537
|
+
* `removeBackgroundNoise` additionally denoises the result.
|
|
1537
1538
|
* `musicVolumeMode` sets the level of that preserved background (only relevant
|
|
1538
1539
|
* when `preserveBackground` is on): `"match"` (default) keeps the original
|
|
1539
1540
|
* level, `"normalize"` loudnorms it, `"manual"` uses `musicVolume`%.
|