sonus icon indicating copy to clipboard operation
sonus copied to clipboard

Can you pipe audio data to this (with node.js)

Open Tylertron1998 opened this issue 5 years ago • 3 comments

Hi there,

Been looking at this, very interested. However, after looking over the docs, is it possible to pipe raw audio data to this package, and then use that to translate to text?

Thanks

Tylertron1998 avatar Jul 07 '18 19:07 Tylertron1998

Not out of the box... I'm wanting to support this in the next version, but I'm currently traveling and am waiting to do a refactor once I return.
I'm curious about your use case. Can you describe what you trying to accomplish? If you're just trying to transcribe audio then you may want to just use Google Cloud Speech on it's own. If your piping audio data, where is it coming from and why do you want to pipe it?

evancohen avatar Jul 08 '18 17:07 evancohen

The usecase I'm looking for is for an application called Discord. Not sure if you have heard of it; but it is essentially a IRC chat app with voice and text channels. They have a "bot" API, allowing you to interact via bot accounts, which are controlled via code - I am making a music bot, and was thinking voice commands would be very cool - I chose this package as it seems to be the best way of realtime, local voice-to-text.

Tylertron1998 avatar Jul 10 '18 17:07 Tylertron1998

Any news?

karyeet avatar Jun 16 '20 01:06 karyeet