Output the audio signal (*.bin) with filtering by IIR filter in the SD card using onboard CODEC. For *.wav file, F746_SD_WavPlayer and F746_SD_GraphicEqualiser are published on mbed. SD カードのオーディオ信号 (*.bin) を遮断周波数可変の IIR フィルタを通して,ボードに搭載されているCODEC で出力する.*.wav 形式のファイル用には,F746_SD_WavPlayer と F746_SD_GraphicEqualiser を mbed で公開している.

Dependencies:   BSP_DISCO_F746NG_patch_fixed F746_GUI LCD_DISCO_F746NG SDFileSystem_Warning_Fixed TS_DISCO_F746NG mbed

Revision:
5:4a99dabc9180
Parent:
4:76aa20fb326a
--- a/MyClasses_Functions/FrquencyResponseDrawer.hpp	Sat Apr 16 13:53:53 2016 +0000
+++ b/MyClasses_Functions/FrquencyResponseDrawer.hpp	Sun Apr 17 08:44:43 2016 +0000
@@ -1,14 +1,15 @@
 //-----------------------------------------------------------
+//  周波数が対数スケールの周波数特性を描画するクラス
 //  FrqRespDrawer class Header
 //
-//  2016/04/16, Copyright (c) 2016 MIKAMI, Naoki
+//  2016/04/17, Copyright (c) 2016 MIKAMI, Naoki
 //-----------------------------------------------------------
 
 #ifndef F746_FRQ_RESP_DRAWER_HPP
 #define F746_FRQ_RESP_DRAWER_HPP
 
-#include "Label.hpp"
-#include "IIR_CascadeFrqResp.hpp"
+#include "NumericLabel.hpp"
+#include "FrequancyResponseBase.hpp"
 
 namespace Mikami
 {
@@ -54,7 +55,9 @@
                           uint32_t textColor = LCD_COLOR_WHITE); 
 
         // 周波数特性のグラフの描画
-        void DrawGraph(FrequencyResponse &frqResp);
+        void DrawGraph(FrequencyResponse &frqResp, uint32_t color);
+        void DrawGraph(FrequencyResponse &frqResp)
+        {   DrawGraph(frqResp, LINE_COLOR_);}
 
         // 消去
         void Erase();
@@ -74,7 +77,7 @@
         const uint32_t AXIS_COLOR_;
         const uint32_t BACK_COLOR_;
         const float DB1_;
-
+        
         // 丸め
         int Round(float x) { return x + 0.5f - (x < 0); }