DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
play sound on python
import
vlc
import
time p
=
vlc
.
MediaPlayer
(
"fade music.mp3"
)
p
.
play
(
)
time
.
sleep
(
60
)
p
.
stop
(
)
Source by pencilprogrammer.com #
PREVIOUS
NEXT
Tagged:
#play
#sound
#python
ADD COMMENT
Topic
COMMENT
Name
5+8 =
Submit