microsoft / microsoft/pxt-microbit

Sound level doesn't appear to work with new simulator microphone capture

Open
#5,095 3 comments 0 reactions 1 assignee View on GitHub

@srietkerk is already working on this.

Since Apr 28, 2023.

MEF 2025 MEF 2026 MEF-high record Simulator
Dominant language
TypeScript
Stars
804
Forks
721
Avg merge
2d 9h
Merged PRs (30d)
2

Description

I've been testing the new mic record/playback feature and apart from #5092 it looks and sounds awesome.

Here's a snippet of code I've been enjoying playing with with the recording API:
image

This is likely to end up in a few important microbit.org examples, too.

It's fun because of the feedback you get from the recording.

It looks like the 'sound level' values aren't being calculated on the sim based on the recorded audio, though. This example doesn't work as well on the simulator as it does on the device as there's no feedback that recording is happening.

@srietkerk is the link to sound level something you plan to implement?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.