microsoft / microsoft/pxt-microbit
Sound level doesn't appear to work with new simulator microphone capture
@srietkerk is already working on this.
Since Apr 28, 2023.
- 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:

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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.