~ Updates for TarsosDSP
» By Joren on Friday 20 January 2023TarsosDSP is a Java library for audio processing I have started working on more than 10 years ago. The aim of TarsosDSP is to provide an easy-to-use interface to practical music processing algorithms. Obviously, I have been using it myself over the years as my go-to library for audio-processing in Java. However, a number of gradual changes in the java ecosystem made TarsosDSP more and more difficult to use.
Since I have apparently not been the only one using it, there was a need to give it some attention. During the last couple of weeks I have found the time to give it this much needed attention. This resulted in a number of updates, some of the changes include:
- Change of the build system from Apache Ant to Gradle
- Make use of Java Modules to make TarsosDSP compatible with the ModulePath introduced in Java 9.
- Packaged the software into a maven compatible format, which makes it easy to use as a dependency.
- CI with GitHub actions to automatically build and test the software.
- Updated some examples shipped with the TarsosDSP. I have still still some examples to verify.
- Improved handling of errors on reading audio via ffmpeg
Fig: The updated TarsosDSP release contains many CLI and GUI example applications.
Notably the code of TarsosDSP has not changed much apart from some cosmetic changes. This backwards compatibility is one of the strong points of Java. With this update I am quite confident that TarsosDSP will also be usable during the next decade as well.
Please check out the updated TarsosDSP repository on GitHub.