Music:-"Melody" & "Tone" didn't show the exact block in Help document
Describe the bug Music:-"Melody" & "Tone" didn't show the exact block in Help document
Steps to reproduce the behavior 1.Navigate to https://makecode.microbit.org/beta 2. Open any project and hover music blocks in toolbox 3. Click help on "play melody at tempo 120 (bpm) & "play tone middle c for 1 beat until done" block. 4. Compare the help document with block and JavaScript/python (?) code
Actual behavior The help document of "play melody at tempo 120 (bpm)" & "play tone middle c for 1 beat until done" in the block never show the exact block. Expect behavior The help document should show the exact blocks when switch to JavaScript/Python code when click (?)
Screen Recording:
Additional context 1.OS: Windows, Mac, iPad 2.Browser: Safari, Chrome, Edge, Firefox 3.makecode.microbit,org version: 7.0.25 4.Microsoft MakeCode version: 10.2.15
@abchatra - Looks like maybe a bug here. The play() method should be shown instead of the api for its playable parameter. It should show this:
music.play(toPlay, playbackMode)
Because of this, the stringPlayable() help is linked instead of that for play().
This is fixed. @Nina-1210 can you please validate?
@abchatra, verified the bug on latest beta build 7.1.46, it has been fixed.
Screen Recording:
Thanks @Nina-1210