Re: [pygame] duration of song

2007-07-13 Thread Jason Coggins
Actually I was thinking of using the length of the music played as a variable in the program. Jason - Original Message - From: dbcad7 [EMAIL PROTECTED] To: pygame-users@seul.org Sent: Monday, July 09, 2007 10:55 PM Subject: RE: [pygame] duration of song I would thing that WinAmp,

Re: [pygame] duration of song

2007-07-13 Thread Ian Mallett
my_sound = pygame.mixer.sound([filename]) number_of_seconds_long = my_sound.get_length() On 7/13/07, Jason Coggins [EMAIL PROTECTED] wrote: Actually I was thinking of using the length of the music played as a variable in the program. Jason - Original Message - From: dbcad7 [EMAIL