We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 936b172 commit 7057837Copy full SHA for 7057837
lang/en/typeshed/stdlib/microbit/audio.pyi
@@ -29,11 +29,11 @@ def is_playing() -> bool:
29
...
30
31
def sound_level() -> int:
32
- """Returns the average intensity of the sound played.
+ """Returns the sound pressure level produced by audio currently being played.
33
34
Example: ``audio.sound_level()``
35
36
- :return: A number between 0 and 254, being the average intensity of the sound played from the most recent chunk of data."""
+ :return: A representation of the output sound pressure level in the range 0 to 255."""
37
38
39
def stop() -> None:
0 commit comments