Hello, I have been working on designs for two different projects, where both of them would need to use the IBM Watson streaming ASR service. Based on our discussion at AstriDevCon, I know there is currently no support for that. However, there may be some workarounds I am not aware of. Would it be possible to write out the audio frames as they get recorded? Watson supports 16 bit signed little endian audio, IIRC, but there are a few other raw formats available. The goal is to eventually fund the development of a small module to get something a bit better working, but for now I would be happy with a solution I can build a prototype on. Thanks to everybody! Luca -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20161017/62275dc7/attachment.html>
> On 17/10/2016, at 3:43 PM, Luca Pradovera <luca.pradovera at gmail.com> wrote: > > I have been working on designs for two different projects, where both of them would need to use the IBM Watson streaming ASR service. > > Would it be possible to write out the audio frames as they get recorded? Watson supports 16 bit signed little endian audio, IIRC, but there are a few other raw formats available.That's the main problem I was discussing at AstriDevCon. There's no way currently to stream the frames to a service. At the moment I'm saving to a file and then sending that file once recording has finished. -- Cheers, Matt Riddell _______________________________________________ http://www.venturevoip.com/news.php (Daily Asterisk News) http://www.venturevoip.com/pabx_on_disk.php (PABX on a Disk) http://www.venturevoip.com/exchange.php (Full ITSP Solution) http://www.venturevoip.com/cc.php (Call Centre Solutions) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20161017/ce2279b0/attachment.html>
Matt Riddell wrote:> >> On 17/10/2016, at 3:43 PM, Luca Pradovera <luca.pradovera at gmail.com >> <mailto:luca.pradovera at gmail.com>> wrote: >> >> I have been working on designs for two different projects, where both >> of them would need to use the IBM Watson streaming ASR service. >> >> Would it be possible to write out the audio frames as they get >> recorded? Watson supports 16 bit signed little endian audio, IIRC, but >> there are a few other raw formats available. > > That's the main problem I was discussing at AstriDevCon. There's no way > currently to stream the frames to a service. > > At the moment I'm saving to a file and then sending that file once > recording has finished.The UnicastRTP channel driver allows you to send RTP to a specific target address with media. Combined with Chanspy (or Snoop channels in ARI) you can duplicate audio from a channel and send it off to where you want. -- Joshua Colp Digium, Inc. | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org