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
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
Since there seems to be so much interest in this problem (sarcasm) I provide the following patch:
----------begin_max5_patcher---------- 1711.3ocyZszbaaCD9r8uBLpGZxLNbH.e2dJm5zCouldKtiGHRHIjPBngDR1 pYh+sW7ffhJlxhjkQRdFaRr3A+1OrK1kK8Wt8lYy4OQplA9IvGA2byWt8laz hTBtot8MyJvOkliqzCaVJunfvDytyzmf7jPKG5.9KRJuLCfAOh2BVPyIfGoh UfBdIAHVgY.wibPp7FFIuxzW0hR8jd14dFxA7G43c.p.LGm9Y6.VKko51yA7 KDAfxVvAblZT0CPIQMf6YuAmmCVx4YfJNXAt7sJg9Nf+tbGPHm0Zx94gYbwJ RI.udsdt+4FZ5mEzBBP8.Ik2Ad+lLbJUrSdWFeNQ0lJnxGc0J9lbodJeXRw3 4RE0t5xkzn4uCLei.jhY+nPu7+5BvN9Fs1ujreXhcq0S99YX5hE2OSpd5Na3 EYOpEV1SAopBWO2J5SVhDHmXMYyK+bMspFSi5UoAv6OXRM6PokDrfjYlViFd 7kRyk64d8lC3MLNfTVxkjVEgTTozHUO2AjcTPDpImJnakj4akDelcSSOwJbw ZKSn2bKIhMkLR1a0392YxmeYaSmFvW0fdIq8A7SZX6.tm8gtr3ZMsLtDXBGq MbNkII6MLsgLxsVJaSAeiHmHz18VoKJWNW21wJYMVjthxV9fbGSX7jPQQNA2 IWp.0EuvP4fkBCbbA+S8rnYZuF97O8NejEHK3LACWPzc89RJNucOUz+U2CD4 zBiTlEhPkrud6sp+bWO8lkKvbR4y1GSEc4gJ2gj.53pLLIPojPjqRkgZLJIf VZrYcTaylYndXLkFBlsHmikqicjE7LR6GWKtxyeZ3JzH3picxmFESfQil.8h 0LWPxK3u1rvEzh4XrfdicxXgf3dvBv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OTEQ5fFH8Ix9dt1F6Qwjocw83bC+gobd9J7ZeaxlFeG.e3 zCdHDdtPueOPum+Y6HaXPOvi503OW3wqOmCfNawPz34jGSBOu34jQQbOu34T AYgImW7bpbPTU58bhmS5eEc9vCpG3IYXmdVGqxTrYuXOaiuCmdpJszTCeKhi L+md0z36A7m9PW0QqhbaE5R03Bhd3fQebfIYmPGnp5ZQFIWPU.M7M.SsE7ib hqKPnRxETE7FqMTXhSnLKU2vKtgj+fUgP8eQIPGjbSHN1H4BpBACVEBhMeYW cIqTMNI5MkQ.ud8VRYUMDz.eVA9SlJUn+bPxGHiu+ekoYkjsT63iuUsZe81+ Cr5+YDC -----------end_max5_patcher-----------
I really wish someone would tell me I’m wrong about this.
Why you really want use ‘wave’ when ‘aif’ seems to work, also in other applications?
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.
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.
Forums > MaxMSP