We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CODAL has added a "clap" event, similar to "loud" and "quiet".
SoundEvent.CLAP
The text was updated successfully, but these errors were encountered:
For the set_threshold() method we'll need to throw an exception if the "clap" event is provided, as that threshold cannot be configured.
set_threshold()
Sorry, something went wrong.
SoundEvent.CLAP is added in 8b8c1d3
For the set_threshold() method we'll need to throw an exception if the "clap" event is provided,
This is also done (didn't need any changes, was already raising an exception for invalid sound events).
@microbit-carlos this is already done (see above). I tested it and it seems to work, microphone.get_events() does emit a SoundEvent.CLAP on occasion.
microphone.get_events()
microbit-carlos
No branches or pull requests
CODAL has added a "clap" event, similar to "loud" and "quiet".
SoundEvent.CLAP
. bbcmicrobit/micropython#793The text was updated successfully, but these errors were encountered: