Python Forum
queued music wont play, how to do this?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
queued music wont play, how to do this?
#1
queued music wont play next, any idea on this?

import pygame
import time
pygame.mixer.init()
pygame.mixer.music.load('goodbye.ogg')
pygame.mixer.music.play(1)  
time.sleep(1.08)     
pygame.mixer.music.queue('welcome.ogg')
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Why wont this path work one way, but will the other way? cubangt 2 1,935 Sep-01-2023, 04:14 PM
Last Post: cubangt
  How can I send a .mp3 to play through my mic? ejected 20 33,958 Sep-01-2022, 02:38 AM
Last Post: victormayer
  Play the next music in a list Pymax 0 2,130 Jul-28-2021, 07:27 PM
Last Post: Pymax
  how do i play an mp3 from a list gr3yali3n 3 4,236 Dec-01-2020, 08:50 AM
Last Post: Axel_Erfurt
  what am i doing wrong!? music wont play jusrosetyler1123 2 3,323 Nov-01-2019, 07:21 AM
Last Post: jusrosetyler1123
  When I import a Module it wont run PyNovice 17 11,411 Oct-26-2019, 11:14 AM
Last Post: PyNovice
  How to play against the computer Help_me_Please 4 6,649 Aug-29-2019, 03:37 PM
Last Post: ThomasL
  Why wont this work? ejected 2 4,600 Mar-29-2019, 05:33 AM
Last Post: snippsat
  wont print last sentence.. mitmit293 2 3,587 Jan-27-2019, 05:38 PM
Last Post: aakashjha001
  Why wont this work :( Nonagon 2 4,333 Nov-03-2018, 03:38 AM
Last Post: wavic

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020