Output the audio signal with filtering by IIR filter in the *.wav file on the SD card using onboard CODEC. SD カードの *.wav ファイルのオーディオ信号を遮断周波数可変の IIR フィルタを通して,ボードに搭載されているCODEC で出力する.

Dependencies:   BSP_DISCO_F746NG F746_GUI LCD_DISCO_F746NG SDFileSystem_Warning_Fixed TS_DISCO_F746NG mbed FrequencyResponseDrawer F746_SAI_IO Array_Matrix

Revision:
5:3e8ca1ed31a1
Parent:
0:04b43b777fae
Child:
11:769d986c10fa
--- a/MyClasses_Functions/FileSelectorWav.hpp	Mon Apr 25 13:01:25 2016 +0000
+++ b/MyClasses_Functions/FileSelectorWav.hpp	Sun May 01 02:45:17 2016 +0000
@@ -120,19 +120,27 @@
             if (sort)
                 std::sort(sortedFileNames_, sortedFileNames_+fileCount_); 
             
-            Erase(MAX_NAME_LENGTH_*((sFONT *)(&Font16))->Width, 270-Y_);
+////            Erase(MAX_NAME_LENGTH_*((sFONT *)(&Font16))->Width, 270-Y_);
+            Erase(X_, 0, MAX_NAME_LENGTH_*((sFONT *)(&Font16))->Width, 288);
             rect_->DrawAll();
             for (int n=0; n<fileCount_; n++)
                 fileNameLabels_[n]->Draw(GetFileNameNoExt(n));
         }
-
+/*
         void Erase(uint16_t width, uint16_t height,
                    uint32_t color = GuiBase::ENUM_BACK)
         {
             lcd_->SetTextColor(color);
             lcd_->FillRect(X_, Y_, width, height);
         }
+*/
 
+        void Erase(uint16_t x, uint16_t y, uint16_t width, uint16_t height,
+                   uint32_t color = GuiBase::ENUM_BACK)
+        {
+            lcd_->SetTextColor(color);
+            lcd_->FillRect(x, y, width, height);
+        }
     private:
         const uint8_t X_, Y_, W_H_, V_L_;
         const int MAX_FILES_;