Open microbit-carlos opened 2 months ago
I guess this could be an issue in the CODAL layer
I can't see any reason why a rate of 142 is different to a rate of 143 on the MicroPython side, so, yes, this looks like an issue in CODAL.
I'll try to create an example to replicate in CODAL and raise this issue there.
Raised in CODAL:
Tested with the latest version of the recording & playback branch: https://github.com/microbit-foundation/micropython-microbit-v2/pull/163/commits/c91ae4e83c5a1a82f647740277f7d4a462192160
When the recording rate is set below 143 the recording function returns immediately without filling the AudioFrame.
I guess this could be an issue in the CODAL layer, if that's the case let me know and I'll raise it in the codal-microbit-v2 repository.