respeaker / respeaker_python_library

To build voice enabled objects/applications with Python and ReSpeaker
Apache License 2.0
149 stars 74 forks source link

no pixel_ring control with xvsm_0x32_20170329.bin or both Raw firmwares ?? #34

Open elpimous opened 6 years ago

elpimous commented 6 years ago

hi all, on xvsm_0x032_20170324.bin firmware, I can control pixel_ring via python lib. I changed firmware to improve specs, but now, I can't control pixel_ring functions anymore ! Is there any reason ? Could we hope a last firmware revision, with pixel_ring control ? Thanks Respeaker team

elpimous commented 6 years ago

small up ? please

xiongyihui commented 6 years ago

The default firmware with DSP works with the pixel_ring.py of this repo

The raw 8-channels firmware works with https://github.com/respeaker/mic_array/blob/master/pixel_ring.py

Which one did you use?

elpimous commented 6 years ago

hello, xiongyihui. First, I wish you all an happy new year...(health, success...)

Now, firmwared again my respeaker 7 mic array microphone with : sudo ./dfu --download ReSpeaker_Mic_Array_firmware_xvsm_0x32_20170329.bin Success. Next :

Python 2.7.12 (default, Nov 20 2017, 18:23:56) 
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.

>>> import respeaker.pixel_ring as pr
>>> pr.wait()
>>> pr.off()

Well, I tested all pixel_ring functions, and the respeaker mic array stays in "listen" mode (green direction light)

Strange ?!

elpimous commented 6 years ago

small up ? please An idea ? (this is the same mic array that produces an electronic noise on records)

xiongyihui commented 6 years ago

That's weird! Cloud you try the raw audio firmware to verify the leds and the microphones for the electronic noise? After changing to the raw audio firmware, you can use https://github.com/respeaker/mic_array/blob/master/pixel_ring.py or https://github.com/respeaker/pixel_ring to control the leds, and use audacity to verify recording.