cancel
Showing results for 
Search instead for 
Did you mean: 

Teaching (audio) DSP with STM32H750B-DK - looking for working audio examples of C and Octave audio processing

bully
Senior

Hello,

I'm researching possibilites to teach DSP undergraduate course using boards STM32H750B-DK, that we already

use in other courses related to low leve programming. So far, I've identified two possible workflows:

1. it seems possible to create project for board to act as USB sound card that could be interfaced to GNU octave environment and first steps of audio processing could be done there

2. we would like to create first simple audio pass-through app for our board with two inputs (MEMS mic or line-in) and several outputs, but mostly headphone output. 

3. after initial example in 2., we could add also audio processing algorithms that could be prototyped in 1. and code in C on the board. We would also love to do some audio analysis (Amplitude response, Spectrograms etc)...

 

I have found quote some starting points, but also a lot of questions raised that there is a lot of non-working examples. My starting points would be BSP package for our board, also some examples for STM32F769Disco and also STM32746g-Disco (ARM Digital-Signal-Processing-Education-Kit covers this board) - they all seems quite similar regarding audio features (same WM8994 chip, similar inputs/outputs).

But before doing research would kindly ask community members if they have any advice or have done some similar projects and have practical experience or working projects regarding this topic. Also if anyone has pointers to teaching materials would be great.

 

Thanks in advance,

regards.

 

 

 

1 REPLY 1
AScha.3
Super User

Hi,

- Just my experience/point of view :

 

1. to create a working audio "standard sound card" is much more difficult than some DSP/filter calculations - forget it, for a "beginner course in DSP effects". Except the STM "headset" enumeration is all you want.

2. This is better idea, if you find working examples with the setup for WM8994 ; if not...good luck. :) (just register description is about 120 pages !!! ) + test the basic in-out on the WM8994 , if its really working fine.

3. that's fine and should work without big problems, FFT , show result on TFT/display , etc.

+

>or have done some similar projects 

I made an audio player , plays sd-card or USB stick /files to hi-end DAC ; wav/flac/mp3 decoding;

with some biquad filters, active crossover (to 6 channels) ; on H743 .

If you feel a post has answered your question, please click "Accept as Solution".