Basic Audio Signal Processing Library
Dependents: unzen_sample_nucleo_f746 skeleton_unzen_nucleo_f746 ifmag_noise_canceller synthesizer_f746
オーディオ信号処理用のライブラリです。
mbed-dspのフィルタ群向けに作ったクラス・ラッパーのほか、以下のクラスを用意しています。
- ヒステリシス
- sin/cosオシレータ
- リミッター
クラスは全て名前空間amakusaに含まれます。
abstractfilter.h@1:0a37bce4f985, 2017-01-02 (annotated)
- Committer:
- shorie
- Date:
- Mon Jan 02 11:04:49 2017 +0000
- Revision:
- 1:0a37bce4f985
- Child:
- 4:c2a4ebafb868
Wrapper classes of the mbed-dsp filter
Who changed what in which revision?
User | Revision | Line number | New 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 | 1:0a37bce4f985 | 7 | namespace amakusa |
shorie | 1:0a37bce4f985 | 8 | { |
shorie | 1:0a37bce4f985 | 9 | |
shorie | 1:0a37bce4f985 | 10 | class AbstractFilter |
shorie | 1:0a37bce4f985 | 11 | { |
shorie | 1:0a37bce4f985 | 12 | public: |
shorie | 1:0a37bce4f985 | 13 | AbstractFilter( uint32_t blockSize); |
shorie | 1:0a37bce4f985 | 14 | virtual ~AbstractFilter(); |
shorie | 1:0a37bce4f985 | 15 | virtual void run( float32_t *pSrc, float32_t *pDst, uint32_t blockSize )=0; |
shorie | 1:0a37bce4f985 | 16 | protected: |
shorie | 1:0a37bce4f985 | 17 | uint32_t blockSize; |
shorie | 1:0a37bce4f985 | 18 | }; |
shorie | 1:0a37bce4f985 | 19 | } |
shorie | 1:0a37bce4f985 | 20 | |
shorie | 1:0a37bce4f985 | 21 | #endif |