@adminforth/agent 1.43.15 → 1.43.16
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/build.log
CHANGED
|
@@ -60,5 +60,5 @@ custom/speech_recognition_frontend/voiceActivityDetection.ts
|
|
|
60
60
|
custom/speech_recognition_frontend/types/
|
|
61
61
|
custom/speech_recognition_frontend/types/voice-activity-detection.d.ts
|
|
62
62
|
|
|
63
|
-
sent 1,665,
|
|
64
|
-
total size is 1,661,
|
|
63
|
+
sent 1,665,569 bytes received 883 bytes 3,332,904.00 bytes/sec
|
|
64
|
+
total size is 1,661,554 speedup is 1.00
|
|
@@ -40,9 +40,10 @@ export async function unlockAudio() {
|
|
|
40
40
|
|
|
41
41
|
export async function startStandByAudio() {
|
|
42
42
|
console.log('Starting standby audio');
|
|
43
|
-
const
|
|
44
|
-
|
|
45
|
-
);
|
|
43
|
+
const filePath = 'plugins/AdminForthAgentPlugin/agentAudio/agent-processing.mp3';
|
|
44
|
+
const fileUrl = await loadFile(filePath);
|
|
45
|
+
console.log('Standby audio file URL:', fileUrl);
|
|
46
|
+
const response = await fetch(fileUrl);
|
|
46
47
|
console.log('Standby audio file loaded:, response:', response);
|
|
47
48
|
const arrayBuffer = await response.arrayBuffer();
|
|
48
49
|
const audioBuffer = await ctx.decodeAudioData(arrayBuffer);
|
|
@@ -40,9 +40,10 @@ export async function unlockAudio() {
|
|
|
40
40
|
|
|
41
41
|
export async function startStandByAudio() {
|
|
42
42
|
console.log('Starting standby audio');
|
|
43
|
-
const
|
|
44
|
-
|
|
45
|
-
);
|
|
43
|
+
const filePath = 'plugins/AdminForthAgentPlugin/agentAudio/agent-processing.mp3';
|
|
44
|
+
const fileUrl = await loadFile(filePath);
|
|
45
|
+
console.log('Standby audio file URL:', fileUrl);
|
|
46
|
+
const response = await fetch(fileUrl);
|
|
46
47
|
console.log('Standby audio file loaded:, response:', response);
|
|
47
48
|
const arrayBuffer = await response.arrayBuffer();
|
|
48
49
|
const audioBuffer = await ctx.decodeAudioData(arrayBuffer);
|