Audio resample method in java

969 Views Asked by At

I have a project which is to convert a python audio processing application to Android, which means I need to translate the code from python to java.

The python code uses the librosa library to resample audio files (librosa.resample(y, orig_samplerate, target_samplerate, res_type='sinc_fastest')

Is there any package in java I can use to achieve the same result (have to use the sinc_fastest resample type)? I am new to java, please give me some help! Thanks!

jlibrosa in java seems have the similar function as the librosa in python, but I did not find the resample function.

1

There are 1 best solutions below

0
On

Double-check that the terms of the license are compatible with your use case but perhaps TarsosDSP is what you are looking for