How to read an ogg file in Java without JNI

Import jorbis as a dependenyc of your project Read the howto : http://www.jcraft.com/jorbis/tutorial/Tutorial.html Copy the source code. It will work, but will only be able to play a sound (not to convert it) Look at my JorbisCleanConverter. (https://raw.githubusercontent.com/libetl/soundtransform/master/src/main/java/org/toilelibre/libe/soundtransform/infrastructure/service/audioformat/converter/JorbisCleanConverter.java) and copy everything (you will need to change the catch clauses). You are now able to transform… Read More »