Difference beteween gtcc function and audioFeatureExtractor

2 ビュー (過去 30 日間)
Yunxing Tian
Yunxing Tian 2020 年 7 月 28 日
コメント済み: Yunxing Tian 2020 年 7 月 29 日
I am trying to compare the build-in function gtcc() and extract() for extracting the GTCC features of an audio
By using gtcc function as:
features_gtcc = gtcc(x,fs,"LogEnergy","ignore");
and using extract as:
extractor = audioFeatureExtractor("SampleRate",fs, ...
"Window",hamming(round(0.03*fs),"periodic"), ... % Defalt overlap and window size for gtcc function
"OverlapLength",round(0.02*fs), ...
"gtcc",true);
features_extract = extract(extractor,x);
Two results are different.
Could anyone tell me why is that please?
  3 件のコメント
Yunxing Tian
Yunxing Tian 2020 年 7 月 29 日
Dear Jibrahim, my MATLAB version is R2020a Education
Yunxing Tian
Yunxing Tian 2020 年 7 月 29 日
Dear Jibrahim, I think i solved this problem, thanks a lot

サインインしてコメントする。

採用された回答

Yunxing Tian
Yunxing Tian 2020 年 7 月 29 日
Problem solved, it is because the parameter settings
the default setting in two functions is different:
audio feature extractor:
ERB spectrum default setting is:
Num band: 34
Spectrum type: power:
frequency [0, 8000]
The gtcc default setting is
Num band : 32
Spectrum type: Magnitude:
"FrequencyRange", [50, fs/2]
Make them the same ==> problem solved

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulation, Tuning, and Visualization についてさらに検索

タグ

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by