文件名称:004401
- 所属分类:
- 多媒体编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 45kb
- 下载次数:
- 0次
- 提 供 者:
- z***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
1 声音的采集:
将声音信号送入计算机,我们利用了声卡录音的低层操作技术,即对winmm.lib进行API调用。具体编程时这一部分被写在一个类中(Soundin类)。
在构造函数中设定包括最大采样率(11025),数据缓存(作为程序一次性读入的数据,2048),声卡本身所带的一些影响采样数据等的各种参数;
调用API函数waveInGetNumDevs(返回UNIT,参数为空)检察并打开声音输入设备,即声卡;并进而使用waveInGetDevCaps得到声卡的容量(在waveInCaps中存有该数据,对其进行地址引用,从DWORD dwFormats得到最大采样率、声道数和采样位);
-A sound collection: the sound signal into the computer, we took advantage of low-level operation of sound recording technology, that is winmm.lib to API calls. This part of the specific programming is written in a class (Soundin category). Set in the constructor, including maximum sampling rate (11025), data cache (as a program and a one-time read data, 2048), sound card itself is carried by some of the effects of various parameters such as sampling data call the API function waveInGetNumDevs (return UNIT , the parameter is empty) Attorney and open sound input device, or sound card and thus the use of waveInGetDevCaps get sound card capacity (in the waveInCaps exist in the data, address reference to them from the DWORD dwFormats get the maximum sample rate, channel number and Sampling bit)
将声音信号送入计算机,我们利用了声卡录音的低层操作技术,即对winmm.lib进行API调用。具体编程时这一部分被写在一个类中(Soundin类)。
在构造函数中设定包括最大采样率(11025),数据缓存(作为程序一次性读入的数据,2048),声卡本身所带的一些影响采样数据等的各种参数;
调用API函数waveInGetNumDevs(返回UNIT,参数为空)检察并打开声音输入设备,即声卡;并进而使用waveInGetDevCaps得到声卡的容量(在waveInCaps中存有该数据,对其进行地址引用,从DWORD dwFormats得到最大采样率、声道数和采样位);
-A sound collection: the sound signal into the computer, we took advantage of low-level operation of sound recording technology, that is winmm.lib to API calls. This part of the specific programming is written in a class (Soundin category). Set in the constructor, including maximum sampling rate (11025), data cache (as a program and a one-time read data, 2048), sound card itself is carried by some of the effects of various parameters such as sampling data call the API function waveInGetNumDevs (return UNIT , the parameter is empty) Attorney and open sound input device, or sound card and thus the use of waveInGetDevCaps get sound card capacity (in the waveInCaps exist in the data, address reference to them from the DWORD dwFormats get the maximum sample rate, channel number and Sampling bit)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
SpeechDemo\howto.txt
..........\ReadMe.txt
..........\Resource.h
..........\speech.jpg
..........\SpeechDemo.clw
..........\SpeechDemo.cpp
..........\SpeechDemo.dsp
..........\SpeechDemo.dsw
..........\SpeechDemo.h
..........\SpeechDemo.ncb
..........\SpeechDemo.opt
..........\SpeechDemo.plg
..........\SpeechDemo.rc
..........\StdAfx.cpp
..........\StdAfx.h
..........\Text2Speech.htm
SpeechDemo
..........\ReadMe.txt
..........\Resource.h
..........\speech.jpg
..........\SpeechDemo.clw
..........\SpeechDemo.cpp
..........\SpeechDemo.dsp
..........\SpeechDemo.dsw
..........\SpeechDemo.h
..........\SpeechDemo.ncb
..........\SpeechDemo.opt
..........\SpeechDemo.plg
..........\SpeechDemo.rc
..........\StdAfx.cpp
..........\StdAfx.h
..........\Text2Speech.htm
SpeechDemo