Playing Sound in Pyglet
suggest changesound = pyglet.media.load(sound.wav)
sound.play()
pyglet is not imported, and sound.wav is not a string, so this raises NameError before any file is loaded.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents