View Single Post
Old 9th March 2005, 13:57   #38  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
@Sakuya

I don't understand this change in lenght.
What program say you this lengths of wav6?
Can you send me the wav6 header?
(In Hexedit mark from first byte to the four next to "data", then Copy (Ctrl+C) and Paste (Ctrl+V) in the post reply)

This is a wav 6 channels 44.1 KHz faad generated

00|52 49 46 46 3c a0 a1 00 57 41 56 45 66 6d 74 20|RIFF....WAVEfmt
10|28 00 00 00 fe ff 06 00 44 ac 00 00 30 13 08 00|................
20|0c 00 10 00 16 00 10 00 3f 00 00 00 01 00 00 00|................
30|00 00 10 00 80 00 00 aa 00 38 9b 71 64 61 74 61|............data
40|00 a0 a1 00 ... |....

Duration in seconds = Subchunk2Size / ByteRate
Where:
Subchunk2Size (offset 40 hex, 4 inverse order bytes) = 00a1a000 = 10592256
ByteRate (offset 1C hex, 4 inverse order bytes) = 00081330 = 529200
Duration in seconds = 10592256 / 529200 = 20.0156
tebasuna51 is offline   Reply With Quote