Problem solved. We didn't know about the android AudioRecord API which
can record raw PCM up to 44khz. We ended up using 16-bit 11khz PCM
encoded to WAV with the java speech api (we used the Tritonus
library).

On Jun 3, 4:22 pm, Robert Peterson <[email protected]> wrote:
> As a first step toward a speech recognition project, we wrote a simple
> voice recording application based on the information in this 
> thread:http://groups.google.com/group/android-developers/browse_thread/threa...
>
> It is working; however, the audio is extremely poor -- too staticy for
> our needs.
>
> As a comparison, we did a similar audio file captured with audacity
> on a PC and it was much better.
>
> Has anyone been able to record high quality audio with the android dev
> phone?
>
> According to the documentation of MediaRecorder, there is only one
> audio encoder "AMR (Narrowband) audio codec" and three output
> formats--3gpp, mpeg, and raw 
> AMR:http://developer.android.com/reference/android/media/MediaRecorder.html
>
> According to wikipedia, AMR encoding is only 8hz. Is there a better option
> available.. perhaps a lower-level API compared to MediaRecorder?
>
> We are testing on Windows XP, with a Logitec USB microphone, eclipse
> ganymede, and we are using all the defaults for an android 1.5 app (no
> emulator command-line options.. we defined the sdcard in the avd
> manager).
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to