The audio is 2 channels and each audio sample is 24 bits (3 bytes). Thus the data chunk should be aligned increments of 6 bytes (2 channels * 3 bytes per sample). I made this example to use a data chunk of 10 bytes in size. BWF MetaEdit reports no error, though the file doesn't make sense.
I suggest a message like: "The audio is X channels and Y bytes/sample; however, the data chunk is not aligned to a multiple of Z (X*Y)." Welcoming better suggestions for the message. I'm not sure if there is a term for the data that is the total of each channel's samples for a giving point in time.
Example file:
data_length_not_sample_aligned.wav.zip
The audio is 2 channels and each audio sample is 24 bits (3 bytes). Thus the data chunk should be aligned increments of 6 bytes (2 channels * 3 bytes per sample). I made this example to use a data chunk of 10 bytes in size. BWF MetaEdit reports no error, though the file doesn't make sense.
I suggest a message like: "The audio is X channels and Y bytes/sample; however, the data chunk is not aligned to a multiple of Z (X*Y)." Welcoming better suggestions for the message. I'm not sure if there is a term for the data that is the total of each channel's samples for a giving point in time.