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