davidfoerster/KaleidOK-examples

Audio analysis is incompatible with speech transcription

Closed this issue · 1 comments

Due to limitations of the libraries (TarsosDSP and Speech-to-Text) performing these two tasks, they currently cannot be performed simultaneously.

A simple solution to this, is the implementation of the speech transcription (service) as an AudioSource instance. Because of STT's architecture, this will very likely require a rewrite, though I expect to retain the large majority of its crucial code fragments. Unfortunately the author has not released the source code of the current version of STT. If he doesn't react positively to our request, a rewrite, even though more tedious, based on earlier source code and decompiled Java byte code should be possible.

Fixed in 6d715d5 through a complete overhaul of STT, making it an instance of TarsosDSP's AudioProcessor. It also required a small fix in javaFlacEncoder.