pydraw
Home
API
Curriculum
Search
⌃
K
Links
pydraw
Search
⌃
K
Home
Documentation
Guides
Installation and Setup
Getting Started
Quickstart Examples
Quick Reference
Screen
Color
Location
Renderable
Text
Line
Image
Input
Scene
Sound
Powered By
GitBook
Sound
Basic Sound class that you can use to play sounds!
Utilization
sound
=
Sound
(
'path_to_sound.mp3'
)
sound
=
Sound
(
'path/to/sound.mp3'
,
autoplay
=
True
)
# plays immediately
Playing
You cannot pause or scrub the sound, but you can play it repeatedly by calling the play method:
sound
.
play
()
Quick Reference - Previous
Scene
Last modified
10mo ago