Basic Audio Signal Processing Library

Dependents:   unzen_sample_nucleo_f746 skeleton_unzen_nucleo_f746 ifmag_noise_canceller synthesizer_f746

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

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

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

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

Committer:
shorie
Date:
Thu Jan 26 03:42:05 2017 +0000
Revision:
4:c2a4ebafb868
Parent:
1:0a37bce4f985
Child:
5:3d6cf4dbf458
Comment updated.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
shorie 1:0a37bce4f985 1 #ifndef __abstractfilter_h_
shorie 1:0a37bce4f985 2 #define __abstractfilter_h_
shorie 1:0a37bce4f985 3
shorie 1:0a37bce4f985 4
shorie 1:0a37bce4f985 5 #include "arm_math.h"
shorie 1:0a37bce4f985 6
shorie 4:c2a4ebafb868 7 /**
shorie 4:c2a4ebafb868 8 * \brief audio processing class libraries.
shorie 4:c2a4ebafb868 9 */
shorie 1:0a37bce4f985 10 namespace amakusa
shorie 1:0a37bce4f985 11 {
shorie 1:0a37bce4f985 12
shorie 1:0a37bce4f985 13 class AbstractFilter
shorie 1:0a37bce4f985 14 {
shorie 1:0a37bce4f985 15 public:
shorie 1:0a37bce4f985 16 AbstractFilter( uint32_t blockSize);
shorie 1:0a37bce4f985 17 virtual ~AbstractFilter();
shorie 1:0a37bce4f985 18 virtual void run( float32_t *pSrc, float32_t *pDst, uint32_t blockSize )=0;
shorie 1:0a37bce4f985 19 protected:
shorie 1:0a37bce4f985 20 uint32_t blockSize;
shorie 1:0a37bce4f985 21 };
shorie 1:0a37bce4f985 22 }
shorie 1:0a37bce4f985 23
shorie 1:0a37bce4f985 24 #endif