16-bit UNSIGNED Linear PCM: Now What?

Effects, Recipes, Interfacing with other software, etc.
Forum rules
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
Post Reply
SoItBegins
Posts: 3
Joined: Mon Feb 04, 2008 6:55 am
Operating System: Please select

16-bit UNSIGNED Linear PCM: Now What?

Post by SoItBegins » Mon Feb 04, 2008 7:02 am

I've stumbled across an extremely rare PCM file: it's 16 bit unsigned. I'd like to import it into Audacity, but I can't read it. No program I have ever come across can read it. (Admittedly, I've only been looking for an hour or so, but still...)

So, I have a problem: How can I get Audacity to read this? Alternately, is there some program that will turn an unsigned 16-bit PCM file into a signed one? Thanks in advance for all the help...

alatham
Posts: 1591
Joined: Tue Jul 31, 2007 2:27 pm
Operating System: Windows 10

Re: 16-bit UNSIGNED Linear PCM: Now What?

Post by alatham » Tue Feb 05, 2008 4:55 pm

Unsigned 16-bit? Ugh.

If you can find an audio program that will play it, then you can use Audacity to record the speaker output. But Audacity will not be able to open that file properly. I'm also skeptical that you'll be able to find a program that will.

The only thing I can think of would be to use a program like Matlab that can import the file as a vector and you can then convert it to a signed 16-bit wav. But Matlab is expensive and has a sharp learning curve.

steve
Site Admin
Posts: 80677
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: 16-bit UNSIGNED Linear PCM: Now What?

Post by steve » Tue Feb 05, 2008 6:10 pm

Where did this file come from? Whatever it was that created it should be able to play it.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

SoItBegins
Posts: 3
Joined: Mon Feb 04, 2008 6:55 am
Operating System: Please select

Re: 16-bit UNSIGNED Linear PCM: Now What?

Post by SoItBegins » Wed Feb 06, 2008 9:02 pm

The file in question was extracted by hex editor from the resource files of 3D Ultra Pinball: Thrillride. I own the game, and can listen to the music in-game when ever I want-- I'd just prefer to listen outside of the game as well.

waxcylinder
Forum Staff
Posts: 14572
Joined: Tue Jul 31, 2007 11:03 am
Operating System: Windows 10

Re: 16-bit UNSIGNED Linear PCM: Now What?

Post by waxcylinder » Thu Feb 07, 2008 9:50 am

A workaround would be to play the music in you Pinball game and at the same time record it into Audacity.

WC
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * FAQ * * * * * Tutorials * * * * * Audacity Manual * * * * *

SoItBegins
Posts: 3
Joined: Mon Feb 04, 2008 6:55 am
Operating System: Please select

Re: 16-bit UNSIGNED Linear PCM: Now What?

Post by SoItBegins » Thu Feb 07, 2008 5:12 pm

Oh, I never thought of that. Thanks!

tsx
Posts: 1
Joined: Fri Feb 22, 2008 12:19 pm
Operating System: Please select

Re: 16-bit UNSIGNED Linear PCM: Now What?

Post by tsx » Fri Feb 22, 2008 12:25 pm

Chris Bagwell's SoX can pretty much convert anything to anything - including signed/unsigned PCM:

http://sox.sourceforge.net

Post Reply