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

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

?? readsfs.m

?? voice box tool box for matlab
?? M
?? 第 1 頁 / 共 2 頁
字號:
function [y,fs,hd,ffx]=readsfs(ff,ty,sub,mode,nmax,nskip,xpath)
%readsfs  Read a .SFS format sound file [Y,FS,HD,FFX]=(FF,TY,SUB,MODE,NMAX,NSKIP,XPATH)
%
% The SFS (Speech Filing System) is a package mostly written by Mark Huckvale
% and is available for UNIX and PC systems from http://www.phon.ucl.ac.uk/resource/sfs/
%
% Input Parameters:
%
%  FF gives the name of the file or alternatively
%                 can be the ffx output from a previous call to readsfs
%  TY gives the type of data item required e.g.:
%              0 Main header, 1 Speech data, 2 Laryngograph, 5 Annotation
%  SUB specifies the instance of type TY in the file: 0 for first (default), -1 for last or else
%      it can specify the start of the processing history field as a string (e.g. 'hqtx')
%  MODE		specifies the following (*=default):
%
%           File I/O: 'f'    Do not close file on exit
%             'd'    Look in data directory: voicebox('dir_data')
%           Int Format: 'i'  Force integer data to be at least 16 bits
%                              (some sfs files have a header error which falsely indicates 8-bit data)
%           Create item: 'c' Create item if necessary
%
%  NMAX     maximum number of samples to read (or -1 for unlimited [default])
%  NSKIP    number of samples or frames to skip from start of file
%               (or -1 to continue from previous read when FFX is given instead of a filename [default])
%  XPATH    (used with 'c' option) gives the full name of the program needed to generate the data or
%           the directory containing it.
%
% Output Parameters:
%
%  Y        data matrix or cell matrix whose format depends on TY:
%        TY=0: empty
%			TY=5: cell array {nf,3} = {position length annotation}
%        TY=1,2: column vector containing data
%        TY=11: data array with one row per frame
%  FS       sample frequency in Hz
%  HD     cell matrix whose format depends on TY:
%        TY=0: cell{14,1}
%              {1} row vector
%                {1}(1) = serial_date (see DATENUM() for format)
%                {1}(2) = file_number
%                {1}(3) = machine_type
%              {2} = File type (= 'UC2')
%              {3} = username of creator
%              {4} = site of creator
%              {5} = source
%              {6} = database
%              {7} = speaker name
%              {8} = session code
%              {9} = session date (as a string)
%             {10} = name of token
%             {11} = token repetition code
%             {12} = recording conditions
%             {13} = archiving details
%             {14} = general comments
%        TY>0: cell{4,1}
%              {1} = (1,14) array:
%                 {1}(1)  = processdate (see DATENUM() for format)
%                 {1}(2)  = datatype: 1=speech, 2=lx, 3=tx cycle lengths, 4=fx freq
%                                     5=annotations, 6=phonetic, 7=synthesiser, 8=words
%                                     9=grey-level, 10=voicing, 11=energy, 12=formants
%                                     13=energy, 14=lpc, 15=markov, 16=acoustic, 17=?,
%                                     18=geometry, 19=aerodynamics, 20=articulatory
%                                     21=source, 22=physiological, 23=rational filter
%                                     24=poles/zeros, 25=glottal flow, 26=excitation model
%                                     27=nose, 28=calibration, 29=area
%                 {1}(3)  = subtype
%                 {1}(4)  = floating: 1=float, 0=int, -1=structure+
%                 {1}(5)  = datasize in bytes
%                 {1}(6)  = framesize in units of datasize
%                 {1}(7)  = numframes
%                 {1}(8)  = length in bytes of data
%                 {1}(9)  = frameduration=1/sample_rate
%                 {1}(10) = datapresent: 0=deleted, 1=present, 2=link
%                 {1}(11) = time offset
%                 {1}(12) = windowsize
%                 {1}(13) = overlap
%                 {1}(14) = lxsync
%              {2} = processing history
%              {3} = parameter field
%              {4} = comment
%
%  FFX     cell array containing:
%              {1} = filename
%              {2} = (1,4) = [fid byte_order item_row values_read]
%              {3} = (nitem,5) = one row per item [type subtype length position byteorder]
%              {4} = {nitem,3} = cell: one row per item {processing parameters comment} text strings
%

% Features yet to be implemented:
%
%   (1) If no output parameters are specified, header information will be printed.
%   (2) following link items
%   (3) MODE options:
%                Scaling: 's'    Auto scale to make data peak = +-1
%                         'r'    Raw unscaled data (integer values)
%                         'q'    Scaled to make 0dBm0 be unity mean square
%                         'p' *	Scaled to make +-1 equal full scale
%                Errors   'r'    Return if file is non-existant


%	   Copyright (C) Mike Brookes 1998
%      Version: $Id: readsfs.m,v 1.4 2007/05/04 07:01:39 dmb Exp $
%
%   VOICEBOX is a MATLAB toolbox for speech processing.
%   Home page: http://www.ee.ic.ac.uk/hp/staff/dmb/voicebox/voicebox.html
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%   This program is free software; you can redistribute it and/or modify
%   it under the terms of the GNU General Public License as published by
%   the Free Software Foundation; either version 2 of the License, or
%   (at your option) any later version.
%
%   This program is distributed in the hope that it will be useful,
%   but WITHOUT ANY WARRANTY; without even the implied warranty of
%   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
%   GNU General Public License for more details.
%
%   You can obtain a copy of the GNU General Public License from
%   http://www.gnu.org/copyleft/gpl.html or by writing to
%   Free Software Foundation, Inc.,675 Mass Ave, Cambridge, MA 02139, USA.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

if nargin<7
    xpath=voicebox('sfsbin');       % path for sfs programs
end
EXESUF=voicebox('sfssuffix');                                              % suffix for executable O/S dependent
if nargin<4 mode='p';
else mode = [mode(:).' 'p'];
end
if nargout==0
    if nargin<2 | ty<=0
        [yy,fs,hd,ffx]=readsfs(ff,0,0,mode);
        fprintf(1,'File: %s\n',ffx{1});
        fprintf(1,'Database: %s, Speaker: %s, Date: %s, Token: %s\n',hd{6},hd{7},hd{9},hd{10});
        lst=ffx{3};
        for it=2:size(lst,1);
            [yy,fs,hd,ffx]=readsfs(ffx,lst(it,1),lst(it,2),mode,0);
            nf=hd{1}(7);
            fd=hd{1}(9);
            fprintf(1,'%3d.%02d %ss @ %sHz (%d frames): %s\n',lst(it,1),lst(it,2),sprintsi(nf*fd),sprintsi(1/fd),nf,ffx{4}{it,1});   
        end
    end
else
    it=[];
    xfid=[];                  % xfid will be non-empty second time around
    while (isempty(it))                 % may go round this loop twice
        if ischar(ff)           % If ff is a string we must read file
            if any(mode=='d')
                ff=fullfile(voicebox('dir_data'),ff);
            end
            fid=fopen(ff,'rb','b');
            if fid == -1 error(sprintf('Can''t open %s for input',ff)); end
            
            t=fread(fid,512,'uchar').';
            if (t(1:3)~='UC2')
                error(sprintf('%s is not an SFS file type UC2',ff))
            end
            itemlist = [0 1 0 0 t(512)];
            
            proglist={};
            for i=2:200
                pos = ftell(fid);
                [t,n]=fread(fid,512,'uchar');
                if (n < 512) break; end
                mm=pow2(1,8*([0 1 2 3]+(t(512)==0)*[3 1 -1 -3]));
                itemlist(i,:)=[mm*[t(389:392) t(393:396) t(413:416)] pos t(512)];
                if itemlist(i,1)>29
                    error(sprintf('%d is not a valid SFS item type',itemlist(i,1)))
                end
                proglist{i,1}=char(zerotrim(t(1:256)'));
                proglist{i,2}=char(zerotrim(t(257:384)'));
                proglist{i,3}=char(zerotrim(t(437:456)'));
                fseek(fid,itemlist(i,3),'cof');
            end
            ffx={ff; [fid 0 0 0]; itemlist; proglist};
        else
            ffx=ff;
            ff=ffx{1};
            fid=ffx{2}(1);
            if fid<0 
                fid=fopen(ffx{1},'rb',char('b'+(ffx{2}(2)~=0)*('l'-'b')));
            end
        end
        
        % now try to find the requested item

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美情侣在线播放| 91精品国产一区二区三区| 日韩精品成人一区二区三区| 久久新电视剧免费观看| 欧美揉bbbbb揉bbbbb| 成av人片一区二区| 日本午夜精品一区二区三区电影| 欧美韩国日本综合| 欧美日本视频在线| 91色porny| 国产剧情av麻豆香蕉精品| 日韩精品电影一区亚洲| 亚洲欧美一区二区在线观看| 26uuu久久天堂性欧美| 欧美日韩高清一区| 91丝袜国产在线播放| 粉嫩一区二区三区在线看| 久久 天天综合| 日av在线不卡| 国产一区二区免费在线| 久久精品国产99| 亚洲高清不卡在线| 一区二区三区在线视频观看| 国产精品久久毛片| 亚洲国产精品ⅴa在线观看| 精品国产三级a在线观看| 欧美日韩第一区日日骚| 欧美三级中文字| 欧美偷拍一区二区| 欧美在线免费观看亚洲| 色欧美日韩亚洲| 91免费版在线| 91猫先生在线| 欧美亚洲一区二区在线| 91成人网在线| 欧美网站一区二区| 欧美在线观看一二区| 日本韩国欧美在线| 在线视频亚洲一区| 欧美性做爰猛烈叫床潮| 在线观看免费一区| 欧洲日韩一区二区三区| 欧洲人成人精品| 欧美乱妇20p| 日韩精品一区二区三区视频在线观看 | 亚洲天堂av一区| 亚洲视频一区在线观看| 亚洲免费av在线| 一区二区三区日韩欧美| 亚洲高清久久久| 日韩成人精品视频| 狠狠久久亚洲欧美| 成人免费视频视频在线观看免费| 风间由美中文字幕在线看视频国产欧美| 国产精品一区二区三区乱码 | 欧美影视一区二区三区| 欧美日韩视频在线第一区| 欧美一区二区在线视频| 日韩欧美久久久| 国产婷婷精品av在线| 国产精品国产馆在线真实露脸| 日韩理论电影院| 免费在线欧美视频| 国产九九视频一区二区三区| av午夜一区麻豆| 欧美日韩精品欧美日韩精品一综合| 欧美福利视频一区| 欧美精品一区二区三区四区 | 国产精品美女一区二区在线观看| 综合久久久久久久| 婷婷中文字幕综合| 国产乱妇无码大片在线观看| 色视频成人在线观看免| 日韩欧美你懂的| 国内精品免费在线观看| 99久久精品国产观看| 91精品在线免费| 国产午夜精品一区二区| 亚洲高清免费观看高清完整版在线观看| 日本aⅴ精品一区二区三区| 成人av小说网| 欧美一区二区三区免费在线看| 国产精品久久久久影院老司| 午夜精品久久久久| 成人午夜av影视| 欧美一区二区视频网站| 中文字幕日韩欧美一区二区三区| 日韩高清不卡一区| 97aⅴ精品视频一二三区| 日韩欧美一级在线播放| 亚洲视频 欧洲视频| 国产一区在线观看视频| 在线免费观看日本一区| 欧美国产综合色视频| 日韩精品久久理论片| 色婷婷一区二区三区四区| 久久亚洲私人国产精品va媚药| 亚洲制服丝袜一区| 成人性生交大片免费看中文网站| 欧美狂野另类xxxxoooo| 一区在线观看视频| 国产在线精品免费av| 欧美理论电影在线| 国产精品高潮呻吟| 狠狠久久亚洲欧美| 91精品国产91综合久久蜜臀| 亚洲精品国产成人久久av盗摄 | 蜜臀91精品一区二区三区| 欧美在线你懂得| 国产精品的网站| 国产成人综合网| 久久女同精品一区二区| 奇米四色…亚洲| 欧美日韩精品专区| 亚洲一区成人在线| 色婷婷av一区二区三区gif| 欧美极品xxx| 国产精品一区二区不卡| 精品久久人人做人人爰| 另类小说色综合网站| 欧美日韩色一区| 午夜视黄欧洲亚洲| 欧美在线free| 伊人色综合久久天天| 一本大道久久a久久综合| 日韩毛片视频在线看| jizzjizzjizz欧美| 国产精品欧美久久久久无广告| 国产一区二区毛片| 国产三级久久久| 国产99久久久国产精品潘金| 国产无遮挡一区二区三区毛片日本| 国产在线精品一区二区| 久久久国产一区二区三区四区小说| 国产麻豆成人精品| 久久亚洲精华国产精华液| 国产精品夜夜嗨| 国产精品嫩草99a| 成人av在线观| 一区二区三区国产精品| 欧美性感一类影片在线播放| 亚洲不卡在线观看| 91精品在线免费| 国产美女在线观看一区| 久久久精品黄色| 91在线视频观看| 一区二区久久久久久| 欧美精品三级日韩久久| 久久精品国产第一区二区三区| 久久久无码精品亚洲日韩按摩| 国产成人丝袜美腿| 综合久久久久综合| 欧美色成人综合| 美女网站一区二区| 2021国产精品久久精品| 成人av先锋影音| 亚洲国产精品自拍| 精品国精品国产| 不卡的电影网站| 午夜视频一区在线观看| 精品国产一区二区在线观看| 国产999精品久久| 一级日本不卡的影视| 日韩欧美视频在线| 成人深夜福利app| 性做久久久久久免费观看 | 欧美mv日韩mv| 9l国产精品久久久久麻豆| 亚洲高清一区二区三区| 亚洲精品一区二区三区在线观看| 99riav一区二区三区| 视频一区视频二区中文字幕| 亚洲精品在线电影| 91视频在线观看| 久久国产日韩欧美精品| 亚洲人成网站在线| 欧美tickling挠脚心丨vk| 色综合久久久久久久久久久| 蜜桃av噜噜一区二区三区小说| 国产精品婷婷午夜在线观看| 欧美人与性动xxxx| 国产成人综合在线播放| 午夜精品免费在线观看| 国产片一区二区| 欧美一级二级三级乱码| 99riav久久精品riav| 精品亚洲国产成人av制服丝袜| 亚洲欧美成人一区二区三区| 精品日韩欧美在线| 欧美亚洲丝袜传媒另类| 国产成人小视频| 青娱乐精品视频在线| 亚洲欧美另类在线| 国产色产综合产在线视频| 欧美精品九九99久久| 色综合天天综合网天天狠天天 | 韩国理伦片一区二区三区在线播放| 亚洲久草在线视频| 国产欧美日韩亚州综合| 日韩精品一区二区三区中文精品|