摘要
Wav文件包含文件头和数据块,记录了声音的波形。NetC#开发环境提供了文件流和流的读写器等操作类,可以方便地实现对wav文件的解析从而得到声音的波形数据,再利用Graphics类的各种图形绘制方法将波形数据绘制成曲线。
Wav file includes header and data block, recording the wave shape of the sound..Net C# provides some file accessing class such as FileStream and StreamReader, so that it is easily to get sound data from wave. At last, the wave shape of the sound can be drawed by us- ing the methods of Graphics class.
出处
《电脑知识与技术》
2012年第8期5454-5455,共2页
Computer Knowledge and Technology