Demo program of digital signal processing: Variable LPF/HPF, Vocal canceller, Pitch shifter, Reverbrator. ディジタル信号処理のデモプログラム. 遮断周波数可変 LPF/HPF,ボーカルキャンセラ,ピッチシフタ,残響生成器.

Dependencies:   Array_Matrix F446_AD_DA UIT_AQM1602 mbed

Revision:
5:503bd366fd73
Parent:
0:fa74b1130cc3
--- a/SignalProcessing/Reverbrator.hpp	Mon Jan 30 13:58:11 2017 +0000
+++ b/SignalProcessing/Reverbrator.hpp	Tue Jan 31 12:52:35 2017 +0000
@@ -1,7 +1,7 @@
 //--------------------------------------------------------------
 //  残響生成器
 //
-// 2017/01/28, Copyright (c) 2017 MIKAMI, Naoki
+// 2017/01/31, Copyright (c) 2017 MIKAMI, Naoki
 //--------------------------------------------------------------
 
 #ifndef ECHO_SYSTEM_HPP
@@ -21,10 +21,8 @@
     virtual float Execute(float xn1, float xn2)
     {
         float xn = G0_*(xn1 + xn2)*0.5f;
-        float yn = cmF1_.Execute(xn)
-                 + cmF2_.Execute(xn)
-                 + cmF3_.Execute(xn)
-                 + cmF4_.Execute(xn);
+        float yn = cmF1_.Execute(xn) + cmF2_.Execute(xn)
+                 + cmF3_.Execute(xn) + cmF4_.Execute(xn);
         yn = apF2_.Execute(apF1_.Execute(yn));
         yn = yn + xn;   // add direct input signal
         return yn;