Open ChenWeston opened 2 years ago
Yes. I tested the code on the audio collected by a 4-mic circular array (ST BlueCoin).
Master, I don’t know much about it. The program seems to simulate the field pattern I need. There is no actual sound file input code?
Or write Python program into 4-mic circular array (ST BlueCoin), which is the effect of Beamforming field?
There is no actual sound file input code?
Yes.
According to the beamforming, you can get the enhanced signal by , where W^*(f) is the conj transpose of cdma.get_weight()
and X(f) is the STFT of multi-channel audio.
You can also use code like:
https://github.com/funcwj/setk/blob/392c72966ab9f97088955c0bbe6436d7fd59168c/scripts/sptk/libs/beamformer.py#L232-L233
Master, thank you very much for your feedback, but I still don't know how to apply your program to the hardware.
I collected the audio by micphone array and process it on PC.
And if you want to process the signal on the MCU or DSP, you have to implement the by some LIB or BSP in C and use the result of cdma.get_weight()
as W. Cardioid or Hyper- CDMA is the fixed beamformer, so you could just paste the W data in your C code.
Master, I expect that it will be processed on the PC, and the audio collection will be collected by the hardware of the 4 mic array. Your implementation is to collect 4 channels of sound through a 4 mic array, then enter your program for processing, and get the result of 1 channel?
Your implementation is to collect 4 channels of sound through a 4 mic array, then enter your program for processing, and get the result of 1 channel?
Yes.
Can we actually use the hardware structure applied to the 4-microphone array?