Closed microbit-carlos closed 1 year ago
I haven't tried but I guess the same would be true for volume and duration.
I'm guessing the frequency string format only takes 4 digits?
Yes that's correct. Most of the numbers (volume, frequency, duration) are limited to 4 digits.
Should we throw an exception or clamp for values >10K?
Implementing either of those is easy. Probably best to raise an exception.
Probably best to raise an exception.
Sounds good 👍
Fixed by 0b7552643cb0ab78e511b0772beca2fe3b970833
I'm guessing the frequency string format only takes 4 digits?
This works:
But this doesn't make a sound:
I think
10000
is likely converted to0
. As a SoundEfect like this sounds like it's going from high frequency to low frequency.Should we throw an exception or clamp for values >10K?