Home > OS >  How to realize audio conversion in Java code?
How to realize audio conversion in Java code?

Time:11-21

I use the baidu speech recognition SDK, he ordered that the audio format is wav, sampling rate 8 k mono, but I am not the recording software to come out, so I can only use the format the factory, but there is no so good trouble every time, I like write program, so the question becomes, how audio conversion in Java code,

To summarize, I now have two problems:
1. How to open the recording software in Java code, every time I ordered then closed, and then save the running code good feeling low,
2. How to implement audio formats in Java code conversion, the original audio is converted into a target audio

Can you take the time to read my question really appreciate, students party is unlikely to have big brother help solve the WeChat can send a small red envelopes

CodePudding user response:

Into JAVE - Manual

Java program called third-party tools:
Alvas_Audio or FMJ, call them in the program, and then to transform the incoming audio file content, both open source tools have the source code, you can go to the official download

CodePudding user response:

Open the recording software, you can use the ProcessBuilder builder binding process,
  • Related