Jump to content

Importing raw audio file with arbitrary number of channels

Andrew Madry

Recommended Posts

Is there a way to import a raw format audio file with say 4 channels?

When I read a raw format file the options come up for type of data eg 32 bit, little endian, etc. But there are only fixed options for number of channels. There are mono, stereo, 5.1, etc. There is no way to set a specific number of channels like 4. There is a "match source" option, but I can't figure out if that could help. The help on the dialog jumps to an irrelevant page.

The reason I ask is that I had a wav file with a corrupted header, but the data is good. So I renamed to .raw and I can read the file in to look at whats in it. It's just that in my case there happens to be 4 channels. 

Link to comment
Share on other sites

Unfortunately Mixpad doesn't help. I tried it. It does seem to have more options when you Load Clip and select the raw format (eg for the bit depth). BTW Wavepad has a bug because it calls one format 32 bit integer for the float format. But setting the number of channels explicitly is not one of the options. Its the same as Wavepad in that regards.

I guess it would be useful to know what "Match Source" means in Channels in the context of a raw file where there is no header to say how many channels. If somehow Match Source could point to the number of channels I want to set then it would work.

I also tried the Switch package to see if this was better. But same thing.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...