Java Sampling Rate Conversion

In my Java code, I would like to convert a WAV file with a frequency of 44100 Hz to a WAV file with 8000 Hz. I know that I have a low-pass filter and then decimate (+ interpolation) (DSP theory), but I don't want to implement it from scratch.

I am looking for a library that can efficiently execute it. Do you know anyone?

I can read wav files into the buffer, and also write wav files from the buffer to the file if this makes the process easier.

+3
source share
1 answer

You should watch FMJ . It provides a wrapper for ffmpeg that can efficiently handle all kinds of conversion work (including sound oversampling).

+1
source

All Articles