![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
revised version of F746_SD_GraphicEqualizer
Dependencies: BSP_DISCO_F746NG F746_GUI F746_SAI_IO FrequencyResponseDrawer LCD_DISCO_F746NG SDFileSystem_Warning_Fixed TS_DISCO_F746NG mbed
Fork of F746_SD_GraphicEqualizer by
MyClasses_Functions/MyFunctions.hpp@8:12aa05f3cc24, 2016-05-09 (annotated)
- Committer:
- MikamiUitOpen
- Date:
- Mon May 09 08:54:09 2016 +0000
- Revision:
- 8:12aa05f3cc24
- Child:
- 10:fc6367c2ffcf
8
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
MikamiUitOpen | 8:12aa05f3cc24 | 1 | //-------------------------------------------------------------- |
MikamiUitOpen | 8:12aa05f3cc24 | 2 | // グラフィックイコライザ付き SD オーディオプレーヤーで使う大域関数(ヘッダ) |
MikamiUitOpen | 8:12aa05f3cc24 | 3 | // |
MikamiUitOpen | 8:12aa05f3cc24 | 4 | // 2016/05/09, Copyright (c) 2016 MIKAMI, Naoki |
MikamiUitOpen | 8:12aa05f3cc24 | 5 | //-------------------------------------------------------------- |
MikamiUitOpen | 8:12aa05f3cc24 | 6 | |
MikamiUitOpen | 8:12aa05f3cc24 | 7 | #ifndef F746_MY_FUNCTIONS_HPP |
MikamiUitOpen | 8:12aa05f3cc24 | 8 | #define F746_MY_FUNCTIONS_HPP |
MikamiUitOpen | 8:12aa05f3cc24 | 9 | |
MikamiUitOpen | 8:12aa05f3cc24 | 10 | #include "SAI_InOut.hpp" |
MikamiUitOpen | 8:12aa05f3cc24 | 11 | #include "ButtonGroup.hpp" |
MikamiUitOpen | 8:12aa05f3cc24 | 12 | #include "FileSelectorWav.hpp" |
MikamiUitOpen | 8:12aa05f3cc24 | 13 | #include "DesignerDrawer.hpp" |
MikamiUitOpen | 8:12aa05f3cc24 | 14 | #include "SD_WavReader.hpp" |
MikamiUitOpen | 8:12aa05f3cc24 | 15 | #include "SeekbarGroup.hpp" |
MikamiUitOpen | 8:12aa05f3cc24 | 16 | #include "BiquadGrEq.hpp" |
MikamiUitOpen | 8:12aa05f3cc24 | 17 | |
MikamiUitOpen | 8:12aa05f3cc24 | 18 | using namespace Mikami; |
MikamiUitOpen | 8:12aa05f3cc24 | 19 | |
MikamiUitOpen | 8:12aa05f3cc24 | 20 | // 1フレーム分の信号処理 (イコライザ) の実行 |
MikamiUitOpen | 8:12aa05f3cc24 | 21 | void SignalProcessing(SD_WavReader &sdReader, SaiIO &mySai, |
MikamiUitOpen | 8:12aa05f3cc24 | 22 | int16_t sn[], BiquadGrEq hn[], |
MikamiUitOpen | 8:12aa05f3cc24 | 23 | int stages, bool on); |
MikamiUitOpen | 8:12aa05f3cc24 | 24 | |
MikamiUitOpen | 8:12aa05f3cc24 | 25 | // SD カードのファイルのオープン |
MikamiUitOpen | 8:12aa05f3cc24 | 26 | int32_t SD_Open(SD_WavReader &sdReader, |
MikamiUitOpen | 8:12aa05f3cc24 | 27 | string fileName, int32_t frameSize); |
MikamiUitOpen | 8:12aa05f3cc24 | 28 | |
MikamiUitOpen | 8:12aa05f3cc24 | 29 | // ファイルの選択 |
MikamiUitOpen | 8:12aa05f3cc24 | 30 | void SelectFile(ButtonGroup &menu, FileSelector &selector, |
MikamiUitOpen | 8:12aa05f3cc24 | 31 | Label &msg, string &selectedName); |
MikamiUitOpen | 8:12aa05f3cc24 | 32 | |
MikamiUitOpen | 8:12aa05f3cc24 | 33 | // フィルタの変更 |
MikamiUitOpen | 8:12aa05f3cc24 | 34 | void ModifyFilter(DesignerDrawer &drawerObj, |
MikamiUitOpen | 8:12aa05f3cc24 | 35 | SeekbarGroup &myBars, BiquadGrEq hn[], |
MikamiUitOpen | 8:12aa05f3cc24 | 36 | Button &flat, ButtonGroup &onOff, bool &on); |
MikamiUitOpen | 8:12aa05f3cc24 | 37 | |
MikamiUitOpen | 8:12aa05f3cc24 | 38 | #endif // F746_MY_FUNCTIONS_HPP |