スペクトログラム このプログラムの説明は,CQ出版社「トランジスタ技術」の2021年10月号から開始された連載記事「STM32マイコンではじめるPC計測」の中にあります.このプログラムといっしょに使うPC側のプログラムについても同誌を参照してください.

Dependencies:   Array_Matrix mbed SerialTxRxIntr DSP_ADDA UIT_FFT_Real Window

Files at this revision

API Documentation at this revision

Comitter:
MikamiUitOpen
Date:
Thu Apr 21 05:45:48 2022 +0000
Parent:
1:d4e3f39ce206
Commit message:
3

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Dec 08 03:15:17 2021 +0000
+++ b/main.cpp	Thu Apr 21 05:45:48 2022 +0000
@@ -10,7 +10,7 @@
 //
 //      ● 入力:  A1
 //
-//  2021/11/17, Copyright (c) 2021 MIKAMI, Naoki
+//  2022/04/21, Copyright (c) 2022 MIKAMI, Naoki
 //---------------------------------------------------------------------
 
 #include <string>
@@ -33,7 +33,7 @@
 const int RATIO_ = 10;              // ダウンサンプリングの倍率:1/10
 const int N_TX_ = 251;              // PC に転送するデータ数
 
-DspAdcIntr myAdc_(10.24f*RATIO_, A1);   // 標本化周波数: 100 kHz
+DspAdcIntr myAdc_(10.24f*RATIO_, A1);   // 標本化周波数: 102.4 kHz
 IirCascade aaf_(ORDER1_, CK1_, G01_);   // ダウンサンプリング用 Anti-alias フィルタ
 DoubleBuffer buf_(N_SMPL_);         // ダウンサンプリングの結果を保存するダブル・バッファ