My project is \'Speech Recognition of Azeri speech\'. I have to write a program that converts wav files to byte array.
wav
How to convert audio file to byt
fileToByteArray("C:\..\my.mp3");
`public static byte[] fileToByteArray(String name){ Path path = Paths.get(name); try { return Files.readAllBytes(path); } catch (IOException e) { e.printStackTrace(); return null; } }`