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 不韋 呂

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers MyFunctions.hpp Source File

MyFunctions.hpp

00001 //--------------------------------------------------------------
00002 //  グラフィックイコライザ付き SD オーディオプレーヤーで使う大域関数(ヘッダ)
00003 //
00004 //  2016/05/09, Copyright (c) 2016 MIKAMI, Naoki
00005 //--------------------------------------------------------------
00006 
00007 #ifndef F746_MY_FUNCTIONS_HPP
00008 #define F746_MY_FUNCTIONS_HPP
00009 
00010 #include "SAI_InOut.hpp"
00011 #include "ButtonGroup.hpp"
00012 #include "FileSelectorWav.hpp"
00013 #include "DesignerDrawer.hpp"
00014 #include "SD_WavReader.hpp"
00015 #include "SeekbarGroup.hpp"
00016 #include "BiquadGrEq.hpp"
00017 
00018 using namespace Mikami;
00019 
00020 // 1フレーム分の信号処理 (イコライザ) の実行
00021 void SignalProcessing(SD_WavReader &sdReader, SaiIO &mySai,
00022                       int16_t sn[], BiquadGrEq hn[],
00023                       int stages, bool on);
00024 
00025 // SD カードのファイルのオープン
00026 int32_t SD_Open(SD_WavReader &sdReader,
00027                 string fileName, int32_t frameSize);
00028 
00029 // ファイルの選択
00030 void SelectFile(ButtonGroup &menu, FileSelector &selector,
00031                 Label &msg, string fileList[], int *selected);
00032 
00033 // フィルタの変更
00034 void ModifyFilter(DesignerDrawer &drawerObj,
00035                   SeekbarGroup &myBars, BiquadGrEq hn[],
00036                   Button &flat, ButtonGroup &onOff, bool &on);
00037 
00038 #endif  // F746_MY_FUNCTIONS_HPP