首页 | 本学科首页   官方微博 | 高级检索  
     

WAV音频文件的分句播放技术及应用
引用本文:孙世军,彭承琳,白洋. WAV音频文件的分句播放技术及应用[J]. 计算机工程与应用, 2004, 40(12): 102-104
作者姓名:孙世军  彭承琳  白洋
作者单位:重庆大学生物工程学院,重庆,400044;湛江师范学院物理系,湛江,524048;重庆大学生物工程学院,重庆,400044
基金项目:国家自然科学基金资助项目(编号:10175095,19835040)
摘    要:由于英语听力训练的要求,提出了一种WAV音频文件分句播放技术,并给出在VC++上实现的一个实例。利用多媒体文件输入输出服务函数,从WAV文件读出音频格式和音频数据。用一个指针指定要播放句子数据的开始位置,将要播放的音频数据一段一段地取出,播放每一句所用的时间来自分句信息文件,确定所播放数据的长度,调用WAV音频服务函数实现分句播放。在VisualC++6下用此技术开发了英语听力训练多媒体教学软件。

关 键 词:WAV音频服务函数  WAV音频文件  分句播放  Visual C++  多媒体文件输入输出服务函数
文章编号:1002-8331-(2004)12-0102-03

Technology of Playing Waveform-Audio Files with a Single Sentence and its Application
Sun Shijun , Peng Chenglin Bai Yang. Technology of Playing Waveform-Audio Files with a Single Sentence and its Application[J]. Computer Engineering and Applications, 2004, 40(12): 102-104
Authors:Sun Shijun    Peng Chenglin Bai Yang
Affiliation:Sun Shijun 1,2 Peng Chenglin 1 Bai Yang 11
Abstract: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++.
Keywords:Waveform-audio services  Waveform-audio file  Separated playing  Visual C++  Multimedia file I /O services  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号