Synthesizer based on the Unzen / Nucleo F746ZG

Dependencies:   amakusa mbed-dsp mbed shimabara ukifune unzen_nucleo_f746

Fork of skeleton_unzen_nucleo_f746 by seiichi horie

雲仙フレームワークのテストとして作っているプロジェクトです。中身はどんどん変っていきます。 説明はDSP空挺団の「シンセサイザー」カテゴリーを参照してください。初回は「ドッグフードを食べる」です。

Revision:
25:d15dd7b9101c
Parent:
22:dc2cbe8db9d9
Child:
27:fcb1f1da2ad7
--- a/svfilter.cpp	Wed Feb 08 21:16:41 2017 +0000
+++ b/svfilter.cpp	Fri Feb 10 13:28:41 2017 +0000
@@ -43,14 +43,12 @@
 *    D2 = lp
 *    
 ************************************************************************/    
-void SVFilter::run( float32_t *pSrc, float32_t *pDst, uint32_t blockSize  )
+void SVFilter::run( float32_t *pSrc, float32_t *pDst )
 {
     float32_t bp, lp, hp;
     
-    if ( blockSize == 0 )
-        blockSize = this->blockSize;
     
-    for ( int i= 0; i<blockSize; i++ )
+    for ( int i= 0; i<this->block_size; i++ )
     {
             // calc the filter
         bp = this->d1;