亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? proclpc.m

?? LPC(linear predictive coding)線性預(yù)測編碼及改進(jìn)型voice excited LPC源代碼
?? M
字號:
function [aCoeff,resid,pitch,G,parcor,stream] = proclpc(data,sr,L,fr,fs,preemp)
% USAGE: [aCoeff,resid,pitch,G,parcor,stream] = proclpc(data,sr,L,fr,fs,preemp)
%
% This function computes the LPC (linear-predictive coding) coefficients that
% describe a speech signal. The LPC coefficients are a short-time measure of
% the speech signal which describe the signal as the output of an all-pole
% filter. This all-pole filter provides a good description of the speech
% articulators; thus LPC analysis is often used in speech recognition and 
% speech coding systems. The LPC parameters are recalculated, by default in
% this implementation, every 20ms.
%
% The results of LPC analysis are a new representation of the signal
% s(n) = G e(n) - sum from 1 to L a(i)s(n-i)
% where s(n) is the original data. a(i) and e(n) are the outputs of the LPC 
% analysis with a(i) representing the LPC model. The e(n) term represents 
% either the speech source's excitation, or the residual: the details of the 
% signal that are not captured by the LPC coefficients. The G factor is a
% gain term.
%
% LPC analysis is performed on a monaural sound vector (data) which has been
% sampled at a sampling rate of "sr". The following optional parameters modify
% the behaviour of this algorithm.
% L - The order of the analysis. There are L+1 LPC coefficients in the output
% array aCoeff for each frame of data. L defaults to 13.
% fr - Frame time increment, in ms. The LPC analysis is done starting every
% fr ms in time. Defaults to 20ms (50 LPC vectors a second)
% fs - Frame size in ms. The LPC analysis is done by windowing the speech
% data with a rectangular window that is fs ms long. Defaults to 30ms
% preemp - This variable is the epsilon in a digital one-zero filter which 
% serves to preemphasize the speech signal and compensate for the 6dB
% per octave rolloff in the radiation function. Defaults to .9378.
%
% The output variables from this function are
% aCoeff - The LPC analysis results, a(i). One column of L numbers for each
% frame of data
% resid - The LPC residual, e(n). One column of sr*fs samples representing
% the excitation or residual of the LPC filter.
% pitch - A frame-by-frame estimate of the pitch of the signal, calculated
% by finding the peak in the residual's autocorrelation for each frame.
% G - The LPC gain for each frame.
% parcor - The parcor coefficients. The parcor coefficients give the ratio
% between adjacent sections in a tubular model of the speech 
% articulators. There are L parcor coefficients for each frame of 
% speech.
% stream - The LPC analysis' residual or excitation signal as one long vector.
% Overlapping frames of the resid output combined into a new one-
% dimensional signal and post-filtered.
%
% The synlpc routine inverts this transform and returns the original speech
% signal.
%
% This code was graciously provided by:
% Delores Etter (University of Colorado, Boulder) and 
% Professor Geoffrey Orsak (Southern Methodist University) 
% It was first published in
% Orsak, G.C. et al. "Collaborative SP education using the Internet and
% MATLAB" IEEE SIGNAL PROCESSING MAGAZINE Nov. 1995. vol.12, no.6, pp.
% 23-32.
% Modified and debugging plots added by Kate Nguyen and Malcolm Slaney
% A more complete set of routines for LPC analysis can be found at
% http://www.ee.ic.ac.uk/hp/staff/dmb/voicebox/voicebox.html
% (c) 1998 Interval Research Corporation 
if (nargin<3), L = 13; end
if (nargin<4), fr = 20; end
if (nargin<5), fs = 30; end
if (nargin<6), preemp = .9378; end
[row col] = size(data);
if col==1 data=data'; end
nframe = 0; 
msfr = round(sr/1000*fr); % Convert ms to samples
msfs = round(sr/1000*fs); % Convert ms to samples
duration = length(data);
speech = filter([1 -preemp], 1, data)'; % Preemphasize speech
msoverlap = msfs - msfr;
ramp = [0:1/(msoverlap-1):1]'; % Compute part of window

for frameIndex=1:msfr:duration-msfs+1 % frame rate=20ms
frameData = speech(frameIndex:(frameIndex+msfs-1)); % frame size=30ms
nframe = nframe+1;
autoCor = xcorr(frameData); % Compute the cross correlation
autoCorVec = autoCor(msfs+[0:L]);
% Levinson's method
err(1) = autoCorVec(1);
k(1) = 0;
A = [];
for index=1:L
numerator = [1 A.']*autoCorVec(index+1:-1:2);
denominator = -1*err(index);
k(index) = numerator/denominator; % PARCOR coeffs
A = [A+k(index)*flipud(A); k(index)]; 
err(index+1) = (1-k(index)^2)*err(index);
end
aCoeff(:,nframe) = [1; A];
parcor(:,nframe) = k';
% Calculate the filter 
% response
% by evaluating the 
% z-transform
if 0
gain=0;
cft=0:(1/255):1;
for index=1:L
gain = gain + aCoeff(index,nframe)*exp(-i*2*pi*cft).^index;
end
gain = abs(1./gain);
spec(:,nframe) = 20*log10(gain(1:128))';
plot(20*log10(gain));
title(nframe);
drawnow;
end
% Calculate the filter response
% from the filter's impulse
% response (to check above).
if 0
impulseResponse = filter(1, aCoeff(:,nframe), [1 zeros(1,255)]);
freqResp = 20*log10(abs(fft(impulseResponse)));
plot(freqResp);
end
errSig = filter([1 A'],1,frameData); % find excitation noise

G(nframe) = sqrt(err(L+1)); % gain
autoCorErr = xcorr(errSig); % calculate pitch & voicing information
[B,I] = sort(autoCorErr);
num = length(I);
if B(num-1) > .01*B(num)
pitch(nframe) = abs(I(num) - I(num-1));
else
pitch(nframe) = 0;
end
% calculate additional info to improve the compressed sound quality
resid(:,nframe) = errSig/G(nframe);
if(frameIndex==1) % add residual frames using a trapezoidal window
stream = resid(1:msfr,nframe);
else
stream = [stream; 
overlap+resid(1:msoverlap,nframe).*ramp; 
resid(msoverlap+1:msfr,nframe)];
end
if(frameIndex+msfr+msfs-1 > duration)
stream = [stream; resid(msfr+1:msfs,nframe)];
else
overlap = resid(msfr+1:msfs,nframe).*flipud(ramp); 
end 
end
stream = filter(1, [1 -preemp], stream)';

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲激情综合网| 欧美美女激情18p| 国产亚洲欧美色| 国产福利一区在线| 精品国产乱子伦一区| 久久国产精品区| 国产亚洲欧美色| 91原创在线视频| 一区二区欧美精品| 欧美精品粉嫩高潮一区二区| 国产乱理伦片在线观看夜一区| 亚洲精品在线观看视频| 成人网男人的天堂| 亚洲综合色成人| 欧美一级高清大全免费观看| 麻豆国产91在线播放| 国产色一区二区| 91福利精品视频| 老司机精品视频导航| 国产亚洲欧美色| 欧美调教femdomvk| 国产精品一级黄| 亚洲综合色区另类av| 欧美精品一区二区三区久久久| 成人免费毛片app| 亚洲成人在线免费| 久久久久久久久久看片| 在线观看免费一区| 国产一区二区三区蝌蚪| 一区二区三区在线视频免费 | 91麻豆精东视频| 日韩国产在线观看一区| 国产午夜精品久久久久久免费视| 91丨九色丨尤物| 久久国产人妖系列| 一区二区三区蜜桃网| 26uuu国产电影一区二区| 91视频xxxx| 国产乱人伦偷精品视频免下载| 国产精品久久久久四虎| 欧美日韩国产免费一区二区| 日韩高清在线电影| 最好看的中文字幕久久| 久久综合色综合88| 欧美日本乱大交xxxxx| 99视频一区二区| 国产自产高清不卡| 一区二区三区欧美亚洲| 欧美激情一区三区| 久久嫩草精品久久久精品一| 欧美日韩另类一区| 91免费看视频| www.欧美精品一二区| 日韩国产高清在线| 亚洲精品乱码久久久久久黑人| 久久精品男人天堂av| 欧美大片一区二区| 欧美精品在线视频| 91色综合久久久久婷婷| 不卡视频在线观看| 国产成人免费视频精品含羞草妖精 | 国产精品一区二区在线看| 午夜精品一区二区三区电影天堂| 自拍偷拍国产亚洲| 国产精品色眯眯| 国产欧美一区二区精品性| 欧美精品一区二区三区很污很色的 | 播五月开心婷婷综合| 狠狠久久亚洲欧美| 久久国内精品自在自线400部| 日韩和的一区二区| 日日夜夜精品视频免费| 亚洲第一成年网| 亚洲一级二级三级| 亚洲影视资源网| 一区2区3区在线看| 亚洲一二三专区| 亚洲国产成人精品视频| 一级女性全黄久久生活片免费| 久久久91精品国产一区二区精品| 精品粉嫩超白一线天av| 久久影院视频免费| 欧美xfplay| 久久精品视频一区二区三区| 久久久精品日韩欧美| 欧美国产精品中文字幕| 国产精品高清亚洲| 国产精品美女一区二区在线观看| 久久精品亚洲麻豆av一区二区 | 中文子幕无线码一区tr| 国产农村妇女精品| 中文字幕在线视频一区| 中文字幕一区视频| 亚洲主播在线播放| 日韩**一区毛片| 国产一区二三区| 白白色 亚洲乱淫| 波多野结衣的一区二区三区| 成人网男人的天堂| 97国产精品videossex| 色视频一区二区| 日韩一区二区在线播放| 久久精品亚洲精品国产欧美kt∨ | 日韩中文字幕1| 国模少妇一区二区三区| 国产九色精品成人porny| 国产成人午夜片在线观看高清观看| 成人黄色小视频| 欧美亚洲一区三区| 91.成人天堂一区| 精品国产乱码久久久久久图片 | 2014亚洲片线观看视频免费| 国产精品亲子乱子伦xxxx裸| 一级日本不卡的影视| 日韩黄色免费网站| 韩日精品视频一区| 在线观看av一区| 国产亚洲美州欧州综合国| 亚洲欧美另类久久久精品| 蜜桃视频在线观看一区二区| 高清日韩电视剧大全免费| 欧美性受xxxx| 国产日产亚洲精品系列| 性欧美大战久久久久久久久| 韩国成人在线视频| 欧美色图免费看| 日本一区二区三区在线观看| 国产精品伦理一区二区| 亚洲综合免费观看高清完整版 | 欧美韩国日本一区| 视频一区视频二区在线观看| 成人午夜伦理影院| 日韩视频国产视频| 亚洲二区视频在线| 国产一区二区不卡| 91精品国产麻豆| 亚洲精品成人悠悠色影视| 国产精品 日产精品 欧美精品| 欧美狂野另类xxxxoooo| 亚洲人123区| 国产尤物一区二区在线| 欧美日韩一区高清| 亚洲乱码中文字幕综合| 国产成人免费av在线| 欧美大片拔萝卜| 三级成人在线视频| 色婷婷精品大在线视频| www国产成人| 久久99国产精品免费| 欧美日韩国产美| 午夜久久久久久电影| 色94色欧美sute亚洲13| 国产精品伦一区| 波多野结衣中文字幕一区| 久久久久久久久久久99999| 蜜臀av性久久久久蜜臀aⅴ| 91.xcao| 日韩制服丝袜先锋影音| 欧美日本在线一区| 婷婷开心激情综合| 欧美精品免费视频| 日韩精品久久久久久| 一区二区三区.www| 成人app软件下载大全免费| 久久婷婷久久一区二区三区| 亚洲成a人片综合在线| 欧美在线看片a免费观看| 亚洲精品国产一区二区精华液| 成人av在线一区二区三区| 精品少妇一区二区| 精品在线你懂的| 2021国产精品久久精品| 国产在线精品一区二区| 欧美大胆人体bbbb| 精品亚洲免费视频| 精品美女被调教视频大全网站| 麻豆精品新av中文字幕| 日韩欧美国产系列| 精品一区二区三区蜜桃| 久久久国产综合精品女国产盗摄| 国产又粗又猛又爽又黄91精品| 精品福利在线导航| 成人综合在线视频| 日韩美女久久久| 欧美日韩国产综合一区二区| 一区二区免费看| 在线观看av不卡| 美女视频一区在线观看| 国产网红主播福利一区二区| av不卡一区二区三区| 成人免费在线播放视频| 色综合久久久久网| 日本不卡不码高清免费观看| 久久久亚洲高清| 色综合一区二区| 天堂va蜜桃一区二区三区| 精品免费日韩av| 91麻豆自制传媒国产之光| 五月婷婷久久综合| 久久久99精品久久|