Skip to content

Commit 3f33b0f

Browse files
committed
add audio expression api
1 parent 8ac53a3 commit 3f33b0f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

latest-revision/latest-revision-main.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ When they are finalised, we will notify people via the [DAL, Editors and Devices
115115

116116
| API | Usage | Status | GitHub Issues |
117117
| ------------------------------------------ | ------------ | ---------------------------- | ------------- |
118+
| play sound expression (giggle, happy, hello, mysterious, sad, slide, soaring, spring, twinkle, yawn) | `audio.play("hello")`|| |
118119
| Choose music/pitch output pin | `music.play(music.JUMP_UP, pin=microbit.pin_speaker, wait=True)` || |
119120
| Stop music on pin | `music.stop(pin=microbit.pin_speaker)` || |
120121
| Set the volume 0-255 | `microbit.set_volume(128)` || |

0 commit comments

Comments
 (0)