Using PulseAudio's echo cancellation for a voice assistant

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,

I'm the developer of Almond (https://almond.stanford.edu), an open-
source voice assistant, that is, an application that listens for
commands from the user in voice (continuously until a specific word is
heard) and then executes actions and replies.

Our assistant makes use of PulseAudio for audio frontend processing. I
have enabled echo cancellation by setting "filter.want=echo-cancel" on
both the record and playback streams, and the echo cancellation modules
seem to load correctly, but it seems that echo cancellation is only
performed between those two streams. Music or other audio that is not
assistant speech will not be echo cancelled.

For the voice assistant use case, we would like to echo cancel against
all outputs currently playing from the speaker where we're recording
audio, so we have the clearest input from the user to convert to text.

Is it possible to implement that using PulseAudio? What would be the
best way to do so?

Thanks in advance for the kind reply, and best,

Giovanni

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux