pxt-microbit icon indicating copy to clipboard operation
pxt-microbit copied to clipboard

Simulator records audio for a longer time than the device

Open microbit-carlos opened this issue 4 months ago • 2 comments

The beta simulator currently records for about 12 seconds, and the device around 5 seconds.

input.onButtonPressed(Button.A, function () {
    record.startRecording(record.BlockingState.Blocking)
})
input.onButtonPressed(Button.B, function () {
    record.playAudio(record.BlockingState.Nonblocking)
})
Image

Tested with: makecode.microbit.org version: 7.1.45 Microsoft MakeCode version: 11.4.31 microbit runtime version: v2.2.0-rc6 codal-microbit-v2 runtime version: v0.3.0

And test deployment from:

  • https://github.com/microsoft/pxt-microbit/pull/6362

microbit-carlos avatar Jun 20 '25 16:06 microbit-carlos