Open ppisljar opened 7 years ago
Could you:
let audioStream = fs.createReadStream(file)
)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);
@ppisljar were you ever able to make this work?
Unfortunately not
i am having problems making the streaming work ...
buffer examples seem to work ok