Categories: S60 | Python | How To | Multimedia | Audio | Code Examples
This page was last modified 18:18, 29 June 2008.
How to record a sound
From Forum Nokia Wiki
Python provides the audio module which allows you to record sound.
import e32, audio s = audio.Sound.open('C:\\test.amr') s.record() # start recording e32.ao_sleep(5) # do if for 5 seconds s.stop() # stop recording # the file is now created, ready to be played s.play()
It can record in wav, amr, au.
- Issue with Nokia 6600
- You can't play the file recorded with wav, though. It seems Nokia 6600 has the problem with uncompressed 16-bit wave but it can play other wave files fine.
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Progress Note & Recording - S60 3rd Edn | nair.shanker | General Symbian C++ | 1 | 2008-05-15 06:24 |
| nokia Sound API | kaldor | Mobile Java General | 3 | 2003-06-13 11:48 |
| Persistent data storage | slevinsen | Mobile Java General | 15 | 2005-06-13 02:34 |
| Question on CMdaAudioInputStream and sound recording | haploidus | Symbian Media (Graphics & Sounds) | 3 | 2006-05-29 10:15 |
| Help! sound recording doesn't work on FP2 | haploidus | Symbian Tools & SDKs | 2 | 2006-08-30 20:23 |
