@qvac/sdk 0.13.0 → 0.13.1
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.
|
@@ -19,7 +19,7 @@ export async function decodeAudioToStream(inputPath, audioFormat = "s16le") {
|
|
|
19
19
|
try {
|
|
20
20
|
await decoder.load();
|
|
21
21
|
const audioStream = fs.createReadStream(inputPath);
|
|
22
|
-
const response =
|
|
22
|
+
const response = decoder.run(audioStream);
|
|
23
23
|
const outputStream = new Readable({
|
|
24
24
|
read() { },
|
|
25
25
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qvac/sdk",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
"dependencies": {
|
|
209
209
|
"@qvac/bci-whispercpp": "^0.2.0",
|
|
210
210
|
"@qvac/classification-ggml": "^0.3.1",
|
|
211
|
-
"@qvac/decoder-audio": "^0.
|
|
211
|
+
"@qvac/decoder-audio": "^0.4.0",
|
|
212
212
|
"@qvac/diffusion-cpp": "^0.11.2",
|
|
213
213
|
"@qvac/embed-llamacpp": "^0.19.1",
|
|
214
214
|
"@qvac/error": "^0.1.1",
|
|
@@ -225,7 +225,7 @@
|
|
|
225
225
|
"@qvac/vla-ggml": "^0.3.2",
|
|
226
226
|
"bare-abort-controller": "^1.0.0",
|
|
227
227
|
"bare-crypto": "^1.15.0",
|
|
228
|
-
"bare-fetch": "^
|
|
228
|
+
"bare-fetch": "^3.0.1",
|
|
229
229
|
"bare-fs": "^4.5.1",
|
|
230
230
|
"bare-net": "^2.3.2",
|
|
231
231
|
"bare-os": "^3.6.2",
|
|
@@ -257,7 +257,7 @@
|
|
|
257
257
|
"@types/semver": "^7.7.1",
|
|
258
258
|
"@types/tar-stream": "^3.1.4",
|
|
259
259
|
"bare-readline": "^1.2.0",
|
|
260
|
-
"bare-subprocess": "^
|
|
260
|
+
"bare-subprocess": "^6.1.0",
|
|
261
261
|
"bare-url": "^2.4.3",
|
|
262
262
|
"brittle": "^4.0.0",
|
|
263
263
|
"chromadb": "^3.0.14",
|