Matlab函数 采集一段浊音和清音语音信号我要分享

Matlab function to collect a voiced and unvoiced voice signal

录音软件 8kHz信号 清音

关注次数: 659

下载次数: 1

文件大小: 29KB

代码分类: 音频处理

开发平台: matlab

下载需要积分: 1积分

版权声明:如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

代码描述

中文说明:

(1) 使用录音软件或者Matlab函数,分别采集一段浊音和清音语音信号(是你自己说的,如:a,o,s等),采样率为8KHz,量化精度为16比特线性码,存在自己指定的目录下,例如D盘根目录下叫sound的文件夹中,录音文件名为yourfilename_a.wav,yourfilename_s.wav等。录音的软件和Matlab函数的使用见随后的附录。

(2) 根据语音信号的短时平稳特性,分析帧长取30ms(或10ms~50ms);

(3) 利用上述基音提取的三种方法(任选两种方法)的编程流程图(图1、图2和图3)编制浊音语音基音提取的matlab程序,上机调试给出相应波形,并根据图形,分析计算出基音周期。所用公式为: (1.5) 其中 是基音脉冲处所对应的位置, 是抽样频率, 是基音周期。

(4) 将语音信号换为清音语音,运行程序,与浊音语音的运行结果进行比较,并得出结论。
( voice signal processing)


English Description:

(1) Use the recording software or matlab function to collect a voiced and unvoiced voice signal (you say, such as: A, O, s, etc.), the sampling rate is 8kHz, the quantization accuracy is 16 bit linear code, which is stored in your own specified directory, such as the file folder called sound in the D root directory, and the recording file name is yourfilename_ a.wav,yourfilename_ s. Wav et al. The recording software and the use of MATLAB functions are shown in the following appendix. < / P > < p > (2) according to the short-term stationary characteristics of speech signal, analyze the frame length of 30ms (or 10ms ~ 50ms); < / P > < p > (3) use the above three methods of pitch extraction (choose two methods) programming flow chart (Fig. 1, FIG. 2 and Fig. 3) to compile the matlab program of voiced speech pitch extraction, debug on the computer, give the corresponding waveform, and analyze and calculate the pitch period according to the graph. The formula used is: (1.5)


代码预览

实验一

......\a_8k.wav

......\BBfilter.m

......\dp2pitch.m

......\dp2pitch2.m

......\enframe.m

......\freqz_m.m

......\jhnlb.m

......\zxg.m