microbit-foundation / micropython-microbit-v2

Temporary home for MicroPython for micro:bit v2 as we stablise it before pushing upstream
MIT License
41 stars 22 forks source link

microphone sensitivity values are not correct #204

Closed microbit-carlos closed 2 months ago

microbit-carlos commented 2 months ago
>>> microphone.SENSITIVITY_HIGH
1
>>> microphone.SENSITIVITY_MEDIUM
0
>>> microphone.SENSITIVITY_LOW
0
>>>

So, when trying to record with medium or low sensitivity the AudioFrame is blank.

microbit-carlos commented 2 months ago

https://github.com/microbit-foundation/micropython-microbit-v2/pull/163/files#r1578412276

dpgeorge commented 2 months ago

Oops, that was an oversight. Now fixed.

microbit-carlos commented 2 months ago

Thanks Damien!