<div dir="ltr">description:I had spend a few days reading up documentations and trying out various lib to check if it gives the result I wanted.<br>The object I want is quite simple,the audio data in terms of arrays.<br>By audio data,I mean raw audio data without headers.<br>And by raw audio data I also refer to the values of those samples.The sampled data that contains the audio signal strength,etc.<br><br>So you may ask what is my expectations then.<br>A library with good decoding that returns the language supported primitives or common class for putting into scientific computing matrix,tensor,etc.<br>Encoding can simply use opus c official compiled binaries to encode wav as preprocessing because size limiitation at.<br><br>Of course,I did try and use some unofficial implementations.<br><br>So I used some and below is my experience<br><br>Lwjgl opus:Broken documentation,messed us variable and types.Using jni,java nio.Status,Probably unmantained broken no one cares.Probably a more chaotic copy from other jni wrappers.<br><br>The stackoverflow commonly seen suggested lib way:<br>The jorbis ,jogg both by jcraft.With javax,google code_tritonus share now moved to github for maven support.<br>Quite nice very good it works but it doesn't support opus,only ogg vorbis.Why,why...<br><br>So you may ask,now with these info it seems like I am kinda stuck and how you may help me.<br>I hope there is a test suite to quickly verify if it is compliant to the opus specification.<br>So future developer may not need to waste their time trying out those implementations that just doesn't work and struggle.<br>Also it will provide a better support for the specification verification.Finding a library will also be much easy.<br><br>Of course verifying the specifications does not mean it has good documentations.<br>How does we expect a test suite to be a fast runnable to run is also a problem.<br>But of course all is possible by having some naming convention.Like fixed method name or fixed class name.<br>In fact i have a java program that has a plugin system that uses reflection,with the limitations of fixed method name and a set of fixed arguments type.<br>Of course maven itself is also using plugin system concept.<br><br>Some possible canditate that need to waste time to test:<br>discord java_java opus,github<br><a href="https://github.com/leonfancy/oggus">https://github.com/leonfancy/oggus</a></div>