You Are Here:

Community: Developer Discussion Boards

#1 Old Last question (I hope) about the audio module - 2005-10-01, 17:23

Join Date: Sep 2005
Posts: 3
lothaekor
Offline
Registered User
From the Python for Nokia Series 60 documentation, it states that the audio module typically supports WAV, AMR, MIDI, MP3 and AAC file formats. WAV works fine, but I can't seem to get MIDI or MP3 to work. It always terminates with the following error:

SymbianError: [Errno -18] KErrNotReady

Does this mean that the file is not loaded for playback yet? If so, how do I wait for it? I've heard of other problems where if the file isn't encoded _just right_ it'll crash as well.

Any help anyone can offer will be much appreciated.

The applicable code is below.

Code:
        # Open and play the file.
    	self.sound_obj = Sound.open(item)
    	self.sound_obj.play()
Reply With Quote

#2 Old Re: Last question (I hope) about the audio module - 2005-11-03, 12:44

Join Date: Nov 2005
Posts: 2
LarsWieneke
Offline
Registered User
Same counts for me, while .wav works like a charm, no .mp3 playback in Python 1.2 on my n-gage.
Comments? Help?
Reply With Quote

#3 Old Re: Last question (I hope) about the audio module - 2005-11-03, 13:46

Join Date: Sep 2003
Posts: 209
Location: Finland
otsov
Offline
Regular Contributor
Quote:
Originally Posted by LarsWieneke
Same counts for me, while .wav works like a charm, no .mp3 playback in Python 1.2 on my n-gage.
Comments? Help?
Have a look at table located at:

http://www.forum.nokia.com/audiovideo#ac

This thread has also some information:

http://discussion.forum.nokia.com/fo...threadid=60869

Some devices do not support MP3 playing natively (from C++), which is what PyS60 builds on.
Reply With Quote

#4 Old Re: Last question (I hope) about the audio module - 2005-11-03, 17:31

Join Date: Nov 2005
Posts: 2
LarsWieneke
Offline
Registered User
Thx a lot!
It would be nice to add this piece of advice to the API Reference - at least in the PythonforSeries60_for_1stEd_FP1 Package.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Scope issues with Audio module? lothaekor Python 2 2005-10-01 17:17
question about audio recording hawlman Symbian Media (Graphics & Sounds) 1 2005-01-07 01:37
question about audio recording hawlman Symbian Media (Graphics & Sounds) 0 2004-12-22 10:33
N7200, Ringing tone question (as audio clip).. axishift General Discussion 0 2004-12-20 03:48
Uploading a wap page (A basic question - I hope!...) jhodgski General Browsing 0 2004-04-15 22:49

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia