I have an application for iPAD. This application records the voice of the microphone. The audio formats of the item must be PCM, MP3 and WAV files. The MP3 file I get it starting from the original raw file and then convert using LAME. Unfortunately I have not found any example that allows me to convert a PCM file to a WAV file. I just noticed that if I put the file extension to WAV format, starting from the raw application saves without problems, so I think that there is no type conversion from PCM WAV files. Correct?
PS: Sorry for my english ... I use Google Translate
PulsePulseIn physics, a pulse is a generic term describing a single disturbance that moves through a transmission medium. This medium may be vacuum (in the case of electromagnetic radiation) or matter, and may be indefinitely large or finite.https://en.wikipedia.org › wiki › Pulse_(physics)Pulse (physics) - Wikipedia Code Modulation(PCM) is a subclass of the Microsoft waveform (. WAV) file format. PCM is a technique for storing analog audio data in a digital format.
Converting WAV to MP3 gets your data compressed, with loss. Converting MP3 to WAV gets your data expanded, without loss (But the loss presumably already has taken place beforehand, so you gain no additional resolution.
WAV is some kind of a box. PCM is in the box. There are many container formats like MP4. MP4 can contain audio, video or both. It can also contain multiple video or audio streams. Or zip files. Zip files can contain text files. But zip files can also contain images, pdfs,... But you can't say "how can I convert a zip file to the text file inside the zip".
If you want to convert PCM data to a WAVE file you should not many problems because WAV files are quite simple files. Take a look at this:
(See also WAVE PCM soundfile format.)
You first need that header and after you can just append all your pcm data (see the data field).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With