MATLAB voicebox工具箱之基频估计

voicebox工具箱之基频估计

前面已有很多介绍基频的文章了,看我其他博客。今天主要学习voicebox工具箱之基频估计功能。

只要安装了voicebox工具箱,调用很简单。

参数说明及调用

%V_FXPEFAC PEFAC pitch tracker [FX,TT,PV,FV]=(S,FS,TINC,M,PP)
%
% Input:   s(ns)      Speech signal              						读取出的语音序列
%          fs         Sample frequency (Hz)     
帧间时间增量,帧移默认10ms 						
%          tinc       Time increment between frames (s) [0.01]   		
%                     or [start increment end]
设置模式,可以选择下边三种不同的模式
%          m          mode   
%                     'g' plot graph showing waveform and pitch
%                     'G' plot spectrogram with superimposed pitch using
%                         options pp.sopt [default: 'ilcwpf']
%                     'x' use external files for algorithm parameter
%                         initialization: fxpefac_g and fxpefac_w
%          pp         structure containing algorithm parameters    		 一般不做要求
%
% Outputs: fx(nframe)     Estimated pitch (Hz)
%          tx(nframe)     Time at the centre of each frame (seconds).
%          pv(nframe)     Probability of the frame of being voiced
%          fv             structure containing feature vectors
%                           fv.vuvfea(nframe,2) = voiced/unvoiced GMM features

用默认参数调用:

先加载一条音频

clear
close all;
file = '1.wav';
[y,fs] = audioread(file);

直接调用

fxpefac(y,fs)

结果:
在这里插入图片描述

算法参考文献

[1] S. Gonzalez and M. Brookes. PEFAC - a pitch estimation algorithm robust to high levels of noise.IEEE Trans. Audio, Speech, Language Processing, 22 (2): 518-530, Feb. 2014.doi: 10.1109/TASLP.2013.2295918.
[2] S.Gonzalez and M. Brookes,A pitch estimation filter robust to high levels of noise (PEFAC), Proc EUSIPCO,Aug 2011.

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值