r-cute / rcute-cozmars-server

firmware for Cozmars robot
44 stars 19 forks source link

mic volume too low #22

Closed hyansuper closed 3 years ago

hyansuper commented 3 years ago

when recorded in python, the volume is much lower than using 'arecord' linux command

hyansuper commented 3 years ago

https://github.com/spatialaudio/python-sounddevice/issues/291

workaround: simply multiply recorded data by a scalar. or, wrap raw data in AudioSegment and AudioSegment(...).apply_gain(10 dBFS)

hyansuper commented 3 years ago

try https://soundcard.readthedocs.io/en/latest/

hyansuper commented 3 years ago

https://github.com/opencardev/snd-i2s_rpi readme page says about the low vol problem, unsolved