Skip to content

Commit c94d2f4

Browse files
authored
Release 0.6.0 patch anki#21
Add comment describing where wav files can be found to tutorial
1 parent 8ea7741 commit c94d2f4

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

examples/tutorials/10_play_audio.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,13 @@
2323
def main():
2424
args = anki_vector.util.parse_command_args()
2525
with anki_vector.Robot(args.serial) as robot:
26-
robot.audio.stream_wav_file("../sounds/vector_bell_whistle.wav", 75)
27-
robot.audio.stream_wav_file("../sounds/vector_alert.wav", 75)
26+
# You can find these sounds files here:
27+
# https://github.com/anki/vector-python-sdk/blob/master/examples/sounds/vector_alert.wav
28+
# https://github.com/anki/vector-python-sdk/blob/master/examples/sounds/vector_bell_whistle.wav
29+
#
30+
# Paste these two wav files next to this tutorial to play sounds.
31+
robot.audio.stream_wav_file("vector_bell_whistle.wav", 75)
32+
robot.audio.stream_wav_file("vector_alert.wav", 75)
2833

2934

3035
if __name__ == "__main__":

0 commit comments

Comments
 (0)