endoplasmic / google-assistant

A node.js implementation of the Google Assistant SDK
MIT License
283 stars 75 forks source link

broadcast audio file #67

Closed mduzgun closed 3 years ago

mduzgun commented 5 years ago

I want to send audio file to my physical google home mini device, so I try to use broadcast feature. When I give audio data, if there is silence in audio data, I don't send audio after silence. Only starting part can be sent. I want to send whole sound. How to configure silence timeout for audio command? Or is there another way?

endoplasmic commented 5 years ago

The silence would have to be pretty long I'm guessing. The Automatic Speech Recognition (ASR) determines when there is enough silence to assume the query is over.

I don't have any insight into that, but I don't think there is a way to ignore silence when making a request.