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 Array_Matrix TS_DISCO_F746NG mbed LCD_DISCO_F746NG BSP_DISCO_F746NG SDFileSystem_Warning_Fixed FrequencyResponseDrawer F746_SAI_IO
MyClasses_Functions/MyFunctions.hpp
- Committer:
- MikamiUitOpen
- Date:
- 2016-04-19
- Revision:
- 0:04b43b777fae
- Child:
- 1:cc2669b9d1e2
File content as of revision 0:04b43b777fae:
//--------------------------------------------------------------
// フィルタ処理付き SD オーディオプレーヤーで使う大域関数(ヘッダ)
//
// 2016/04/19, Copyright (c) 2016 MIKAMI, Naoki
//--------------------------------------------------------------
#ifndef F746_MY_FUNCTIONS_HPP
#define F746_MY_FUNCTIONS_HPP
#include "sai_io_o.hpp"
#include "ButtonGroup.hpp"
#include "FileSelectorWav.hpp"
#include "DesignerDrawer.hpp"
#include "SD_WavReader.hpp"
using namespace Mikami;
// 1フレーム分の信号処理 (IIR フィルタ) の実行
void ProcessSignal(SD_WavReader &sdReader, SaiIO_O &mySai,
int16_t sn[], float g0, Biquad hn[],
int order, bool filterOn);
// 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,
ButtonGroup &lpHp, ButtonGroup &onOff,
Biquad hn[], Biquad::Coefs ck[],
float &g0, bool &filterOn);
#endif // F746_MY_FUNCTIONS_HPP