how can I conv开发者_开发技巧ert .wav file to signals in java ?
Audio is a signal. Now how to read that signal from a wave file is another question.
- You can write your own decoder by following the specifications
- Use java's audioInputStream to read the audio stream
Please try to phrase your questions better in the future and use google more.
You can use SoX (the Swiss Army knife of sound processing programs) to convert audio file to text file with numeric values corresponding to sound frequency/volume.
Not sure if thats what you need.
Here is a link to the project: http://sox.sourceforge.net/Main/HomePage
精彩评论