Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: F746_GUI SRF08 Array_Matrix TS_DISCO_F746NG mbed LCD_DISCO_F746NG BSP_DISCO_F746NG SDFileSystem_Warning_Fixed FrequencyResponseDrawer F746_SAI_IO
MyFunctions.hpp
00001 //-------------------------------------------------------------- 00002 // フィルタ処理付き SD オーディオプレーヤーで使う大域関数(ヘッダ) 00003 // 00004 // 2016/07/04, 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 00016 using namespace Mikami; 00017 00018 // 1フレーム分の信号処理 (IIR フィルタ) の実行 00019 void IIR_Filtering(SD_WavReader &sdReader, SaiIO &mySai, 00020 float g0, Biquad hn[], 00021 int order, bool filterOn); 00022 00023 // SD カードのファイルのオープン 00024 int32_t SD_Open(SD_WavReader &sdReader, 00025 string fileName, int32_t frameSize); 00026 00027 // ファイルの選択 00028 void SelectFile(ButtonGroup &menu, FileSelector &selector, 00029 Label &msg, string &selectedName); 00030 00031 // フィルタの変更 00032 void ModifyFilter(DesignerDrawer &drawerObj, 00033 ButtonGroup &lpHp, ButtonGroup &onOff, 00034 Biquad hn[], Biquad::Coefs ck[], 00035 float &g0, bool &filterOn); 00036 00037 #endif // F746_MY_FUNCTIONS_HPP
Generated on Thu Jul 14 2022 01:12:12 by
1.7.2