damonkohler / sl4a

SL4A brings scripting languages to Android by allowing you to edit and execute scripts and interactive interpreters directly on the Android device.
Apache License 2.0
2.43k stars 800 forks source link

What file format does recorderStartMicrophone save a file? #98

Open damonkohler opened 9 years ago

damonkohler commented 9 years ago

From @GoogleCodeExporter on May 31, 2015 11:31

I am trying to record a sound with recorderStartMicrophone method and I want to 
read the maximum amplitude of the sound in a interval. I want to use the wave 
module from Python but when I try to open the file I get an "No RIFF id found 
for file".

So this is why this question arises, what's the format of the output file? And 
is there any other/simpler way I can read the amplitute of a recorded sound, 
keeping in mind that I do want to use Python for that.

Thank you!

Original issue reported on code.google.com by radu...@gmail.com on 5 May 2012 at 10:32

Copied from original issue: damonkohler/android-scripting#624