波形文件是采集各种声音的机械振动而得到的数字文件。波形文件的特点是可以保存和再现原始声源的效果,它常常用于音乐、歌曲等自然声的录制,但文件的存储空间比较大。
我怎样才能让这段代码的时间播放波形文件?
但对于较大的波形文件,你就应更加有效地利用内存,尤其是当你要同时播放多种声音时。
With larger wave files, though, you should be more efficient in your memory usage, especially if you will be playing multiple sounds simultaneously.
因此下面的修改将利用这个事实,创建当前波形与所有存储在 *.vertex 文件中的声波纹之间的偏差数量的简单计数。
This fact will be used by the modification shown below to create a simple count of the number of deviations between the current waveform and all of the stored voice prints from the *.vertex files.
应用推荐