我正在尝试开发一个简单的代码,用于从保存在SD卡中的音频文件中读取数据。例如,让我们说一个音频文件" a.wav"之后我想将数据保存在手机内的文本文件中。我正在寻找的东西与函数" readwav"完全相同。在MATLAB中,我可以读取音频文件,然后将值保存在文本文件中。如何在android中实现这一点?我搜索了许多代码但是找不到简单的东西。
非常感谢您的帮助。
答案 0 :(得分:0)
请参阅此链接 - http://vimeo.com/27642353.It说
This is a Processing Tutorial about:
How to save audio data to text files...
... and load this text file, prepare and display it.
This way you are able to visualize music, but your sketch doesn't have to run in realtime (e. g. complex visualizations, render your visualization). Most (or every?) Processing library doesn't support that.
Sorry for the bad and slow typing (misspellings, senseless word order). It's really tough for me to phrase, to type and think and the same time.
Code:
openprocessing.org/visuals/?visualID=33855
Music:
CocoRosie - The moon asked the crow