alphacep / alphacep/vosk-api

Converting audio with java

Open
#1,040 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
15.1k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

Good day,
I've been trying all day to convert audio so that Vosk can work with it. The default audio format I get (from Discord) is the following:

I want to convert this to Vosk format, but unfortunately I don't know exactly how. Can anyone help me? Best would be a code snippet, I have to admit that audio processing is not my thing :/
`AudioFormat OUTPUT_FORMAT = new AudioFormat(48000.0F, 16, 2, true, true);`

Here is also my code:
https://just-paste.it/FB0TyErtQP

Kind regards
Nicklas

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.