!KOGBGqVOBKJjKLgFUY:matrix.org

Caster

23 Members
Caster is a collection of tools aimed at enabling programming and accessibility entirely by voice built upon the Dragonfly API.20 Servers

Load older messages


SenderMessageTime
3 Dec 2020
@gitter_ileben:matrix.org@gitter_ileben:matrix.orgseems like integrated Realtek Audio12:03:31
@gitter_ileben:matrix.org@gitter_ileben:matrix.org it's an enterprise Dell workstation 12:03:59
@gitter_lexiconcode:matrix.org@gitter_lexiconcode:matrix.org Then that shouldn't be a problem. There's been issues with No good block received with Bluetooth devices. I'll see if I can do some digging. Meantime it might be best to open up an issue on kaldi-active-grammar and we will keep track of it there. 12:04:56
@gitter_ileben:matrix.org@gitter_ileben:matrix.org I did copy-pasta my several months old checkout of caster though from the other PC ^__^''' 12:05:56
@gitter_ileben:matrix.org@gitter_ileben:matrix.orghmm, now connected my Scarlett 2i2 audio interface, same error12:06:35
@gitter_ileben:matrix.org@gitter_ileben:matrix.orgaargh... I probably did some extra hacks on my installed python libs on the old machine to make it work which I forgot to note :(12:08:13
@gitter_lexiconcode:matrix.org@gitter_lexiconcode:matrix.org That shouldn't make a difference with Caster. Caster has very little code that specific to kaldi. Sounddevice Is the audio library that is used by kaldi 12:08:16
@gitter_lexiconcode:matrix.org@gitter_lexiconcode:matrix.orgHowever good news, you can use Python 3 64-bit with kaldi. The latest version of caster also has the sleep mic functionality built in with some new commands.12:09:07
@gitter_lexiconcode:matrix.org@gitter_lexiconcode:matrix.org (edited) ... Python 3 64-bit ... => ... Python 3.8 64-bit ... 12:09:22
@gitter_ileben:matrix.org@gitter_ileben:matrix.org yeah im just a bit wary of opening up issues when I'm using dependencies from caster/requirements.txt from months ago.... most of those libs are probably updated by now 12:09:40
@gitter_ileben:matrix.org@gitter_ileben:matrix.orgmight try copying in latest requirements.txt and fire install again12:10:23
@gitter_lexiconcode:matrix.org@gitter_lexiconcode:matrix.org Sure let's try few of the things 1st on. However caster/requirements.txt don't touch outside of dragonfly anything related to kaldi 12:10:24
@gitter_lexiconcode:matrix.org@gitter_lexiconcode:matrix.org The most important upgrade would be dragonfly python -m pip install dragonfly2[kaldi] --upgrade 12:11:55
@gitter_lexiconcode:matrix.org@gitter_lexiconcode:matrix.org Then grab the latest model from https://github.com/daanzu/kaldi-active-grammar/releases 12:13:23
@gitter_lexiconcode:matrix.org@gitter_lexiconcode:matrix.org If you want, I have some time today I can look at the issue firsthand through team viewer or something of the sort @ileben 12:17:33
@gitter_ileben:matrix.org@gitter_ileben:matrix.org I've ran the dragonfly2[kaldi] update (no changes, all up-to-date), and got the latest model. Same error 12:20:31
@gitter_lexiconcode:matrix.org@gitter_lexiconcode:matrix.org Yeah definitely an issue with the library. The only other option is to try with Python 3 fortunately you knew this fairly easily. Here's a semi-isolated Python install ready to go. Simply unzip and click the corresponding bat file. There is a readme but remember to delete settings folder when switching back and forth between this and your Caster primary setup.
https://1drv.ms/u/s!AqKunkpvdtcSgzGAx0cppWGdsKeA?e=zwXPRq
12:21:57
@gitter_ileben:matrix.org@gitter_ileben:matrix.org It's getting late here so I have to go. Might have to look into this tomorrow. I have a sneaky feeling I fixed this in the past on the old PC somehow, but I really can't remember.... Thanks for the help. 12:22:07
@gitter_lexiconcode:matrix.org@gitter_lexiconcode:matrix.org (edited) ... you knew this fairly ... => ... you do thisthis fairly ... 12:22:08
@gitter_lexiconcode:matrix.org@gitter_lexiconcode:matrix.org (edited) ... do thisthis fairly ... => ... do tthis fairly ... 12:22:28
@gitter_ileben:matrix.org@gitter_ileben:matrix.orgyeah last time I reported a sounddevice bug + fix I was told it would be included in the next update, but that the next update would only be available for Python 3...12:23:00
@gitter_ileben:matrix.org@gitter_ileben:matrix.orgmight give that a try to I can switch to all the latest dependencies... However, I also remember hearing about some yet unresolved issues with kaldi and Python 3 so not sure how well that will go.12:23:59
@gitter_lexiconcode:matrix.org@gitter_lexiconcode:matrix.org Well get some rest! Perhaps @daanzu has some insights when he has a moment. 12:27:13
@gitter_ileben:matrix.org@gitter_ileben:matrix.org For what it's worth, I've filed this daanzu/kaldi-active-grammar#41 12:46:19
@gitter_lexiconcode:matrix.org@gitter_lexiconcode:matrix.org

FYI you can modify the bat python -m dragonfly load-directory . --engine kaldi --engine-options "model_dir=kaldi_model, vad_padding_end_ms=300, audio_auto_reconnect=False"

List of kaldi list of parameters for engine configuration.

12:46:19
@gitter_lexiconcode:matrix.org@gitter_lexiconcode:matrix.orgThanks!12:46:38
@gitter_lexiconcode:matrix.org@gitter_lexiconcode:matrix.org (edited) Thanks! => FYI you can modify the bat `python -m dragonfly load-directory . --engine kaldi --engine-options "model_dir=kaldi_model, vad_padding_end_ms=300, audio_auto_reconnect=False"` List of kaldi [egine parameters](https://dragonfly2.readthedocs.io/en/latest/kaldi_engine.html#engine-configuration) for configuration. 12:48:33
@gitter_lexiconcode:matrix.org@gitter_lexiconcode:matrix.org (edited) ... kaldi [egine parameters](https://dragonfly2.readthedocs.io/en/latest/kaldi_engine.html#engine-configuration) ... => ... kaldi [engine parameters](https://dragonfly2.readthedocs.io/en/latest/kaldi_engine.html#engine-configuration) ... 12:48:46
@gitter_lexiconcode:matrix.org@gitter_lexiconcode:matrix.org @ileben You might try audio_self_threaded=False 12:50:11
@gitter_kendonb:matrix.org@gitter_kendonb:matrix.org @ileben try renaming your user folder to something else (i.e. backing it up and deleting it) and restarting caster 19:05:17

Show newer messages


Back to Room ListRoom Version: 1