palmerabollo / bingspeech-api-client

Microsoft Bing Speech API client in node.js
Other
32 stars 17 forks source link

streaming with microphone: nothing happens ? #16

Open ppisljar opened 7 years ago

ppisljar commented 7 years ago

i am having problems making the streaming work ...

buffer examples seem to work ok

palmerabollo commented 7 years ago

Could you:

ppisljar commented 7 years ago

i try to use it with microphone:

import { BingSpeechClient } from 'bingspeech-api-client';
const SpeechClient = new BingSpeechClient(subscriptionKey);

const record = require('node-record-lpcm16');
const audioStream = record.start();

SpeechClient.recognizeStream(audioStream).then(response => {
        console.log(response);
        });
    }, err => console.log);
akramhussein commented 6 years ago

@ppisljar were you ever able to make this work?

ppisljar commented 6 years ago

Unfortunately not