comparison wiki/AIMCDataFormat.wiki @ 438:bc75da283e83

Edited wiki page AIMCDataFormat through web user interface.
author tom@acousticscale.org
date Thu, 04 Nov 2010 18:34:46 +0000
parents 644bbf8f0b37
children
comparison
equal deleted inserted replaced
437:644bbf8f0b37 438:bc75da283e83
6 6
7 == Header format == 7 == Header format ==
8 The first 20 bytes of the file contain the following fields: 8 The first 20 bytes of the file contain the following fields:
9 9
10 * 32-bit unsigned integer: frame count - total number of frames in the file (these can be SAIs, filterbank output frames or other things (eg. features), but all frames in the file are of the same type) 10 * 32-bit unsigned integer: frame count - total number of frames in the file (these can be SAIs, filterbank output frames or other things (eg. features), but all frames in the file are of the same type)
11 * 32-bit float: frame period (the interval between adjacent frames in milliseconds) 11 * 32-bit float: frame period (the interval between adjacent frames in milliseconds) (TODO(tom): this is currently not set properly).
12 * 32-bit unsigned integer: channel count (number of frequency channels in the output) 12 * 32-bit unsigned integer: channel count (number of frequency channels in the output)
13 * 32-bit unsigned integer frame length (length of each frame in samples) 13 * 32-bit unsigned integer frame length (length of each frame in samples)
14 * 32-bit float: sample rate (audio sample rate in Hz) 14 * 32-bit float: sample rate (audio sample rate in Hz)
15 15
16 16