hyochan/react-native-audio-recorder-player

How can we record and save file as .wav ?

krixs3112 opened this issue · 5 comments

I'm reaching out to request a new feature for the project. We are currently working on a use case where we need to record audio and save the file in the .wav format.(Android)

Add a new option or method to the recording functionality that allows users to specify the desired output format, including .wav.
Ensure that the recorded audio is saved in the specified format, maintaining the quality and characteristics of the original recording.

same requirement for me tooo
any patch or workaround highly appriciated

find it in another issue, maybe it can help:

const PATH = Platform.select({
ios: 'audio.VAW',
android: ${cacheDir}/audio.VAW,
});

audioRecorderPlayer.startRecorder(PATH);

find out that it cause problems on ios

I found on Android I can save the file with a .wav extension by including it in the path that is passed to startRecorder, but the file is not actually saved in WAVE format. Is saving in WAVE format possible on Android yet?

Hi @davidburson did you get any update or workaround for this?

@dipankar4765 no, for wav on Android I'm using react-native-audio-record. It's archived, but it is still working for this case for me.