utilitas 1995.0.16 → 1995.0.18
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/README.md +5 -1
- package/dist/utilitas.lite.mjs +1 -1
- package/dist/utilitas.lite.mjs.map +1 -1
- package/lib/bot.mjs +13 -13
- package/lib/manifest.mjs +2 -1
- package/lib/media.mjs +28 -11
- package/lib/speech.mjs +58 -18
- package/lib/storage.mjs +12 -4
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -194,7 +194,8 @@ Works in Node.js and modern browsers.
|
|
|
194
194
|
| symbol | type | params / value |
|
|
195
195
|
| :--- | :--- | :--- |
|
|
196
196
|
| _NEED | Array | fluent-ffmpeg,@ffmpeg-installer/ffmpeg,@ffprobe-installer/ffprobe |
|
|
197
|
-
|
|
|
197
|
+
| convertAudioTo16kNanoOpusOgg | Function | input, options |
|
|
198
|
+
| convertAudioTo16kNanoPcmWave | Function | input, options |
|
|
198
199
|
| getFfmpeg | AsyncFunction | options |
|
|
199
200
|
|
|
200
201
|
### [memory](./lib/memory.mjs)
|
|
@@ -275,6 +276,8 @@ Works in Node.js and modern browsers.
|
|
|
275
276
|
| sttGoogle | AsyncFunction | audio, options |
|
|
276
277
|
| sttWhisper | AsyncFunction | audio, options |
|
|
277
278
|
| tts | AsyncFunction | text, options |
|
|
279
|
+
| ttsGoogle | AsyncFunction | text, options |
|
|
280
|
+
| ttsSay | AsyncFunction | text, options |
|
|
278
281
|
|
|
279
282
|
### [ssl](./lib/ssl.mjs)
|
|
280
283
|
|
|
@@ -307,6 +310,7 @@ Works in Node.js and modern browsers.
|
|
|
307
310
|
| readJson | AsyncFunction | filename, options |
|
|
308
311
|
| setConfig | AsyncFunction | data, options |
|
|
309
312
|
| touchPath | AsyncFunction | path, options |
|
|
313
|
+
| tryRm | AsyncFunction | path, options |
|
|
310
314
|
| writeFile | AsyncFunction | filename, data, options |
|
|
311
315
|
| writeJson | AsyncFunction | filename, data, options |
|
|
312
316
|
| writeTempFile | AsyncFunction | data, options |
|