Importing PCM Data

Audio software developers forum.

If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like

A quick question about PCM

Permanent link to this post Posted by Atton » Tue May 09, 2017 12:40 pm

I've been playing around with MPG123 and also a little bit with Audacity. I took an MP3 file and I used Audacity to produce a pcm file and MPG123 to do the same.
However the files have differed greatly even taking into account the two files are pure pcm data, rather than wav. Are there any additions that need to be made to the pcm steam and can this be done easily?
I'm using VS2015 and windows 7
https://pastebin.com/KsQ3vmuU
Atton
 
Posts: 2
Joined: Tue May 09, 2017 9:12 am
Operating System: Windows 7

Re: Importing PCM Data

Permanent link to this post Posted by kozikowski » Tue May 09, 2017 7:29 pm

It's not unusual for Audacity to not support every single metadata flag. Could that be it? Some of those flags can contain tons of data.

Koz
kozikowski
Forum Staff
 
Posts: 37002
Joined: Thu Aug 02, 2007 5:57 pm
Location: Los Angeles
Operating System: OS X 10.9 Mavericks

Re: Importing PCM Data

Permanent link to this post Posted by steve » Tue May 09, 2017 8:01 pm

I don't know the answer, but I see there are some examples in the mpg123 documentation that maybe helpful: https://mpg123.org/api/
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
steve
Senior Forum Staff
 
Posts: 43932
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Importing PCM Data

Permanent link to this post Posted by Atton » Fri May 12, 2017 8:24 am

kozikowski wrote:It's not unusual for Audacity to not support every single metadata flag. Could that be it? Some of those flags can contain tons of data.

Koz
So meta is required then by sounds of it?
Atton
 
Posts: 2
Joined: Tue May 09, 2017 9:12 am
Operating System: Windows 7


Return to General Audio Programming



Who is online

Users browsing this forum: No registered users and 1 guest