[linux-audio-user] Funky wav file format 674f

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 12 Oct 2003 02:48:20 -0500
"Pete Bessman" <ninjadroid@xxxxxxx> wrote:

> So I got a bunch of samples lying around from my FruityLoops days, and I
> want to make use of 'em.  The catch is, they're not standard PCM encoded
> WAV files. While they are waves, they use format '674f', and I can't
> figure out exactly what it is.  XMMS can play it, sox doesn't know what
> to do with it, and I've grepped the crap out of libsndfile and
> libaudiofile and haven't found reference to it.  Anybody know anything
> about this?  I'm about to go through the XMMS sources, so my post here
> might be premature, but any and all leads will be appreciated.


I asked for a copy of this file in a private email to Peter. Turns out this
is VERY interesting. Here is the hexdump:

00000000: 52 49 46 46 8C 10 00 00  57 41 56 45 66 6D 74 20    RIFF.... WAVEfmt
00000010: 1A 00 00 00 4F 67 01 00  44 AC 00 00 F8 2A 00 00    ....Og.. D....*..
00000020: 01 00 10 00 08 00 01 02  02 20 31 12 01 20 66 61    ........ . 1.. fa
00000030: 63 74 04 00 00 00 1F 05  00 00 64 61 74 61 52 10    ct...... ..dataR.
00000040: 00 00 4F 67 67 53 00 02  00 00 00 00 00 00 00 00    ..OggS.. ........
00000050: 00 00 00 00 00 00 00 00  B7 8F 12 B0 01 1E 01 76    ........ .......v
00000060: 6F 72 62 69 73 00 00 00  00 01 44 AC 00 00 FF FF    orbis... ..D.....
00000070: FF FF 0F FA 00 00 FF FF  FF FF B8 01 4F 67 67 53    ........ ....OggS
00000080: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 01 00    ........ ........
00000090: 00 00 7D 31 CB 1F 0F 46  FF FF FF FF FF FF FF FF    ..}1...F ........
000000A0: FF FF FF FF FF DE 03 76  6F 72 62 69 73 20 00 00    .......v orbis ..
000000B0: 00 58 69 70 68 6F 70 68  6F 72 75 73 20 6C 69 62    .Xiphoph orus lib
000000C0: 56 6F 72 62 69 73 20 49  20 32 30 30 31 31 32 33    Vorbis I  2001123
000000D0: 31 01 00 00 00 12 00 00  00 45 4E 43 4F 44 45 52    1....... .ENCODER
000000E0: 3D 76 6F 72 62 69 73 2E  61 63 6D 01 05 76 6F 72    =vorbis. acm..vor
000000F0: 62 69 73 25 42 43 56 01  00 40 00 00 80 60 DA 11    bis%BCV. .@...`..
00000100: 05 36 C5 A4 94 52 9E 71  58 2A 29 3A E5 A4 94 52    .6...R.q X*):...R
00000110: B2 C3 22 3B 4D CA 27 A5  94 52 4A 29 A5 7C 52 CA    ..";M.'. .RJ).|R.
00000120: 18 63 8C 31 82 D0 90 55  00 00 10 00 00 41 0C 65    .c.1...U .....A.e
00000130: 06 59 C9 1C 17 5F 83 46  0C 75 06 59 C9 1C 17 DF    .Y..._.F .u.Y....
00000140: 7B 89 90 A2 4A 39 0C A1  05 21 84 F0 A5 02 9B 3A    {...J9.. .!.....:
00000150: 10 2E 05 21 84 20 34 64  15 00 00 08 00 C0 20 84    ...!. 4d ...... .
00000160: 10 42 08 21 85 14 52 48  21 85 14 62 88 21 86 18    .B.!..RH !..b.!..

Do you see what I see?

If you wanted to play this, I would suggest stripping off the first 68 bytes.
You will then have a standard Ogg Vorbis file.

Erik
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo  nospam@xxxxxxxxxxxxx (Yes it's valid)
+-----------------------------------------------------------+
"I once worked for a company where as part of the BS5750 "Quality"
process I attended a meeting where I was informed that it was Company
Policy not to use free software. When I asked him for his written
authorisation for me to remove X Windows from our Sun workstations,
he backtracked."   -- Phil Hunt


[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux