1 2 import e32, audio 3 4 s = audio.Sound.open('C:\\test.amr') 5 s.record() # start recording 6 e32.ao_sleep(5) # do if for 5 seconds 7 s.stop() # stop recording 8 9 10 # the file is now created, ready to be played 11 s.play()
Using this code, I can record sound longer than
the 1 minute limit by Nokia's 'Recorder' program.
Update:
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.)