
Realtime sound spectrogram using FFT or linear prediction. Spectrogram is displayed on the display of PC. リアルタイム・スペクトログラム.解析の手法:FFT,線形予測法.スペクトログラムは PC のディスプレー装置に表示される.PC 側のプログラム:F446_Spectrogram.
Dependencies: Array_Matrix mbed SerialTxRxIntr F446_AD_DA UIT_FFT_Real
Diff: myFunctions.hpp
- Revision:
- 0:a539141b9dec
- Child:
- 2:acc16e3f91ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/myFunctions.hpp Fri Feb 17 04:55:10 2017 +0000 @@ -0,0 +1,22 @@ +#include "mbed.h" +#include <string> +#include "Array.hpp" +using namespace Mikami; + +#ifndef MY_FUNCTIONS_HPP +#define MY_FUNCTIONS_HPP + +const int RX_MAX_ = 32; // 受信バッファの文字数の最大値 + +extern string rxBuffer_; // 受信バッファ +extern __IO bool eol_; // "\r" を受信した場合に true + +extern Serial pc_; +extern DigitalOut myLed_; + +// シリアル・ポートの受信割り込み +void Rx(); +// データを PC へ転送 +void Xfer(Array<int16_t> &xn); + +#endif // MY_FUNCTIONS_HPP