Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change the wave or mp3 audio to a pcm format data? #88

Open
78226415 opened this issue Oct 2, 2016 · 1 comment
Open

How to change the wave or mp3 audio to a pcm format data? #88

78226415 opened this issue Oct 2, 2016 · 1 comment

Comments

@78226415
Copy link

78226415 commented Oct 2, 2016

Hi every one:
WAV and PCM files are both digital audio files. WAV files are more commonly used by Windows-based computers and can contain either compressed audio or uncompressed audio. A PCM file is used for uncompressed audio only, in its raw form.
As you known, the audio_capture is providing wave and mp3 data, but i need the raw pcm format data, could audio_capture provides it? Or How to change the wave or mp3 audio to a pcm format data? Or other solutions?
thanks.

@trainman419
Copy link
Contributor

I'm not currently accepting feature requests for audio_common, but if you want to implement this yourself I will review your pull request.

If PCM is raw audio data, it may be difficult to play it without additional metadata specifying the sample rate, bit depth and number of channels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants