Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User lothaekor's Avatar
    Join Date
    Sep 2005
    Posts
    3
    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()

  2. #2
    Registered User LarsWieneke's Avatar
    Join Date
    Nov 2005
    Posts
    2
    Same counts for me, while .wav works like a charm, no .mp3 playback in Python 1.2 on my n-gage.
    Comments? Help?

  3. #3
    Regular Contributor otsov's Avatar
    Join Date
    Sep 2003
    Location
    Finland
    Posts
    209
    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.

  4. #4
    Registered User LarsWieneke's Avatar
    Join Date
    Nov 2005
    Posts
    2
    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.

Similar Threads

  1. Scope issues with Audio module?
    By lothaekor in forum Python
    Replies: 2
    Last Post: 2005-10-01, 16:17
  2. question about audio recording
    By hawlman in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2005-01-07, 00:37
  3. question about audio recording
    By hawlman in forum Symbian Media (Closed)
    Replies: 0
    Last Post: 2004-12-22, 09:33
  4. N7200, Ringing tone question (as audio clip)..
    By axishift in forum General Development Questions
    Replies: 0
    Last Post: 2004-12-20, 02:48
  5. Uploading a wap page (A basic question - I hope!...)
    By jhodgski in forum Mobile Web Site Development
    Replies: 0
    Last Post: 2004-04-15, 21:49

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved