respeaker / usb_4_mic_array

ReSpeaker 4 Mic Array with builtin VAD, DOA, AEC, Beamforming & NS
https://www.seeedstudio.com/ReSpeaker-Mic-Array-v2.0-p-3053.html
Apache License 2.0
137 stars 64 forks source link

Updated `tuning.py` so it works with Python >=3.2 #54

Open DavidGoedicke opened 3 years ago

DavidGoedicke commented 3 years ago

Same issue as occurred in this other Github repo

Essentially, Python3.9 removed the function tostring() and we now need to use tobytes().

The change also includes a check for the minor version to run the new tobytes() function if we run in 3.2 or higher.

I hope this helps a little and addresses at least this one forum post.

JamesOsborn-SE commented 2 years ago

works on my machine

vijay-prema commented 1 year ago

LGTM. Approved.

dynamicdavidrobert commented 8 months ago

thank you a lot