Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed BSP_DISCO_F746NG mbed-dsp
Revision 9:fb0eb0b2796c, committed 2020-03-10
- Comitter:
- justenmg
- Date:
- Tue Mar 10 20:59:20 2020 +0000
- Parent:
- 8:e66f32a7e3e7
- Commit message:
- finished
Changed in this revision
| signal_processing.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r e66f32a7e3e7 -r fb0eb0b2796c signal_processing.cpp
--- a/signal_processing.cpp Tue Mar 10 20:22:52 2020 +0000
+++ b/signal_processing.cpp Tue Mar 10 20:59:20 2020 +0000
@@ -36,7 +36,7 @@
#define PADDED_FILTER_LENGTH (WIN_NUM_TAPS + 2*(AUDIO_BLOCK_SAMPLES - 1))
/* For Lab Exercise */
-#define Lab_Execution_Type 3
+#define Lab_Execution_Type 6
float32_t padded_filter[PADDED_FILTER_LENGTH];
@@ -78,8 +78,8 @@
break;
case 2: // FIR case (student)
- arm_fir_init_f32(&filter_left, OUR_NUM_TAPS, (float32_t *)&our_Filter_coeffs, (float32_t *)&lState, AUDIO_BLOCK_SAMPLES);
- arm_fir_init_f32(&filter_right, OUR_NUM_TAPS, (float32_t *)&our_Filter_coeffs, (float32_t *)&rState, AUDIO_BLOCK_SAMPLES);
+ arm_fir_init_f32(&filter_left, WIN_NUM_TAPS, (float32_t *)&win_filter_coeffs, (float32_t *)&lState, AUDIO_BLOCK_SAMPLES);
+ arm_fir_init_f32(&filter_right, WIN_NUM_TAPS, (float32_t *)&win_filter_coeffs, (float32_t *)&rState, AUDIO_BLOCK_SAMPLES);
break;
case 3: // conv Overlap-add