SunQuest
           Python Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPython Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old April 3rd, 2003, 05:04 PM
marron79's Avatar
marron79 marron79 is offline
Rut row Raggy!
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jul 2001
Location: Tornado Alley
Posts: 558 marron79 User rank is Private First Class (20 - 50 Reputation Level)marron79 User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 9 h 41 sec
Reputation Power: 8
Question winsound module -> does it support mp3?

I tried using the winsound module the other night to play a mp3, but all I heard was an error beep. I converted the file to wav, and it worked. Does anyone know if winsound or any other Python/wxPython module supports playing mp3's? If not, Python is really behind the times.

Also, does the SND_ALIAS argument work with Windows XP? I tried using it too, but I got the same error beep no matter what name I tried.
__________________
Matt

Last edited by marron79 : April 3rd, 2003 at 05:06 PM.

Reply With Quote
  #2  
Old April 3rd, 2003, 06:10 PM
Strike Strike is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Location: Houston, TX
Posts: 383 Strike User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 41 m 27 sec
Reputation Power: 7
Send a message via ICQ to Strike Send a message via AIM to Strike Send a message via Yahoo to Strike
Re: winsound module -> does it support mp3?

Quote:
Originally posted by marron79
I tried using the winsound module the other night to play a mp3, but all I heard was an error beep. I converted the file to wav, and it worked. Does anyone know if winsound or any other Python/wxPython module supports playing mp3's? If not, Python is really behind the times.

Also, does the SND_ALIAS argument work with Windows XP? I tried using it too, but I got the same error beep no matter what name I tried.

I imagine that all sound playing libraries expect their input in a specific format. They are, after all, sound playing libraries, and not audio codecs.

Google for python mp3 libs. I don't know of any personally, but I'd be surprised if they didn't exist. I prefer oggs which have excellent python support (and sound better at smaller file sizes)
__________________
Debian - because life's too short for worrying.
Best. (Python.) IRC bot. ever.

Reply With Quote
  #3  
Old April 3rd, 2003, 08:05 PM
marron79's Avatar
marron79 marron79 is offline
Rut row Raggy!
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jul 2001
Location: Tornado Alley
Posts: 558 marron79 User rank is Private First Class (20 - 50 Reputation Level)marron79 User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 9 h 41 sec
Reputation Power: 8
I did do some searching the other day, but came up empty. Everything I found was either a full-blown program or a module for id3 tags. I was hoping someone else had come across a module or developed one themselves.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPython Programming > winsound module -> does it support mp3?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway