Reference for play_in_loop
Play a sound on a loop. This is part of the reference section.
Arc
Buffer
Data
Dialog
Ellipse
Geo Utils
Image
Joystick (future)
Keyboard
Line
Mouse / Touchscreen
Pixel
Rectangle
Renderers
Shape
Sound (future)
play_in_loop
Style
System
Text
Transform
Purpose
Play a sound on a loop which will continue until stopped or the sketch ends.
Snippet
Load sample.wav and play it on loop.
sound = sketch.get_sound_layer().get_sound('sample.wav') sound.play_in_loop()
Availability
Not yet available. Planned for future release.