On Tue, 5 Apr 2005, Dave Chapman wrote:

> Unfortunately, it's not quite as simple as that for 24-bit audio.

        I didn't think it would be ;)  Oh, you're also quite correct about
        flipping bytes in the 16bit lpcm files - I momentarily forgot that
        '-x' is needed when using sox to convert .wav to .raw

> As you can see, the packing consists of the most significant 16-bits of
> the four samples (in big-endian byte order), followed by the least
> significant 8 bits of the four samples.
        
        Ah ha!  I wondered how the bytes were packed for 24bit audio - that's
        another little mystery solved.  Thanks.

> I don't know if any tools exist to do this manipulation.

        Is there a newer version of 'sox' that might do the task?  I haven't
        done any serious looking at audio projects but I get the feeling that
        24bit audio isn't well supported outside the professional studios
        yet.

        Cheers,
        Steven Schultz



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to