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:
0:058daa59980d
Child:
1:0a37bce4f985
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/amakusa.h	Sun Dec 11 21:04:06 2016 +0000
@@ -0,0 +1,40 @@
+/**
+* @file amakusa.h
+* @brief Main include file of the audio_signal 
+*/
+
+#ifndef _AMAKUSA_H_
+#define _AMAKUSA_H_
+
+#include "oscsincos.h"
+#include "limitterlinatan.h"
+
+namespace amakusa
+{
+        /**
+        * @brief vector copy
+        * @param src A source vector address
+        * @param dst A destination vector address 
+        * @param count Number of the element in the vector
+        */
+    void copy( float src[], float dst[], unsigned int count );
+        /**
+        * @brief Negate the src
+        * @param src A source vector address
+        * @param dst A destination vector address 
+        * @param count Number of the element in the vector
+        */
+    void neg( float src[], float dst[], unsigned int count );
+    
+    void add( float srcA[], float srcB[], float dst[], unsigned int count );
+    void add( float srcA[], float srcB, float dst[], unsigned int count );
+    void sub( float srcA[], float srcB[], float dst[], unsigned int count );
+    void sub( float srcA[], float srcB, float dst[], unsigned int count );
+    void sub( float srcA, float srcB[], float dst[], unsigned int count );
+    
+    void mul( float srcA[], float srcB[], float dst[], unsigned int count );
+    void mul( float srcA[], float srcB, float dst[], unsigned int count );
+
+}
+
+#endif