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
Diff: MyClasses_Functions/MyFunctions.hpp
- Revision:
- 8:12aa05f3cc24
- Child:
- 10:fc6367c2ffcf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/MyClasses_Functions/MyFunctions.hpp Mon May 09 08:54:09 2016 +0000 @@ -0,0 +1,38 @@ +//-------------------------------------------------------------- +// グラフィックイコライザ付き SD オーディオプレーヤーで使う大域関数(ヘッダ) +// +// 2016/05/09, Copyright (c) 2016 MIKAMI, Naoki +//-------------------------------------------------------------- + +#ifndef F746_MY_FUNCTIONS_HPP +#define F746_MY_FUNCTIONS_HPP + +#include "SAI_InOut.hpp" +#include "ButtonGroup.hpp" +#include "FileSelectorWav.hpp" +#include "DesignerDrawer.hpp" +#include "SD_WavReader.hpp" +#include "SeekbarGroup.hpp" +#include "BiquadGrEq.hpp" + +using namespace Mikami; + +// 1フレーム分の信号処理 (イコライザ) の実行 +void SignalProcessing(SD_WavReader &sdReader, SaiIO &mySai, + int16_t sn[], BiquadGrEq hn[], + int stages, bool on); + +// SD カードのファイルのオープン +int32_t SD_Open(SD_WavReader &sdReader, + string fileName, int32_t frameSize); + +// ファイルの選択 +void SelectFile(ButtonGroup &menu, FileSelector &selector, + Label &msg, string &selectedName); + +// フィルタの変更 +void ModifyFilter(DesignerDrawer &drawerObj, + SeekbarGroup &myBars, BiquadGrEq hn[], + Button &flat, ButtonGroup &onOff, bool &on); + +#endif // F746_MY_FUNCTIONS_HPP