Re: QT -208 error
Re: QT -208 error
- Subject: Re: QT -208 error
- From: Brian Willoughby <email@hidden>
- Date: Wed, 11 Apr 2012 11:38:48 -0700
On Apr 11, 2012, at 06:08, Vassilis wrote:
I don't see this fixable. Of course, I 'd love to be proven wrong,
hence my posting to this mailing list.
It depends upon whether you're shipping these WAV files or if you
expect your customers to be able to use them on their own. If you
are shipping these WAV files, then you can repair them by using
afconvert to rewrite them. afconvert will write out the correct format.
If your customers are creating these files, then be aware that the
files are bad, as Richard Dobson pointed out. I have found that it
is a common error with existing audio software to create bad WAV and
bad AIFF files in 24-bit mono format. That's because an odd-valued
address never appears in a 16-bit audio file, whether mono or stereo,
and an odd-valued address never appears in a stereo file, whether 16-
bit or 24-bit. In fact, the only time that odd-valued pose a
potential issue is with mono 8-bit and mono 24-bit formats, due to
the odd number of bytes per sample. Most of the audio software out
there was never tested with these formats, and thus you have users
creating files that are technically bad, even though they used
"professional" software to create the files.
When I am not writing code or designing electronics, I record live
multitrack music on location. I've found that even Logic has this
bug with mono 24-bit files, specifically with AIFF. I have written
my own Mac utilities that can repair the illegal odd-sized chunks in
place.
Bottom line: The only way to "fix" this is to fix it at the source of
the problem - the audio software that created the WAV files. QT
7.6.6 is not really broken, it just happens to be more strict than
later versions. But this is not a QT bug, rather it is a bug in the
other software that created the files.
Brian Willoughby
Sound Consulting
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden