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 F746_SAI_IO FrequencyResponseDrawer SD_PlayerSkeleton UIT_FFT_Real
GraphicEqulizerMain.hpp
00001 //---------------------------------------------------------------- 00002 // グラフィックイコライザ付き SD オーディオプレーヤー 00003 // SD のファイル: *.wav 00004 // PCM,16 ビットステレオ,標本化周波数 44.1 kHz 00005 // 上記以外の形式は扱わない 00006 // 出力:モノラル(L+R,左右チャンネルに出力) 00007 // 00008 // 2017/04/13, Copyright (c) 2017 MIKAMI, Naoki 00009 //---------------------------------------------------------------- 00010 #ifndef F746_SD_GRAPHIC_EQUALIZER_MAIN 00011 #define F746_SD_GRAPHIC_EQUALIZER_MAIN 00012 00013 #include "GraphicEqualizer.hpp" 00014 00015 using namespace Mikami; 00016 00017 void GraphicEqualizerMain() 00018 { 00019 // フィルタの設計と周波数特性描画用 00020 GrEqDesignerDrawer drawerObj( 00021 50, // グラフの左端の位置 00022 130, // グラフの下端の位置 00023 2.5f, // 1 dB 当たりのピクセル数 00024 9, // バンド数 00025 62.5f, // 最低域の周波数特性を決める周波数 00026 AUDIO_FREQUENCY_44K); // 標本化周波数 00027 00028 GraphicEqualizer myPlayer("9-band Graphic Equalizer", 00029 drawerObj); 00030 myPlayer.Execute(); 00031 } 00032 #endif // F746_SD_GRAPHIC_EQUALIZER_MAIN
Generated on Tue Jul 12 2022 21:58:54 by
1.7.2