Integrated program of 4 different kinds of application programs for processing sound signal. 4種類のサウンド信号処理を統合したプログラム.

Dependencies:   F746_GUI F746_SAI_IO FrequencyResponseDrawer SD_PlayerSkeleton UIT_FFT_Real

Files at this revision

API Documentation at this revision

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();              // スペクトログラム
+    }
 }