This is an Audio Recording Library based on the Android AudioRecord object which allows capturing of sound input to a data file for further processing (maybe realtime if we're lucky).
Included in the demo program is a WAV file header routine that allows saving captured sound as an uncompressed wav file.
Please read the documentation of the AudioRecord object. It's a little more complicated that the media recorder version, but gives additional flexibility.
Please test it and hopefully we can get it to work well for us.
Added libs 1.01 - Additional constants and Capitalized
12/6/2012 Artest updated to better manage thread on closedown.
For use with V2 of B4a (more specifically the latest threading library) you'll need to add a parameter to the start thread call in artest. Line 89, Record.Start("Recording",Null) becomes Record.Start(Null,"Recording",Null)
artest 1155
Included in the demo program is a WAV file header routine that allows saving captured sound as an uncompressed wav file.
Please read the documentation of the AudioRecord object. It's a little more complicated that the media recorder version, but gives additional flexibility.
Please test it and hopefully we can get it to work well for us.
Added libs 1.01 - Additional constants and Capitalized
12/6/2012 Artest updated to better manage thread on closedown.
For use with V2 of B4a (more specifically the latest threading library) you'll need to add a parameter to the start thread call in artest. Line 89, Record.Start("Recording",Null) becomes Record.Start(Null,"Recording",Null)
artest 1155
Attachments
Last edited: