| Reply | « Previous Thread | Next Thread » |
|
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()
|
|
Same counts for me, while .wav works like a charm, no .mp3 playback in Python 1.2 on my n-gage.
Comments? Help? |
| LarsWieneke |
| View Public Profile |
| Find all posts by LarsWieneke |
|
Quote:
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. |
|
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. |
| LarsWieneke |
| View Public Profile |
| Find all posts by LarsWieneke |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| 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 |