ShortTimeFourierData
ShortTimeFourierData[assoc]
信号の短時間フーリエ変換(STFT)の結果と特性を表す.
詳細
- ShortTimeFourierを使って,リストまたは音声信号からShortTimeFourierDataオブジェクトを作る.
- InverseShortTimeFourierを使ってSTFTデータからもとの信号を再構築する.
- 短時間フーリエデータオブジェクト stft について,stft["prop"]を使って次の特性を得ることができる.
-
"Data" もとの信号の短時間フーリエ変換 "DataType" もとの信号のタイプ "FourierParameters" STFTで使われたフーリエパラメータ "PartitionOffset" STFTで使われたパーティションのオフセット "PartitionPadding" STFTで使われたパーティションの充填 "PartitionSize" STFTで使われたパーティションサイズ "SampleRate" もとの信号のサンプルレート "SmoothingWindow" STFTで使われた平滑化窓 - "PartitionSize"以外の stft の全特性が変更可能である.
例題
すべて開く すべて閉じる例 (1)
スコープ (6)
データ (2)
特性 (4)
ShortTimeFourierDataの特性を調べる:
chirp = Table[Cos[200. π t + 2400. π t ^ 2], {t, 0., 1.6, 1 / 8000.}];stft = ShortTimeFourier[chirp]stft["Properties"]stft["Data"]//Short
stft["Data"]//DimensionsAssociationMap[stft[#]&, Rest[stft["Properties"]]]//Datasetchirp = Table[Sin[ π t + 10. π t ^ 2], {t, 0., 1.6, 1 / 200.}];
stft = ShortTimeFourier[chirp, 100, 10, HannWindow]stft["Data"] = stft["Data"] * 10;変換は,InverseShortTimeFourierを使って近似的に反転できる:
{chirp, InverseShortTimeFourier[stft][[ ;; Length[chirp]]]}//ListLinePlotchirp = Table[Sin[ π t + 10. π t ^ 2], {t, 0., 1.6, 1 / 200.}];
stft = ShortTimeFourier[chirp, 100, 10, HannWindow]stft["PartitionOffset"] = 12;変換はInverseShortTimeFourierを使って近似的に反転できる:
{chirp, InverseShortTimeFourier[stft][[ ;; Round[1.2 * Length[chirp]]]]}//ListLinePlot"DataType"特性と"SampleRate"特性を変更する:
chirp = Table[Sin[30 π t + 200. π t ^ 2], {t, 0., 1.6, 1 / 2000.}];
stft = ShortTimeFourier[chirp, 100, 10, HannWindow]stft["DataType"] = "Sound";
stft["SampleRate"] = 2000;変換はInverseShortTimeFourierを使って近似的に反転できる:
InverseShortTimeFourier[stft]関連するガイド
テキスト
Wolfram Research (2019), ShortTimeFourierData, Wolfram言語関数, https://reference.wolfram.com/language/ref/ShortTimeFourierData.html.
CMS
Wolfram Language. 2019. "ShortTimeFourierData." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ShortTimeFourierData.html.
APA
Wolfram Language. (2019). ShortTimeFourierData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ShortTimeFourierData.html
BibTeX
@misc{reference.wolfram_2026_shorttimefourierdata, author="Wolfram Research", title="{ShortTimeFourierData}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/ShortTimeFourierData.html}", note=[Accessed: 17-November-2026]}
BibLaTeX
@online{reference.wolfram_2026_shorttimefourierdata, organization={Wolfram Research}, title={ShortTimeFourierData}, year={2019}, url={https://reference.wolfram.com/language/ref/ShortTimeFourierData.html}, note=[Accessed: 17-November-2026]}