Open microbit-carlos opened 1 year ago
For the set_threshold()
method we'll need to throw an exception if the "clap" event is provided, as that threshold cannot be configured.
SoundEvent.CLAP
is added in 8b8c1d3802164abe40659edde9cf3a717aabfde4
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).
CODAL has added a "clap" event, similar to "loud" and "quiet".