Over a million developers have joined DZone.

Recording Sound

DZone's Guide to

Recording Sound

· ·
Free Resource
py_s60 1.1.3 provide audio module which allow 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

Using this code, I can record sound longer than
the 1 minute limit by Nokia's 'Recorder' program.

It can record in 'wav', 'amr','au'.
I can't play the file recorded with 'wav', though.
It seems 6600 has the problem with uncompressed 16-bit wave.
(It can play other wave files fine.)

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}