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

myFunctions.hpp

Committer:
MikamiUitOpen
Date:
2017-02-17
Revision:
0:a539141b9dec
Child:
2:acc16e3f91ac

File content as of revision 0:a539141b9dec:

#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