How to convert mp3 file to its byte array and then back to mp3 file in Java. | Sololearn: Learn to code for FREE!

+1

How to convert mp3 file to its byte array and then back to mp3 file in Java.

I am creating an audio Steganography project and I want some way or API to convert a mp3 file to byte array and then after my Steganography process back to mp3 file.

9/11/2021 1:30:23 PM

Himanshu Sajwan

1 Answer

New Answer

+1

jLayer is mp3 framework from 2012 example of InputStream https://github.com/kovertopz/Framework-GL/blob/master/src/main/java/net/smert/frameworkgl/openal/codecs/mp3/Mp3InputStream.java doc https://jar-download.com/javaDoc/javazoom/jlayer/1.0.1/javazoom/jl/decoder/InputStreamSource.html download https://jar-download.com/artifacts/javazoom/jlayer/1.0.1/source-code