@neosapience/typecast-js 0.1.5 → 0.1.6
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/LICENSE +1 -1
- package/README.md +1 -1
- package/lib/index.d.cts +9 -1
- package/lib/index.d.ts +9 -1
- package/package.json +4 -3
package/LICENSE
CHANGED
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
|
|
176
176
|
END OF TERMS AND CONDITIONS
|
|
177
177
|
|
|
178
|
-
Copyright 2025 Neosapience Inc.
|
|
178
|
+
Copyright 2025 Neosapience, Inc.
|
|
179
179
|
|
|
180
180
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
181
181
|
you may not use this file except in compliance with the License.
|
package/README.md
CHANGED
package/lib/index.d.cts
CHANGED
|
@@ -95,12 +95,20 @@ type TTSPrompt = Prompt | PresetPrompt | SmartPrompt;
|
|
|
95
95
|
*/
|
|
96
96
|
interface Output {
|
|
97
97
|
/**
|
|
98
|
-
*
|
|
98
|
+
* Relative volume scaling of the output audio.
|
|
99
|
+
* Cannot be used simultaneously with target_lufs.
|
|
99
100
|
* @min 0
|
|
100
101
|
* @max 200
|
|
101
102
|
* @default 100
|
|
102
103
|
*/
|
|
103
104
|
volume?: number;
|
|
105
|
+
/**
|
|
106
|
+
* Target loudness in LUFS for absolute loudness normalization.
|
|
107
|
+
* Cannot be used simultaneously with volume.
|
|
108
|
+
* @min -70
|
|
109
|
+
* @max 0
|
|
110
|
+
*/
|
|
111
|
+
target_lufs?: number;
|
|
104
112
|
/**
|
|
105
113
|
* Audio pitch adjustment in semitones
|
|
106
114
|
* @min -12
|
package/lib/index.d.ts
CHANGED
|
@@ -95,12 +95,20 @@ type TTSPrompt = Prompt | PresetPrompt | SmartPrompt;
|
|
|
95
95
|
*/
|
|
96
96
|
interface Output {
|
|
97
97
|
/**
|
|
98
|
-
*
|
|
98
|
+
* Relative volume scaling of the output audio.
|
|
99
|
+
* Cannot be used simultaneously with target_lufs.
|
|
99
100
|
* @min 0
|
|
100
101
|
* @max 200
|
|
101
102
|
* @default 100
|
|
102
103
|
*/
|
|
103
104
|
volume?: number;
|
|
105
|
+
/**
|
|
106
|
+
* Target loudness in LUFS for absolute loudness normalization.
|
|
107
|
+
* Cannot be used simultaneously with volume.
|
|
108
|
+
* @min -70
|
|
109
|
+
* @max 0
|
|
110
|
+
*/
|
|
111
|
+
target_lufs?: number;
|
|
104
112
|
/**
|
|
105
113
|
* Audio pitch adjustment in semitones
|
|
106
114
|
* @min -12
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neosapience/typecast-js",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./lib/index.cjs",
|
|
6
6
|
"module": "./lib/index.js",
|
|
@@ -48,11 +48,12 @@
|
|
|
48
48
|
"description": "The official Node.js library for the Typecast API. Text-to-Speech with AI voices. TypeScript support included.",
|
|
49
49
|
"repository": {
|
|
50
50
|
"type": "git",
|
|
51
|
-
"url": "git+https://github.com/neosapience/typecast-
|
|
51
|
+
"url": "git+https://github.com/neosapience/typecast-sdk.git",
|
|
52
|
+
"directory": "typecast-js"
|
|
52
53
|
},
|
|
53
54
|
"homepage": "https://typecast.ai",
|
|
54
55
|
"bugs": {
|
|
55
|
-
"url": "https://github.com/neosapience/typecast-
|
|
56
|
+
"url": "https://github.com/neosapience/typecast-sdk/issues"
|
|
56
57
|
},
|
|
57
58
|
"publishConfig": {
|
|
58
59
|
"registry": "https://registry.npmjs.org/",
|