recordwav.m
上传用户:ay_070428
上传日期:2014-12-04
资源大小:11427k
文件大小:2k
源码类别:

语音合成与识别

开发平台:

Matlab

  1. function recordwav(action)
  2. %RECORDWAV : To record user wav.
  3. if strcmp(action,'initial'),
  4.    SingerName = textread('singer.txt','%s');
  5.    S.user  = textread('test_user.txt','%s');
  6.    S.count = 1;
  7.    figure;
  8.    uicontrol('units','normalized',...
  9.       'style','popupmenu',...
  10.       'string',S.user,...
  11.       'tag','popup',...
  12.       'fontunits','normalized',...
  13.       'position',[0.1 0.7 0.3 0.1]);
  14.    uicontrol('units','normalized',...
  15.       'string','秨﹍魁