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
Revision 16:d60e5187fd31, committed 2017-04-27
- Comitter:
- MikamiUitOpen
- Date:
- Thu Apr 27 23:55:53 2017 +0000
- Parent:
- 15:fac50dd1de44
- Commit message:
- 17
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Apr 13 23:23:30 2017 +0000
+++ b/main.cpp Thu Apr 27 23:55:53 2017 +0000
@@ -31,13 +31,13 @@
"Reverb, Voice Changer",
"Spectrogram"};
ButtonGroup menuButtons(
- 110, 50, 260, 50, 4, MENU, 0, 5, 1, -1, Font16);
+ 100, 50, 280, 50, 4, MENU, 0, 5, 1, -1, Font16);
int num = 0;
while (!menuButtons.GetTouchedNumber(num)) {}
menuButtons.EraseAll();
title.Draw("");
-
+/*
switch (num)
{
case 0: GraphicEqualizerMain(); // グラフィックイコライザ
@@ -49,6 +49,14 @@
case 3: Spectrogram(); // スペクトログラム
break;
}
-
- while (true);
+*/
+ // 以下で実行される関数は,中で無限ループになっているため main() 関数には
+ // 戻ってこないので,break 文は不要
+ switch (num)
+ {
+ case 0: GraphicEqualizerMain(); // グラフィックイコライザ
+ case 1: VariableIirFilterMain(); // 遮断周波数可変 LPF/HPF
+ case 2: ReverbFrShifter(); // 残響生成/周波数変換
+ case 3: Spectrogram(); // スペクトログラム
+ }
}