Experimental implementation of the adaptive filter of "Interface" magazine in 2016-2017

Dependencies:   amakusa mbed-dsp mbed shimabara ukifune unzen_nucleo_f746

Fork of skeleton_unzen_nucleo_f746 by seiichi horie

ハードウェアおよびソフトウェアはskelton_unzen_nucleo_f746を基本にしています。

Revision:
8:d8d1776e865b
Parent:
7:e86c645231ff
Child:
9:7f521a0b397c
--- a/main.cpp	Fri Jan 27 02:00:26 2017 +0000
+++ b/main.cpp	Fri Jan 27 02:08:53 2017 +0000
@@ -17,25 +17,19 @@
 #include "unzen.h"          // audio framework include file
 #include "umb_adau1361a.h"  // audio codec contoler include file
 #include "amakusa.h"        // audio signal processing class library.
-#include "ukifune.h"          // UI board support routines
-
-
-/*========================= project dependent include. =======================*/
-#include "signal_processing.h"
+#include "ukifune.h"        // UI board support routines
+#include "signal_processing.h"  // Implementaion of user signal processing.
 
 
 /************************* Unzen Dependent Global Variables *******************/
     // I2C is essential to talk with ADAU1361
-I2C i2c(D14, D15);
+static I2C i2c(D14, D15);
     // create an audio codec contoler
-shimabara::UMB_ADAU1361A codec(FS, i2c, CODEC_I2C_ADDR );     
+static shimabara::UMB_ADAU1361A codec(FS, i2c, CODEC_I2C_ADDR );     
     // create an audio framework by singlton pattern
-unzen::Framework audio;
-
-
-/*========================= project dependent Global Variable. ===============*/
+static unzen::Framework audio;
     // create a pointer to the signal processing object.
-SignalProcessing * process;
+static SignalProcessing * process;
 
 
 /************************* Unzen Dependent Function Prototype *****************/
@@ -61,7 +55,7 @@
 }   // End of main
 
 
-/*========================= project dependent Signal Processing. ============*/
+/************************* Unzen Dependent Callbacks **************************/
    // customer signal processing initialization call back.
 void init_callback(
            unsigned int block_size     // block size [sample]