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
Diff: MyClasses_Functions/FileSelector.hpp
- Revision:
- 5:4a99dabc9180
- Parent:
- 4:76aa20fb326a
diff -r 76aa20fb326a -r 4a99dabc9180 MyClasses_Functions/FileSelector.hpp --- a/MyClasses_Functions/FileSelector.hpp Sat Apr 16 13:53:53 2016 +0000 +++ b/MyClasses_Functions/FileSelector.hpp Sun Apr 17 08:44:43 2016 +0000 @@ -31,6 +31,16 @@ lcd_(GuiBase::GetLcdPtr()), sdReader_(reader), prev_(-1) {} + ~FileSelector() + { + for (int n=0; n<fileCount_; n++) + delete fileNameLabels_[n]; + delete[] fileNameLabels_; + delete[] rect_; + delete[] nonString_; + delete[] sortedFileNames_; + delete[] fileNames_; + } bool CreateTable() { DIR* dp = opendir("/sd"); @@ -65,7 +75,7 @@ if (fileCount_ == 0) return false; - nonString_ = new string[fileCount_]; + nonString_ = new string[fileCount_]; for (int n=0; n<fileCount_; n++) nonString_[n] = ""; rect_ = new ButtonGroup(X_, Y_, W_H_, W_H_, fileCount_, nonString_, 0, V_L_-W_H_, 1,