Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
double_ck.m
Package: melp.rar [view]
Upload User: xxy784
Upload Date: 2015-01-28
Package Size: 726k
Code Size: 1k
Category:
Compress-Decompress algrithms
Development Platform:
Matlab
- %Pitch Double Check--Using a kind of signal
- %Input:
- % sig_in(input signal)
- % p(fractal pitch)
- % Dth(threshold)
- %Output:
- % pc(pitch after double_chk)
- % cor_pc(corresponding correlation)
- function [pc,cor_pc]=double_ck(sig_in,p,Dth)
- pmin=20; %minimum pitch
- [pc,cor_pc]=fpr(sig_in,round(p)); %fractal pitch refine
- for n=1:7 %Search the very pitch
- k=9-n;
- temp_pit=round(pc/k);
- if temp_pit>=pmin
- [temp_pit,temp_cor]=FPR(sig_in,temp_pit);
- if temp_pit<30
- temp_cor=double_ver(sig_in,temp_pit,temp_cor);
- end
- if temp_cor>Dth*cor_pc
- [pc,cor_pc]=fpr(sig_in,round(temp_pit));
- break;
- end
- end
- end
- if pc<30
- cor_pc=double_ver(sig_in,pc,cor_pc); %Remove furious short pitch
- end