ma2ma1.m
资源名称:wv2lst.rar [点击查看]
上传用户:shjsjz
上传日期:2022-07-09
资源大小:3k
文件大小:0k
源码类别:
语音合成与识别
开发平台:
Matlab
- function [ma,sns]=ma2ma1(ma,mm)
- %mm=0.01;
- %ma=ma2ma1(ma,0.01);
- sns=[];
- for i=1:size(ma,2)
- aa=log(ma(i).a+1);
- aa=aa/max(aa);
- sn=a2lgc(aa,mm);
- sns=[sns;sn(1,1:2)];
- ma(i).m=ma(i).m(sn(1,1)+1:sn(1,1)+sn(1,2),:);
- ma(i).a=aa(sn(1,1)+1:sn(1,1)+sn(1,2));
- end
- %save('m1a','ma');