Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
727 views
in Technique[技术] by (71.8m points)

how to record .wav format file in android

I would like to record .wav files using android. is there any way to do this?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

After a quick google I found out that there is a direct support for wave recording. Most common wave format is PCM. The android.media.AudioRecord supports PCM output. You only need to write this to a file then.

After the file you then create you must program your own convertor to wave (or look for an online library for that).

If you like an app that is ready to go and record in wave you can download this app:

Extra link:


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...