Basic Audio Signal Processing Library

Dependents:   unzen_sample_nucleo_f746 skeleton_unzen_nucleo_f746 ifmag_noise_canceller synthesizer_f746

オーディオ信号処理用のライブラリです。

mbed-dspのフィルタ群向けに作ったクラス・ラッパーのほか、以下のクラスを用意しています。

  • ヒステリシス
  • sin/cosオシレータ
  • リミッター

クラスは全て名前空間amakusaに含まれます。

Revision:
5:3d6cf4dbf458
Parent:
1:0a37bce4f985
Child:
6:ed10856c2305
--- a/firdecimator.h	Thu Jan 26 03:42:05 2017 +0000
+++ b/firdecimator.h	Fri Feb 10 13:24:30 2017 +0000
@@ -19,7 +19,7 @@
             * @param[in] blockSize Maximum number of the input samples to be given to run() method at onece. Must be integer multiple of parameter M. 
             * @param[in] M Down sampling ratio 
             */
-        FIRDecimator(uint16_t taps, float32_t *pCoeff, uint32_t blockSize, uint8_t m);
+        FIRDecimator(uint16_t taps, float32_t *pCoeff, uint32_t block_size, uint8_t m);
             /**
             * Destructor
             */
@@ -30,7 +30,7 @@
             * @param[out] pDst Pointer to the destination buffer to store the filtered signal. 
             * @param[in] blockSize Number of the sample to be filitered. If skipped or zero, blockSize is assmued the one passed to the constructor. Must be integer multiple of parameter M of the constructor.
             */
-        virtual void run( float32_t *pSrc, float32_t *pDst, uint32_t blockSize = 0 );
+        virtual void run( float32_t *pSrc, float32_t *pDst);
     private:
         arm_fir_decimate_instance_f32 state;
     };