lab 1 code

Dependencies:   CMSIS-DSP_for_STM32F746G BSP_DISCO_F746NG

Revision:
23:d938f87dd1ee
Parent:
22:f36d7a53bb7e
Child:
25:5412779376a7
--- a/main.cpp	Tue Dec 31 20:10:06 2019 +0000
+++ b/main.cpp	Tue Dec 31 22:45:31 2019 +0000
@@ -2,6 +2,7 @@
   ******************************************************************************
   * @file    main.c
   * @author  Brian Mazzeo
+  * @date    2020
   * @brief   This file provides a set of code for signal processing in 487.
   *          Parts are taken from example code from STMIcroelectronics
   ******************************************************************************
@@ -18,6 +19,7 @@
 #include "stm32746g_discovery_audio.h"
 #include "stm32746g_discovery_sdram.h"
 #include "stm32746g_discovery_lcd.h"
+#include "signal_processing.h"
 
 typedef enum {
     BUFFER_OFFSET_NONE = 0,
@@ -119,7 +121,7 @@
 
         /* Here is where signal processing can be done on the floating point arrays */
 
-
+        process_audio_channel_signals(L_channel_float_p, R_channel_float_p, AUDIO_BLOCK_SAMPLES);
         
         /* Here is where signal processing can end on the floating point arrays */        
                 
@@ -146,7 +148,7 @@
 
         /* Here is where signal processing can be done on the floating point arrays */
 
-
+        process_audio_channel_signals(L_channel_float_p, R_channel_float_p, AUDIO_BLOCK_SAMPLES);
         
         /* Here is where signal processing can end on the floating point arrays */