摘要
由于英语听力训练的要求,提出了一种WAV音频文件分句播放技术,并给出在VC++上实现的一个实例。利用多媒体文件输入输出服务函数,从WAV文件读出音频格式和音频数据。用一个指针指定要播放句子数据的开始位置,将要播放的音频数据一段一段地取出,播放每一句所用的时间来自分句信息文件,确定所播放数据的长度,调用WAV音频服务函数实现分句播放。在VisualC++6下用此技术开发了英语听力训练多媒体教学软件。
This paper describes a new separated playing technique for WAV audio-files that can be applied to English listening tests.Furthermore,an instance is offered by the VC++.The proposed technique exploits the multimedia file I /O services to read the audio-format and audio-data from WAV files,uses a point specifying the beginning of data of a sentence to be played,by which the audio-data to be played can be taken out section by section.That how long to play every sentence comes from the separated sentence information files which can establish the length of data.Finally,the Windows waveform-audio services are then used to implement separated playing.Such multimedia teaching software of English listening tests is exploited by VC++.
出处
《计算机工程与应用》
CSCD
北大核心
2004年第12期102-104,共3页
Computer Engineering and Applications
基金
国家自然科学基金资助项目(编号:10175095
19835040)