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

    Mar 30 2013 | 2:04 am
    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

    • Mar 30 2013 | 7:33 pm
      Since there seems to be so much interest in this problem (sarcasm) I provide the following patch:
      I really wish someone would tell me I'm wrong about this.
    • Mar 30 2013 | 8:36 pm
      Why you really want use 'wave' when 'aif' seems to work, also in other applications?
    • Mar 31 2013 | 2:00 am
      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.
    • Mar 31 2013 | 5:11 am
      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:
    • Mar 31 2013 | 5:22 am
      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.