DakPro

Week 7-8 (final)

It’s been fun working on this project! Thanks Josh and Anil for an opportunity to do that! I plan to spend some spare time on it during the term at least…

Main updates and info can be seen in repo (including its READMEs, which I try to keep updated according to the contents).

Testing commands recognition

Having a model that runs on rPi, I decided to test the concept of command recognition.

For simplest setup I’ll use regex to match “start recording”/”stop recording” to control writing to a file.

This can be found in moonshine-enhanced directory, together with README.md. It worked out pretty well).

Moonshine_cpp

Another cpp implementation :). Unfortunately, the author of repository developed a actually working example only for Windows, so I’ve spend a some time diving into CMake(a splendid beautiful tool), writing some workaround, and finally rewriting live/file transcriptions.

When testing, I’ve also noticed that the implementation uses only 1 thread while still having RTF=0.56 on 15s audio. Python implementation uses 4 threads, but gives RTF=0.64, which is very strange…

Suprisingly, it took 80s to transcribe a 90s audio. Such inconsistency in RTF introduces a strong need in testing RTF on different audio segments.

Though file transcription works, the live transcription somewhy is inconsistent and should be given a look/reimplemented again.

TODOs/REDOs

Further development branches