Giorgio Robino

Results 63 comments of Giorgio Robino

Hi Jessica > I was thinking I could just throw more CPU cores at it, but it appears that the recogniser is limited to a single thread, or am I...

I believe it can't work. The problem is that nodejs worker threads allow `workerData` data sharing just by-value (see links reference in my initial post). Functions (passing by-reference) are not...

I’m afraid that’s not possible in NodeJs; you can't convert a `Function` (reference address) to a `Buffer` (the long int address you are refering to) :(

- model object from int I see your point, nevertheless I'm perplexed because, as far as i know, each nodejs worker thread has a completely separated/isolated address space, so i'm...

Thanks for sharing: > https://github.com/alphacep/vosk-api/blob/master/nodejs/demo/demo_async.js In your demo, you are running multiple (4) async runs of the `Recognizer` tasks. My notes: 1. In my simple module [VoskJs](https://github.com/solyarisoftware/voskJs) I already did...

Ah! I had not noticed. This changes/solves the point ! Let me do some tests :)

Hi Nicolay Doing some tests, It first glance seems to me that `acceptWaveformAsync` works great to set up a multithread server architecture in nodejs! I made, as part of my...

Related to https://github.com/alphacep/vosk-api/issues/516 maybe also depending on https://github.com/node-ffi-napi/ref-napi/issues/54

> If the keyword is `potato` and the speaker says `there is a potato on the table` the recognizer will detect `potato`, but only after the speaker finishes the whole...

please take open the issue