From b0fddd7e72cf4b8e37ab3a378dc7610baff074bc Mon Sep 17 00:00:00 2001 From: Sam El-Husseini Date: Wed, 1 Mar 2017 00:34:31 -0800 Subject: [PATCH] Fix melody reference docs. --- docs/reference/music/play-builtin-melody.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/music/play-builtin-melody.md b/docs/reference/music/play-builtin-melody.md index 5d979da7..9648c84a 100644 --- a/docs/reference/music/play-builtin-melody.md +++ b/docs/reference/music/play-builtin-melody.md @@ -7,7 +7,7 @@ Play a built in musical melody through pin ``P0`` of the @boardname@. This function only works on the @boardname@ and in some browsers. ```sig -music.playBuiltinMelody(Melodies.Entertainer) +music.beginMelody(music.builtInMelody(Melodies.Entertainer), MelodyOptions.Once) ``` ### Parameters @@ -19,7 +19,7 @@ music.playBuiltinMelody(Melodies.Entertainer) This example plays the ``Entertainer`` melody. ```blocks -music.playBuiltinMelody(Melodies.Entertainer) +music.beginMelody(music.builtInMelody(Melodies.Entertainer), MelodyOptions.Once) ``` ### See also