473,386 Members | 1,830 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Backround music for a cartoon animation file (Python)

Elias Alhanatis
Hello everybody!!
Could you please inform me how can i add a sound file to an app. which animates cartoons ( ..or whatever..). I am working with Vista,Python2.5.1,IDLE,Tkinter.
Thank you all in advance for your time!!!!
Aug 19 '07 #1
3 2634
bartonc
6,596 Expert 4TB
Hello everybody!!
Could you please inform me how can i add a sound file to an app. which animates cartoons ( ..or whatever..). I am working with Vista,Python2.5.1,IDLE,Tkinter.
Thank you all in advance for your time!!!!
If you simple need to play an mp3 in the background try PyMedia. For anything more complex, Tkinter probably won't be full-featured enough. I'm using ActiveX controls in wxPython (the most powerful and up-to-date GUI framework going).
Aug 19 '07 #2
If you simple need to play an mp3 in the background try PyMedia. For anything more complex, Tkinter probably won't be full-featured enough. I'm using ActiveX controls in wxPython (the most powerful and up-to-date GUI framework going).
Ok! I will try it!! Maybe also i could use PyGame? Could you please write for me the code (i have installed PyGame). I have tried to 'load' the sound but i get various errors!!
Aug 20 '07 #3
bartonc
6,596 Expert 4TB
Ok! I will try it!! Maybe also i could use PyGame? Could you please write for me the code (i have installed PyGame). I have tried to 'load' the sound but i get various errors!!
There are a few members with PyGame experience on this forum.
The way it works is: You write the code, post a simple script that causes the error (include the error), etc. It's all in our Posting Guidelines. Also, there are instructions for using CODE tags on the right hand side of the page (while posting or replying).
Aug 20 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Elaine Jackson | last post by:
Is there such a thing as an executable language for music? If not, why not? And if yes, where can I find it? Naturally the ideal thing would be if such a language were implemented within python,...
12
by: Marian Aldenhövel | last post by:
Hi, I am trying to make pygame play music on windows. This simple program: import pygame,time pygame.init() print "Mixer settings", pygame.mixer.get_init() print "Mixer channels",...
2
by: James Harris | last post by:
Hi, I am wanting to develop some software that a) Reads existing files of music of a few well known types b) Displays the music in traditional notation - i.e. on a stave c) Displays the same...
2
by: http://members.lycos.co.uk/dariusjack/ | last post by:
I need to draw a shaded rectangle and have flashing (gif animated) points on it so not to refresh all objects a rectangle, but points, changing their colors, attributes. Please refer me to some...
11
by: globalrev | last post by:
http://www.pygame.org/docs/ref/mixer.html import pygame #pygame.mixer.init(frequency=22050, size=-16, channels=2, buffer=3072) //it complained abiout words= so i guess its only the nbrs...
4
by: Sin Jeong-hun | last post by:
Most applications, including Windows Explorer, show some sort of 'wait' dialog with animation when a lengthy operation is going on. For example, When the Windows Explorer is searching for...
5
by: '2+ | last post by:
well maybe am over-advertising .. excuse me ... am new to python but my "algo-comping cs.sco with python" thang kinda got lauched after all so decided to move from java to python to do these...
2
by: Virgil Stokes | last post by:
I have been using Python for a short time and I find it a very flexible language, and easy to learn and use. I have also worked some with PyGame and used it to create a simple animation that is...
0
by: Stef Mientki | last post by:
Virgil Stokes wrote: Maybe this might be of your interest: http://oase.uci.kun.nl/~mientki/data_www/pylab_works/pw_animations_screenshots.html Although it's in alfa stage, I'm using parts of...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.