respeaker / get_started_with_respeaker

This is the wiki of ReSpeaker Core V2, ReSpeaker Core and ReSpeaker Mic Array.
260 stars 83 forks source link

Get Multi-channel MIC data thru USB to PC #31

Closed jeffskl closed 6 years ago

jeffskl commented 7 years ago

Can I get multi-channel MIC data with the ReSpeaker Mic Array board thru USB to PC? Is the MIC data just Raw from the microphone without processed? Do I need to configure the board to get the Mic raw data? How to do it?

Pillar1989 commented 7 years ago

xmos process the audio data on chip. There are no need to give Mic raw data to user.

jeffskl commented 7 years ago

I want to get the Mic raw data and then do the signal analysis and algorithm development on PC. So can I get the multi-channel raw data with this board?

Pillar1989 commented 7 years ago

Sorry, you cannt

jeffskl commented 7 years ago

I see, thank you!

jeffskl commented 7 years ago

Can I overwrite the FW of the XMOS chip thru JTAG?

Pillar1989 commented 7 years ago

JTAG is very special, you can go to http://www.xmos.com/.

jeffskl commented 7 years ago

Have Seeed provided the original FW file so that I can revert the function after re-flashing the XMOS chip?

Pillar1989 commented 7 years ago

https://github.com/Fuhua-Chen/ReSpeaker_Microphone_Array_Firmware

jeffskl commented 7 years ago

That's great. Thanks!

jeffskl commented 7 years ago

BTW, have the schematic of the Microphone Array Board posted?

Pillar1989 commented 7 years ago

https://github.com/Fuhua-Chen/ReSpeaker_Microphone_Array_SCH_PCB

doumdi commented 7 years ago

I am also interested in getting the RAW data from the array. I would suggest a firmware update that outputs 9 channels (1,2 = beamformer, 3,4,5,6,7,8,9 = raw output).

fpgasdr commented 7 years ago

Hello, I'm insterested also in this topic but I consider this would not be possible due the bottleneck that suppose the usb communication for sending all channels in real time. what do you think?.

also you have to program the xcmos... http://www.xmos.com/support/examples

xiongyihui commented 7 years ago

There is a new firmware which supports 8 channels raw data. See https://github.com/respeaker/mic_array_dfu

fpgasdr commented 7 years ago

thanks for reply xiongyihui,

I see I was mistaken.

chad1023 commented 7 years ago

@xiongyihui Excuse me , can you explain more detail about getting respeaker raw data with the new firmware?

xiongyihui commented 7 years ago
  1. use the dfu tool to upgrade to the new firmware
  2. use the python script to read raw audio data - https://github.com/respeaker/mic_array/blob/master/mic_array.py
KillingJacky commented 6 years ago

Will close this issue, please open a new issue if you have further questions.