Flutter Sound Helpers API
waveToPCM()
waveToPCM()
This verb is usefull to convert a Wave file to a Raw PCM file.
It removes the Wave
envelop from the PCM file.
Example:
Dart
Javascript
String inputFile = '$myInputPath/bar.pcm';
var tempDir = await getTemporaryDirectory();
String outpufFile = '${tempDir.path}/$foo.wav';
await flutterSoundHelper.waveToPCM(inputFile: inputFile, outpoutFile: outputFile);
</div>