Reputation: 23
I have to implement the LPC (linear predictive coding) Algorithm with Java and quiet frankly don't have a clue where to start. Could someone please point me into a right direction.. I can't. of course, use already implemented algorithms from the java sound api (if its provides a solution).
Upvotes: 2
Views: 1431
Reputation: 19682
Java comes with an AudioInputStream. You can get the inputStream by calling avax.sound.sampled.AudioSystem.getAudioInputStream(File f).
The AudioInputStream has a read() method which reads the data. Probably, you will want to read all the data, do something with it and store it back to a file...
Upvotes: 1