Skip to content

Commit 71b93d2

Browse files
authored
Update generateMelSpectrogramCode.m
1 parent 5cca8d1 commit 71b93d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

HelperFiles/generateMelSpectrogramCode.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
code = sprintf('%s FilterBankDesignDomain="linear",...\n',code);
6060
code = sprintf('%s FilterBankNormalization="%s",...\n',code,norm);
6161
code = sprintf('%s WindowNormalization=false,...\n',code);
62-
code = sprintf('%s NumBands=%d,...);\n',code,n_mels);
62+
code = sprintf('%s NumBands=%d,...\n',code,n_mels);
6363
code = sprintf('%s FrequencyRange=[%f %f]);\n',code,fmin,fmax);
6464

6565
if strcmp(type,'object')
@@ -87,4 +87,4 @@
8787
out = sprintf('%s\nS = extract(afe,y);',code);
8888
end
8989

90-
end
90+
end

0 commit comments

Comments
 (0)