microsoft / microsoft/pxt-microbit

way for the simulator to detect short sharp sounds (eg clap/loud) without using the slider

Open
#4,969 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Simulator
Dominant language
TypeScript
Stars
804
Forks
721
Avg merge
2d 9h
Merged PRs (30d)
2

Description

Is your feature request related to a problem? Please describe.

One of the fun microphone interactions that people use often is 'loud', however we're also adding a better 'clap' detector in CODAL for a quick sharp loud spike.

Once this exists, it might be quite hard to trigger with the mouse slider for volume

Describe the solution you'd like

It would be great to have a way to "clap" at the micro:bit - a bit like the "shake" button that takes the place of wiggling the micro:bit with the curosor

However, the board is quite crowded already.
image

Some options

  • add a new line of buttons related to the microphone input like 'record', 'stop', 'clap' - perhaps below the existing simulator controls. This would also be good for audio record and playback
  • Indicate that clicking on the microphone icon will make a clap sound somehow
  • Add a 'clap' button above shake

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.

Research direction

Start by reviewing the simulator controls and microphone interaction described in the issue, including the existing shake control. Clarify which UI option should be implemented and how a clap or short sharp sound should be triggered; done means the chosen control reliably activates the simulator's clap interaction without relying on the volume slider.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.