Reverb system using singlae allpass filter class for ST Nucleo F401RE.

Dependencies:   UIT_ADDA mbed

Revision:
2:e1227bdb1ba5
Parent:
0:ff3a8918b1ad
diff -r 5ea83bd12880 -r e1227bdb1ba5 main.cpp
--- a/main.cpp	Mon Nov 10 10:01:09 2014 +0000
+++ b/main.cpp	Wed Nov 12 10:41:25 2014 +0000
@@ -1,13 +1,12 @@
 //--------------------------------------------------------------
 // Reverb system using all-pass filter dlass
-// 2014/10/31, Copyright (c) 2014 MIKAMI, Naoki
+// 2014/11/12, Copyright (c) 2014 MIKAMI, Naoki
 //--------------------------------------------------------------
 
 #include "mbed.h"
 
 #include "ADC_Base.hpp"         // for ADC not using interrupt
 #include "DAC_MCP4922.hpp"      // for DAC MCP4922
-#include "ScfClockTim3.hpp"     // for clock supplied to SCF
 
 #include "allpass_filter.hpp"
 
@@ -24,7 +23,7 @@
 
 int main()
 {  
-    ScfClockTim3(500000);       // cutoff frequency: 5 kHz
+    myDac_.ScfClockTim3(500000);    // cutoff frequency: 5 kHz
     while (true)
     {
         float xn = adc_.Read(); // Read from A0