Can you create a wav file with more than two channels?

Mar 30, 2013 at 2:04am

Can you create a wav file with more than two channels?

Here’s a challenge.
Can you create a wav file with more than two channels using sfrecord~?

This started as what i thought was a more complex issue in thread
http://cycling74.com/forums/topic.php?id=46237
but seems to be a more basic problem that’s gone unfixed for a while.

If you think you’ve succeeded:
a) examine the header to make sure it’s really a wav file and not an aif
b) try to open it in another (non Max) application

Cheers.

#67392
Mar 30, 2013 at 7:33pm

Since there seems to be so much interest in this problem (sarcasm) I provide the following patch:

– Pasted Max Patch, click to expand. –

I really wish someone would tell me I’m wrong about this.

#242439
Mar 30, 2013 at 8:36pm

Why you really want use ‘wave’ when ‘aif’ seems to work, also in other applications?

#242440
Mar 31, 2013 at 2:00am

I personally prefer Apple computers, the OS X operating system, and AIFF audio files. However, I also live in the real world where I routinely have to interface with the 90% of the computer market that is PC based running Windows and using WAVE files. Many industries are entirely PC/Windows/WAVE, for example the planetariums (or planetaria if you prefer) that I produce work for. All of the festivals that I submit work to require wav files for the audio. My local clients require wav files. One of the common forms of distribution of 5.1 audio is a bundled wav file with 6 channels arranged L/R/C/LFE/Ls/Rs. I’m developing a commercial application and if I want to sell more copies it needs to be able write both AIFF and WAVE format files that can be read by applications other than the one that wrote it.

There is also the small matter of the Max software which claims to be able to write WAVE files with more than two channels and can’t. I would think that anyone concerned with the health and longevity of the Max environment would welcome someone bringing this problem to light and would encourage cycling74 to fix it. From my research in the forum it seems that this has been a problem for years and no one has fixed it or even owned up to it being a problem. Then again I know enough to know that I might be wrong. I might have missed something. I might be doing something wrong and I’ve asked for help. I’m still waiting for someone from cycling74 to say “yeah, we know this is an issue and we’re working on it” or “here’s how you do it”. Otherwise I’ve wasted a stinking lot of time working on something I’m not going to be able to finish.

But thanks for asking.

#242441
Mar 31, 2013 at 5:11am

For possible action by “someone from Cycling ’74″, my recommendation would be to follow the established bug reporting process with your findings. You might start here: http://cycling74.com/max6-bug-form/

Best,

Steven

#242442
Mar 31, 2013 at 5:22am

Thanks,

I was hoping that someone would tell me I was wrong. If that doesn’t happen soon I will file a bug report. I would also note that no one has told me I’m right.

#242443

You must be logged in to reply to this topic.