We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a93b43 commit 5a3d22fCopy full SHA for 5a3d22f
tests/empathicVoice/chat.test.ts
@@ -1,4 +1,4 @@
1
-import { HumeClient, ffplay } from "../../src/";
+import { HumeClient } from "../../src/";
2
3
describe("Empathic Voice Interface", () => {
4
it.skip("Chat", async () => {
@@ -10,8 +10,7 @@ describe("Empathic Voice Interface", () => {
10
const socket = await hume.empathicVoice.chat.connect({
11
async onMessage(message): Promise<void> {
12
if (message.type === "audio_output") {
13
- const decoded = Buffer.from(message.data, "base64");
14
- await ffplay(decoded);
+ Buffer.from(message.data, "base64");
15
}
16
17
});
0 commit comments