vosk-api icon indicating copy to clipboard operation
vosk-api copied to clipboard

Java - Are Mac M1 binaries available?

Open timmolter opened this issue 1 year ago • 3 comments

Where do the binaries that are packed in the vosk jar come from? And where can we get one that works with Mac M1?

Screenshot 2024-01-22 at 9 53 03 PM

timmolter avatar Jan 22 '24 20:01 timmolter

Binaries for libvosk are built in src folder.

https://repo1.maven.org/maven2/com/alphacephei/vosk/0.3.45/vosk-0.3.45.jar

has mac dylib inside. Not sure if it works, but probably it should.

For recent state of OSX build you can check https://github.com/alphacep/vosk-api/issues/1422

nshmyrev avatar Jan 22 '24 22:01 nshmyrev

Thanks for your quick response.

Yeah, I checked that jar already, and it only works for Intel-based Macs. I was hoping you could point me to the source code to build those binaries. If you share them, I can get it working for Mac M1 as well and then create a PR with the solution.

timmolter avatar Jan 23 '24 09:01 timmolter

https://alphacephei.com/vosk/install you can check this page and build binary from source. I had built binary in M1 Mac

YangangCao avatar Jan 24 '24 06:01 YangangCao