function asdOpt=asdOptSet % vdOptSet: Set options for ASD (anomaly sound detection) % % Usage: % asdOpt=asdOptSet; % % Description: % asdOpt=asdOptSet returns the default options for ASD. % % Example: % asdOpt=asdOptSet % Category: Options for anomaly sound detection % Roger Jang, 20191213 %% === Function for feature extraction and plotting asdOpt.feaType='mfcc'; % 'MFCC' or 'spectrum'; asdOpt.feaExtractFcn=@asdFeaExtractFromFile; asdOpt.hmmPlotFcn=@asdHmmPlot; %% === Folder for wave files asdOpt.audioDir='D:\users\jang\app\anomalySoundDetect-iii\anomalySoundDetect\dataset'; %% === Parameters for ASD asdOpt.frameDuration=32; % ms asdOpt.overlapDuration=16; % Frame step/shift asdOpt.outputName={'silence', 'normal', 'abnormal'}; asdOpt.gaussianNum=3; % No. of Gaussians for each class