xref: /freebsd/contrib/file/magic/Magdir/audio (revision 5f0216bd883edee71bf81051e3c20505e4820903)
1b6cee71dSXin LI
2b6cee71dSXin LI#------------------------------------------------------------------------------
3*5f0216bdSXin LI# $File: audio,v 1.73 2015/03/15 23:21:42 christos Exp $
4b6cee71dSXin LI# audio:  file(1) magic for sound formats (see also "iff")
5b6cee71dSXin LI#
6b6cee71dSXin LI# Jan Nicolai Langfeldt (janl@ifi.uio.no), Dan Quinlan (quinlan@yggdrasil.com),
7b6cee71dSXin LI# and others
8b6cee71dSXin LI#
9b6cee71dSXin LI
10b6cee71dSXin LI# Sun/NeXT audio data
11b6cee71dSXin LI0	string		.snd		Sun/NeXT audio data:
12b6cee71dSXin LI>12	belong		1		8-bit ISDN mu-law,
13b6cee71dSXin LI!:mime	audio/basic
14b6cee71dSXin LI>12	belong		2		8-bit linear PCM [REF-PCM],
15b6cee71dSXin LI!:mime	audio/basic
16b6cee71dSXin LI>12	belong		3		16-bit linear PCM,
17b6cee71dSXin LI!:mime	audio/basic
18b6cee71dSXin LI>12	belong		4		24-bit linear PCM,
19b6cee71dSXin LI!:mime	audio/basic
20b6cee71dSXin LI>12	belong		5		32-bit linear PCM,
21b6cee71dSXin LI!:mime	audio/basic
22b6cee71dSXin LI>12	belong		6		32-bit IEEE floating point,
23b6cee71dSXin LI!:mime	audio/basic
24b6cee71dSXin LI>12	belong		7		64-bit IEEE floating point,
25b6cee71dSXin LI!:mime	audio/basic
26b6cee71dSXin LI>12	belong		8		Fragmented sample data,
27b6cee71dSXin LI>12	belong		10		DSP program,
28b6cee71dSXin LI>12	belong		11		8-bit fixed point,
29b6cee71dSXin LI>12	belong		12		16-bit fixed point,
30b6cee71dSXin LI>12	belong		13		24-bit fixed point,
31b6cee71dSXin LI>12	belong		14		32-bit fixed point,
32b6cee71dSXin LI>12	belong		18		16-bit linear with emphasis,
33b6cee71dSXin LI>12	belong		19		16-bit linear compressed,
34b6cee71dSXin LI>12	belong		20		16-bit linear with emphasis and compression,
35b6cee71dSXin LI>12	belong		21		Music kit DSP commands,
36b6cee71dSXin LI>12	belong		23		8-bit ISDN mu-law compressed (CCITT G.721 ADPCM voice enc.),
37b6cee71dSXin LI!:mime  audio/x-adpcm
38b6cee71dSXin LI>12	belong		24		compressed (8-bit CCITT G.722 ADPCM)
39b6cee71dSXin LI>12	belong		25		compressed (3-bit CCITT G.723.3 ADPCM),
40b6cee71dSXin LI>12	belong		26		compressed (5-bit CCITT G.723.5 ADPCM),
41b6cee71dSXin LI>12	belong		27		8-bit A-law (CCITT G.711),
42b6cee71dSXin LI>20	belong		1		mono,
43b6cee71dSXin LI>20	belong		2		stereo,
44b6cee71dSXin LI>20	belong		4		quad,
45b6cee71dSXin LI>16	belong		>0		%d Hz
46b6cee71dSXin LI
47b6cee71dSXin LI# DEC systems (e.g. DECstation 5000) use a variant of the Sun/NeXT format
48b6cee71dSXin LI# that uses little-endian encoding and has a different magic number
49b6cee71dSXin LI0	lelong		0x0064732E	DEC audio data:
50b6cee71dSXin LI>12	lelong		1		8-bit ISDN mu-law,
51b6cee71dSXin LI!:mime	audio/x-dec-basic
52b6cee71dSXin LI>12	lelong		2		8-bit linear PCM [REF-PCM],
53b6cee71dSXin LI!:mime	audio/x-dec-basic
54b6cee71dSXin LI>12	lelong		3		16-bit linear PCM,
55b6cee71dSXin LI!:mime	audio/x-dec-basic
56b6cee71dSXin LI>12	lelong		4		24-bit linear PCM,
57b6cee71dSXin LI!:mime	audio/x-dec-basic
58b6cee71dSXin LI>12	lelong		5		32-bit linear PCM,
59b6cee71dSXin LI!:mime	audio/x-dec-basic
60b6cee71dSXin LI>12	lelong		6		32-bit IEEE floating point,
61b6cee71dSXin LI!:mime	audio/x-dec-basic
62b6cee71dSXin LI>12	lelong		7		64-bit IEEE floating point,
63b6cee71dSXin LI!:mime	audio/x-dec-basic
64b6cee71dSXin LI>12	belong		8		Fragmented sample data,
65b6cee71dSXin LI>12	belong		10		DSP program,
66b6cee71dSXin LI>12	belong		11		8-bit fixed point,
67b6cee71dSXin LI>12	belong		12		16-bit fixed point,
68b6cee71dSXin LI>12	belong		13		24-bit fixed point,
69b6cee71dSXin LI>12	belong		14		32-bit fixed point,
70b6cee71dSXin LI>12	belong		18		16-bit linear with emphasis,
71b6cee71dSXin LI>12	belong		19		16-bit linear compressed,
72b6cee71dSXin LI>12	belong		20		16-bit linear with emphasis and compression,
73b6cee71dSXin LI>12	belong		21		Music kit DSP commands,
74b6cee71dSXin LI>12	lelong		23		8-bit ISDN mu-law compressed (CCITT G.721 ADPCM voice enc.),
75b6cee71dSXin LI!:mime	audio/x-dec-basic
76b6cee71dSXin LI>12	belong		24		compressed (8-bit CCITT G.722 ADPCM)
77b6cee71dSXin LI>12	belong		25		compressed (3-bit CCITT G.723.3 ADPCM),
78b6cee71dSXin LI>12	belong		26		compressed (5-bit CCITT G.723.5 ADPCM),
79b6cee71dSXin LI>12	belong		27		8-bit A-law (CCITT G.711),
80b6cee71dSXin LI>20	lelong		1		mono,
81b6cee71dSXin LI>20	lelong		2		stereo,
82b6cee71dSXin LI>20	lelong		4		quad,
83b6cee71dSXin LI>16	lelong		>0		%d Hz
84b6cee71dSXin LI
85b6cee71dSXin LI# Creative Labs AUDIO stuff
86b6cee71dSXin LI0	string	MThd			Standard MIDI data
87b6cee71dSXin LI!:mime	audio/midi
88b6cee71dSXin LI>8 	beshort	x			(format %d)
89b6cee71dSXin LI>10	beshort	x			using %d track
90b6cee71dSXin LI>10	beshort		>1		\bs
91b6cee71dSXin LI>12	beshort&0x7fff	x		at 1/%d
92b6cee71dSXin LI>12	beshort&0x8000	>0		SMPTE
93b6cee71dSXin LI
94b6cee71dSXin LI0	string	CTMF			Creative Music (CMF) data
95b6cee71dSXin LI!:mime	audio/x-unknown
96b6cee71dSXin LI0	string	SBI			SoundBlaster instrument data
97b6cee71dSXin LI!:mime	audio/x-unknown
98b6cee71dSXin LI0	string	Creative\ Voice\ File	Creative Labs voice data
99b6cee71dSXin LI!:mime	audio/x-unknown
100b6cee71dSXin LI# is this next line right?  it came this way...
101b6cee71dSXin LI>19	byte	0x1A
102b6cee71dSXin LI>23	byte	>0			- version %d
103b6cee71dSXin LI>22	byte	>0			\b.%d
104b6cee71dSXin LI
105b6cee71dSXin LI# first entry is also the string "NTRK"
106b6cee71dSXin LI0	belong		0x4e54524b	MultiTrack sound data
107b6cee71dSXin LI>4	belong		x		- version %d
108b6cee71dSXin LI
109b6cee71dSXin LI# Extended MOD format (*.emd) (Greg Roelofs, newt@uchicago.edu); NOT TESTED
110b6cee71dSXin LI# [based on posting 940824 by "Dirk/Elastik", husberg@lehtori.cc.tut.fi]
111b6cee71dSXin LI0	string		EMOD		Extended MOD sound data,
112b6cee71dSXin LI>4	byte&0xf0	x		version %d
113b6cee71dSXin LI>4	byte&0x0f	x		\b.%d,
114b6cee71dSXin LI>45	byte		x		%d instruments
115b6cee71dSXin LI>83	byte		0		(module)
116b6cee71dSXin LI>83	byte		1		(song)
117b6cee71dSXin LI
118b6cee71dSXin LI# Real Audio (Magic .ra\0375)
119b6cee71dSXin LI0	belong		0x2e7261fd	RealAudio sound file
120b6cee71dSXin LI!:mime	audio/x-pn-realaudio
121b6cee71dSXin LI0	string		.RMF\0\0\0	RealMedia file
122b6cee71dSXin LI!:mime	application/vnd.rn-realmedia
123b6cee71dSXin LI#video/x-pn-realvideo
124b6cee71dSXin LI#video/vnd.rn-realvideo
125b6cee71dSXin LI#application/vnd.rn-realmedia
126b6cee71dSXin LI#	sigh, there are many mimes for that but the above are the most common.
127b6cee71dSXin LI
128b6cee71dSXin LI# MTM/669/FAR/S3M/ULT/XM format checking [Aaron Eppert, aeppert@dialin.ind.net]
129b6cee71dSXin LI# Oct 31, 1995
130b6cee71dSXin LI# fixed by <doj@cubic.org> 2003-06-24
131b6cee71dSXin LI# Too short...
132b6cee71dSXin LI#0	string		MTM		MultiTracker Module sound file
133b6cee71dSXin LI#0	string		if		Composer 669 Module sound data
134b6cee71dSXin LI#0	string		JN		Composer 669 Module sound data (extended format)
135b6cee71dSXin LI0	string		MAS_U		ULT(imate) Module sound data
136b6cee71dSXin LI
137b6cee71dSXin LI#0	string		FAR		Module sound data
138b6cee71dSXin LI#>4	string		>\15		Title: "%s"
139b6cee71dSXin LI
140b6cee71dSXin LI0x2c	string		SCRM		ScreamTracker III Module sound data
141b6cee71dSXin LI>0	string		>\0		Title: "%s"
142b6cee71dSXin LI
143b6cee71dSXin LI# Gravis UltraSound patches
144b6cee71dSXin LI# From <ache@nagual.ru>
145b6cee71dSXin LI
146b6cee71dSXin LI0	string		GF1PATCH110\0ID#000002\0	GUS patch
147b6cee71dSXin LI0	string		GF1PATCH100\0ID#000002\0	Old GUS	patch
148b6cee71dSXin LI
149b6cee71dSXin LI# mime types according to http://www.geocities.com/nevilo/mod.htm:
150b6cee71dSXin LI#	audio/it	.it
151b6cee71dSXin LI#	audio/x-zipped-it	.itz
152b6cee71dSXin LI#	audio/xm	fasttracker modules
153b6cee71dSXin LI#	audio/x-s3m	screamtracker modules
154b6cee71dSXin LI#	audio/s3m	screamtracker modules
155b6cee71dSXin LI#	audio/x-zipped-mod	mdz
156b6cee71dSXin LI#	audio/mod	mod
157b6cee71dSXin LI#	audio/x-mod	All modules (mod, s3m, 669, mtm, med, xm, it, mdz, stm, itz, xmz, s3z)
158b6cee71dSXin LI
159b6cee71dSXin LI#
160b6cee71dSXin LI# Taken from loader code from mikmod version 2.14
161b6cee71dSXin LI# by Steve McIntyre (stevem@chiark.greenend.org.uk)
162b6cee71dSXin LI# <doj@cubic.org> added title printing on 2003-06-24
163b6cee71dSXin LI0	string	MAS_UTrack_V00
164b6cee71dSXin LI>14	string	>/0		ultratracker V1.%.1s module sound data
165b6cee71dSXin LI!:mime	audio/x-mod
166b6cee71dSXin LI#audio/x-tracker-module
167b6cee71dSXin LI
168b6cee71dSXin LI0	string	UN05		MikMod UNI format module sound data
169b6cee71dSXin LI
170b6cee71dSXin LI0	string	Extended\ Module: Fasttracker II module sound data
171b6cee71dSXin LI!:mime	audio/x-mod
172b6cee71dSXin LI#audio/x-tracker-module
173b6cee71dSXin LI>17	string	>\0		Title: "%s"
174b6cee71dSXin LI
175b6cee71dSXin LI21	string/c	=!SCREAM!	Screamtracker 2 module sound data
176b6cee71dSXin LI!:mime	audio/x-mod
177b6cee71dSXin LI#audio/x-screamtracker-module
178b6cee71dSXin LI21	string	BMOD2STM	Screamtracker 2 module sound data
179b6cee71dSXin LI!:mime	audio/x-mod
180b6cee71dSXin LI#audio/x-screamtracker-module
181b6cee71dSXin LI1080	string	M.K.		4-channel Protracker module sound data
182b6cee71dSXin LI!:mime	audio/x-mod
183b6cee71dSXin LI#audio/x-protracker-module
184b6cee71dSXin LI>0	string	>\0		Title: "%s"
185b6cee71dSXin LI1080	string	M!K!		4-channel Protracker module sound data
186b6cee71dSXin LI!:mime	audio/x-mod
187b6cee71dSXin LI#audio/x-protracker-module
188b6cee71dSXin LI>0	string	>\0		Title: "%s"
189b6cee71dSXin LI1080	string	FLT4		4-channel Startracker module sound data
190b6cee71dSXin LI!:mime	audio/x-mod
191b6cee71dSXin LI#audio/x-startracker-module
192b6cee71dSXin LI>0	string	>\0		Title: "%s"
193b6cee71dSXin LI1080	string	FLT8		8-channel Startracker module sound data
194b6cee71dSXin LI!:mime	audio/x-mod
195b6cee71dSXin LI#audio/x-startracker-module
196b6cee71dSXin LI>0	string	>\0		Title: "%s"
197b6cee71dSXin LI1080	string	4CHN		4-channel Fasttracker module sound data
198b6cee71dSXin LI!:mime	audio/x-mod
199b6cee71dSXin LI#audio/x-fasttracker-module
200b6cee71dSXin LI>0	string	>\0		Title: "%s"
201b6cee71dSXin LI1080	string	6CHN		6-channel Fasttracker module sound data
202b6cee71dSXin LI!:mime	audio/x-mod
203b6cee71dSXin LI#audio/x-fasttracker-module
204b6cee71dSXin LI>0	string	>\0		Title: "%s"
205b6cee71dSXin LI1080	string	8CHN		8-channel Fasttracker module sound data
206b6cee71dSXin LI!:mime	audio/x-mod
207b6cee71dSXin LI#audio/x-fasttracker-module
208b6cee71dSXin LI>0	string	>\0		Title: "%s"
209b6cee71dSXin LI1080	string	CD81		8-channel Octalyser module sound data
210b6cee71dSXin LI!:mime	audio/x-mod
211b6cee71dSXin LI#audio/x-octalysertracker-module
212b6cee71dSXin LI>0	string	>\0		Title: "%s"
213b6cee71dSXin LI1080	string	OKTA		8-channel Octalyzer module sound data
214b6cee71dSXin LI!:mime	audio/x-mod
215b6cee71dSXin LI#audio/x-octalysertracker-module
216b6cee71dSXin LI>0	string	>\0		Title: "%s"
217b6cee71dSXin LI# Not good enough.
218b6cee71dSXin LI#1082	string	CH
219b6cee71dSXin LI#>1080	string	>/0		%.2s-channel Fasttracker "oktalyzer" module sound data
220b6cee71dSXin LI1080	string	16CN		16-channel Taketracker module sound data
221b6cee71dSXin LI!:mime	audio/x-mod
222b6cee71dSXin LI#audio/x-taketracker-module
223b6cee71dSXin LI>0	string	>\0		Title: "%s"
224b6cee71dSXin LI1080	string	32CN		32-channel Taketracker module sound data
225b6cee71dSXin LI!:mime	audio/x-mod
226b6cee71dSXin LI#audio/x-taketracker-module
227b6cee71dSXin LI>0	string	>\0		Title: "%s"
228b6cee71dSXin LI
229b6cee71dSXin LI# TOC sound files -Trevor Johnson <trevor@jpj.net>
230b6cee71dSXin LI#
231b6cee71dSXin LI0       string          TOC             TOC sound file
232b6cee71dSXin LI
233b6cee71dSXin LI# sidfiles <pooka@iki.fi>
234b6cee71dSXin LI# added name,author,(c) and new RSID type by <doj@cubic.org> 2003-06-24
235b6cee71dSXin LI0	string		SIDPLAY\ INFOFILE	Sidplay info file
236b6cee71dSXin LI
237b6cee71dSXin LI0	string		PSID			PlaySID v2.2+ (AMIGA) sidtune
238b6cee71dSXin LI>4	beshort		>0			w/ header v%d,
239b6cee71dSXin LI>14	beshort		=1			single song,
240b6cee71dSXin LI>14	beshort		>1			%d songs,
241b6cee71dSXin LI>16	beshort		>0			default song: %d
242b6cee71dSXin LI>0x16	string		>\0			name: "%s"
243b6cee71dSXin LI>0x36	string		>\0			author: "%s"
244b6cee71dSXin LI>0x56	string		>\0			copyright: "%s"
245b6cee71dSXin LI
246b6cee71dSXin LI0	string		RSID			RSID sidtune PlaySID compatible
247b6cee71dSXin LI>4	beshort		>0			w/ header v%d,
248b6cee71dSXin LI>14	beshort		=1			single song,
249b6cee71dSXin LI>14	beshort		>1			%d songs,
250b6cee71dSXin LI>16	beshort		>0			default song: %d
251b6cee71dSXin LI>0x16	string		>\0			name: "%s"
252b6cee71dSXin LI>0x36	string		>\0			author: "%s"
253b6cee71dSXin LI>0x56	string		>\0			copyright: "%s"
254b6cee71dSXin LI
255b6cee71dSXin LI# IRCAM sound files - Michael Pruett <michael@68k.org>
256b6cee71dSXin LI# http://www-mmsp.ece.mcgill.ca/documents/AudioFormats/IRCAM/IRCAM.html
257b6cee71dSXin LI0	belong		0x64a30100		IRCAM file (VAX little-endian)
258b6cee71dSXin LI0	belong		0x0001a364		IRCAM file (VAX big-endian)
259b6cee71dSXin LI0	belong		0x64a30200		IRCAM file (Sun big-endian)
260b6cee71dSXin LI0	belong		0x0002a364		IRCAM file (Sun little-endian)
261b6cee71dSXin LI0	belong		0x64a30300		IRCAM file (MIPS little-endian)
262b6cee71dSXin LI0	belong		0x0003a364		IRCAM file (MIPS big-endian)
263b6cee71dSXin LI0	belong		0x64a30400		IRCAM file (NeXT big-endian)
264b6cee71dSXin LI0	belong		0x64a30400		IRCAM file (NeXT big-endian)
265b6cee71dSXin LI0	belong		0x0004a364		IRCAM file (NeXT little-endian)
266b6cee71dSXin LI
267b6cee71dSXin LI# NIST SPHERE <mpruett@sgi.com>
268b6cee71dSXin LI0	string		NIST_1A\n\ \ \ 1024\n	NIST SPHERE file
269b6cee71dSXin LI
270b6cee71dSXin LI# Sample Vision <mpruett@sgi.com>
271b6cee71dSXin LI0	string		SOUND\ SAMPLE\ DATA\ 	Sample Vision file
272b6cee71dSXin LI
273b6cee71dSXin LI# Audio Visual Research <tonigonenstein@users.sourceforge.net>
274b6cee71dSXin LI0	string		2BIT			Audio Visual Research file,
275b6cee71dSXin LI>12	beshort		=0			mono,
276b6cee71dSXin LI>12	beshort		=-1			stereo,
277b6cee71dSXin LI>14	beshort		x			%d bits
278b6cee71dSXin LI>16	beshort		=0			unsigned,
279b6cee71dSXin LI>16	beshort		=-1			signed,
280b6cee71dSXin LI>22	belong&0x00ffffff	x		%d Hz,
281b6cee71dSXin LI>18	beshort		=0			no loop,
282b6cee71dSXin LI>18	beshort		=-1			loop,
283b6cee71dSXin LI>21	ubyte		<128			note %d,
284b6cee71dSXin LI>22	byte		=0			replay 5.485 KHz
285b6cee71dSXin LI>22	byte		=1			replay 8.084 KHz
286b6cee71dSXin LI>22	byte		=2			replay 10.971 KHz
287b6cee71dSXin LI>22	byte		=3			replay 16.168 KHz
288b6cee71dSXin LI>22	byte		=4			replay 21.942 KHz
289b6cee71dSXin LI>22	byte		=5			replay 32.336 KHz
290b6cee71dSXin LI>22	byte		=6			replay 43.885 KHz
291b6cee71dSXin LI>22	byte		=7			replay 47.261 KHz
292b6cee71dSXin LI
293b6cee71dSXin LI# SGI SoundTrack <mpruett@sgi.com>
294b6cee71dSXin LI0	string		_SGI_SoundTrack		SGI SoundTrack project file
295b6cee71dSXin LI# ID3 version 2 tags <waschk@informatik.uni-rostock.de>
296b6cee71dSXin LI0	string		ID3	Audio file with ID3 version 2
297b6cee71dSXin LI>3	byte		x	\b.%d
298b6cee71dSXin LI>4	byte		x	\b.%d
299b6cee71dSXin LI>>5	byte		&0x80	\b, unsynchronized frames
300b6cee71dSXin LI>>5	byte		&0x40	\b, extended header
301b6cee71dSXin LI>>5	byte		&0x20	\b, experimental
302b6cee71dSXin LI>>5	byte		&0x10	\b, footer present
303*5f0216bdSXin LI>(6.I+10)	indirect	x	\b, contains:
304b6cee71dSXin LI
305b6cee71dSXin LI# NSF (NES sound file) magic
306b6cee71dSXin LI0	string		NESM\x1a	NES Sound File
307b6cee71dSXin LI>14	string		>\0		("%s" by
308b6cee71dSXin LI>46	string		>\0		%s, copyright
309b6cee71dSXin LI>78	string		>\0		%s),
310b6cee71dSXin LI>5	byte		x		version %d,
311b6cee71dSXin LI>6	byte		x		%d tracks,
312b6cee71dSXin LI>122	byte&0x2	=1		dual PAL/NTSC
313b6cee71dSXin LI>122	byte&0x1	=1		PAL
314b6cee71dSXin LI>122	byte&0x1	=0		NTSC
315b6cee71dSXin LI
316*5f0216bdSXin LI# NSFE (Extended NES sound file) magic
317*5f0216bdSXin LI# http://slickproductions.org/docs/NSF/nsfespec.txt
318*5f0216bdSXin LI# From: David Pflug <david@pflug.email>
319*5f0216bdSXin LI0	string		NSFE		Extended NES Sound File
320*5f0216bdSXin LI>48	search/0x1000	auth
321*5f0216bdSXin LI>>&0	string		>\0		("%s"
322*5f0216bdSXin LI>>>&1	string		>\0		by %s
323*5f0216bdSXin LI>>>>&1	string		>\0		\b, copyright %s
324*5f0216bdSXin LI>>>>>&1	string		>\0		\b, ripped by %s
325*5f0216bdSXin LI>20	byte		x		\b), %d tracks,
326*5f0216bdSXin LI>18	byte&0x2	=1		dual PAL/NTSC
327*5f0216bdSXin LI>18     byte&0x2	=0
328*5f0216bdSXin LI>>18	byte&0x1	=1		PAL
329*5f0216bdSXin LI>>18	byte&0x1	=0		NTSC
330*5f0216bdSXin LI
331b6cee71dSXin LI# Type: SNES SPC700 sound files
332b6cee71dSXin LI# From: Josh Triplett <josh@freedesktop.org>
333b6cee71dSXin LI0	string	SNES-SPC700\ Sound\ File\ Data\ v	SNES SPC700 sound file
334b6cee71dSXin LI>&0	string	0.30					\b, version %s
335b6cee71dSXin LI>>0x23	byte	0x1B					\b, without ID666 tag
336b6cee71dSXin LI>>0x23	byte	0x1A					\b, with ID666 tag
337b6cee71dSXin LI>>>0x2E	string	>\0					\b, song "%.32s"
338b6cee71dSXin LI>>>0x4E	string	>\0					\b, game "%.32s"
339b6cee71dSXin LI
340b6cee71dSXin LI# Impulse tracker module (audio/x-it)
341b6cee71dSXin LI0	string		IMPM		Impulse Tracker module sound data -
342b6cee71dSXin LI!:mime	audio/x-mod
343b6cee71dSXin LI>4	string		>\0		"%s"
344b6cee71dSXin LI>40	leshort		!0		compatible w/ITv%x
345b6cee71dSXin LI>42	leshort		!0		created w/ITv%x
346b6cee71dSXin LI
347b6cee71dSXin LI# Imago Orpheus module (audio/x-imf)
348b6cee71dSXin LI60	string		IM10		Imago Orpheus module sound data -
349b6cee71dSXin LI>0	string		>\0		"%s"
350b6cee71dSXin LI
351b6cee71dSXin LI# From <collver1@attbi.com>
352b6cee71dSXin LI# These are the /etc/magic entries to decode modules, instruments, and
353b6cee71dSXin LI# samples in Impulse Tracker's native format.
354b6cee71dSXin LI
355b6cee71dSXin LI0	string		IMPS		Impulse Tracker Sample
356b6cee71dSXin LI>18	byte		&2		16 bit
357b6cee71dSXin LI>18	byte		^2		8 bit
358b6cee71dSXin LI>18	byte		&4		stereo
359b6cee71dSXin LI>18	byte		^4		mono
360b6cee71dSXin LI0	string		IMPI		Impulse Tracker Instrument
361b6cee71dSXin LI>28	leshort		!0		ITv%x
362b6cee71dSXin LI>30	byte		!0		%d samples
363b6cee71dSXin LI
364b6cee71dSXin LI# Yamaha TX Wave:  file(1) magic for Yamaha TX Wave audio files
365b6cee71dSXin LI# From <collver1@attbi.com>
366b6cee71dSXin LI0	string		LM8953		Yamaha TX Wave
367b6cee71dSXin LI>22	byte		0x49		looped
368b6cee71dSXin LI>22	byte		0xC9		non-looped
369b6cee71dSXin LI>23	byte		1		33kHz
370b6cee71dSXin LI>23	byte		2		50kHz
371b6cee71dSXin LI>23	byte		3		16kHz
372b6cee71dSXin LI
373b6cee71dSXin LI# scream tracker:  file(1) magic for Scream Tracker sample files
374b6cee71dSXin LI#
375b6cee71dSXin LI# From <collver1@attbi.com>
376b6cee71dSXin LI76	string		SCRS		Scream Tracker Sample
377b6cee71dSXin LI>0	byte		1		sample
378b6cee71dSXin LI>0	byte		2		adlib melody
379b6cee71dSXin LI>0	byte		>2		adlib drum
380b6cee71dSXin LI>31	byte		&2		stereo
381b6cee71dSXin LI>31	byte		^2		mono
382b6cee71dSXin LI>31	byte		&4		16bit little endian
383b6cee71dSXin LI>31	byte		^4		8bit
384b6cee71dSXin LI>30	byte		0		unpacked
385b6cee71dSXin LI>30	byte		1		packed
386b6cee71dSXin LI
387b6cee71dSXin LI# audio
388b6cee71dSXin LI# From: Cory Dikkers <cdikkers@swbell.net>
389b6cee71dSXin LI0	string		MMD0		MED music file, version 0
390b6cee71dSXin LI0	string		MMD1		OctaMED Pro music file, version 1
391b6cee71dSXin LI0	string		MMD3		OctaMED Soundstudio music file, version 3
392b6cee71dSXin LI0	string		OctaMEDCmpr	OctaMED Soundstudio compressed file
393b6cee71dSXin LI0	string		MED		MED_Song
394b6cee71dSXin LI0	string		SymM		Symphonie SymMOD music file
395b6cee71dSXin LI#
396b6cee71dSXin LI0	string		THX		AHX version
397b6cee71dSXin LI>3	byte		=0		1 module data
398b6cee71dSXin LI>3	byte		=1		2 module data
399b6cee71dSXin LI#
400b6cee71dSXin LI0	string		OKTASONG	Oktalyzer module data
401b6cee71dSXin LI#
402b6cee71dSXin LI0	string		DIGI\ Booster\ module\0	%s
403b6cee71dSXin LI>20	byte		>0		%c
404b6cee71dSXin LI>>21	byte		>0		\b%c
405b6cee71dSXin LI>>>22	byte		>0		\b%c
406b6cee71dSXin LI>>>>23	byte		>0		\b%c
407b6cee71dSXin LI>610	string		>\0		\b, "%s"
408b6cee71dSXin LI#
409b6cee71dSXin LI0	string		DBM0	   	DIGI Booster Pro Module
410b6cee71dSXin LI>4	byte		>0		V%X.
411b6cee71dSXin LI>>5	byte		x		\b%02X
412b6cee71dSXin LI>16	string		>\0		\b, "%s"
413b6cee71dSXin LI#
414b6cee71dSXin LI0	string		FTMN		FaceTheMusic module
415b6cee71dSXin LI>16	string		>\0d		\b, "%s"
416b6cee71dSXin LI
417b6cee71dSXin LI# From: <doj@cubic.org> 2003-06-24
418b6cee71dSXin LI0	string		AMShdr\32	Velvet Studio AMS Module v2.2
419b6cee71dSXin LI0	string		Extreme		Extreme Tracker AMS Module v1.3
420b6cee71dSXin LI0	string		DDMF		Xtracker DMF Module
421b6cee71dSXin LI>4	byte		x		v%i
422b6cee71dSXin LI>0xD	string		>\0		Title: "%s"
423b6cee71dSXin LI>0x2B	string		>\0		Composer: "%s"
424b6cee71dSXin LI0	string		DSM\32		Dynamic Studio Module DSM
425b6cee71dSXin LI0	string		SONG		DigiTrekker DTM Module
426b6cee71dSXin LI0	string		DMDL		DigiTrakker MDL Module
427b6cee71dSXin LI0	string		PSM\32		Protracker Studio PSM Module
428b6cee71dSXin LI44	string		PTMF		Poly Tracker PTM Module
429b6cee71dSXin LI>0	string		>\32		Title: "%s"
430b6cee71dSXin LI0	string		MT20		MadTracker 2.0 Module MT2
431b6cee71dSXin LI0	string		RAD\40by\40REALiTY!! RAD Adlib Tracker Module RAD
432b6cee71dSXin LI0	string		RTMM		RTM Module
433b6cee71dSXin LI0x426	string		MaDoKaN96	XMS Adlib Module
434b6cee71dSXin LI>0	string		>\0		Composer: "%s"
435b6cee71dSXin LI0	string		AMF		AMF Module
436b6cee71dSXin LI>4	string		>\0		Title: "%s"
437b6cee71dSXin LI0	string		MODINFO1	Open Cubic Player Module Inforation MDZ
438b6cee71dSXin LI0	string		Extended\40Instrument: Fast Tracker II Instrument
439b6cee71dSXin LI
440b6cee71dSXin LI# From: Takeshi Hamasaki <hma@syd.odn.ne.jp>
441b6cee71dSXin LI# NOA Nancy Codec file
442b6cee71dSXin LI0	string		\210NOA\015\012\032	NOA Nancy Codec Movie file
443b6cee71dSXin LI# Yamaha SMAF format
444b6cee71dSXin LI0	string		MMMD		Yamaha SMAF file
445b6cee71dSXin LI# Sharp Jisaku Melody format for PDC
446b6cee71dSXin LI0	string		\001Sharp\040JisakuMelody	SHARP Cell-Phone ringing Melody
447b6cee71dSXin LI>20	string		Ver01.00	Ver. 1.00
448b6cee71dSXin LI>>32	byte		x		, %d tracks
449b6cee71dSXin LI
450b6cee71dSXin LI# Free lossless audio codec <http://flac.sourceforge.net>
451b6cee71dSXin LI# From: Przemyslaw Augustyniak <silvathraec@rpg.pl>
452b6cee71dSXin LI0	string			fLaC		FLAC audio bitstream data
453b6cee71dSXin LI!:mime	audio/x-flac
454b6cee71dSXin LI>4	byte&0x7f		>0		\b, unknown version
455b6cee71dSXin LI>4	byte&0x7f		0		\b
456b6cee71dSXin LI# some common bits/sample values
457b6cee71dSXin LI>>20	beshort&0x1f0		0x030		\b, 4 bit
458b6cee71dSXin LI>>20	beshort&0x1f0		0x050		\b, 6 bit
459b6cee71dSXin LI>>20	beshort&0x1f0		0x070		\b, 8 bit
460b6cee71dSXin LI>>20	beshort&0x1f0		0x0b0		\b, 12 bit
461b6cee71dSXin LI>>20	beshort&0x1f0		0x0f0		\b, 16 bit
462b6cee71dSXin LI>>20	beshort&0x1f0		0x170		\b, 24 bit
463b6cee71dSXin LI>>20	byte&0xe		0x0		\b, mono
464b6cee71dSXin LI>>20	byte&0xe		0x2		\b, stereo
465b6cee71dSXin LI>>20	byte&0xe		0x4		\b, 3 channels
466b6cee71dSXin LI>>20	byte&0xe		0x6		\b, 4 channels
467b6cee71dSXin LI>>20	byte&0xe		0x8		\b, 5 channels
468b6cee71dSXin LI>>20	byte&0xe		0xa		\b, 6 channels
469b6cee71dSXin LI>>20	byte&0xe		0xc		\b, 7 channels
470b6cee71dSXin LI>>20	byte&0xe		0xe		\b, 8 channels
471b6cee71dSXin LI# some common sample rates
472b6cee71dSXin LI>>17	belong&0xfffff0		0x0ac440	\b, 44.1 kHz
473b6cee71dSXin LI>>17	belong&0xfffff0		0x0bb800	\b, 48 kHz
474b6cee71dSXin LI>>17	belong&0xfffff0		0x07d000	\b, 32 kHz
475b6cee71dSXin LI>>17	belong&0xfffff0		0x056220	\b, 22.05 kHz
476b6cee71dSXin LI>>17	belong&0xfffff0		0x05dc00	\b, 24 kHz
477b6cee71dSXin LI>>17	belong&0xfffff0		0x03e800	\b, 16 kHz
478b6cee71dSXin LI>>17	belong&0xfffff0		0x02b110	\b, 11.025 kHz
479b6cee71dSXin LI>>17	belong&0xfffff0		0x02ee00	\b, 12 kHz
480b6cee71dSXin LI>>17	belong&0xfffff0		0x01f400	\b, 8 kHz
481b6cee71dSXin LI>>17	belong&0xfffff0		0x177000	\b, 96 kHz
482b6cee71dSXin LI>>17	belong&0xfffff0		0x0fa000	\b, 64 kHz
483b6cee71dSXin LI>>21	byte&0xf		>0		\b, >4G samples
484b6cee71dSXin LI>>21	byte&0xf		0		\b
485b6cee71dSXin LI>>>22	belong			>0		\b, %u samples
486b6cee71dSXin LI>>>22	belong			0		\b, length unknown
487b6cee71dSXin LI
488b6cee71dSXin LI# (ISDN) VBOX voice message file (Wolfram Kleff)
489b6cee71dSXin LI0       string          VBOX            VBOX voice message data
490b6cee71dSXin LI
491b6cee71dSXin LI# ReBorn Song Files (.rbs)
492b6cee71dSXin LI# David J. Singer <doc@deadvirgins.org.uk>
493b6cee71dSXin LI8       string          RB40             RBS Song file
494b6cee71dSXin LI>29     string          ReBorn           created by ReBorn
495b6cee71dSXin LI>37     string          Propellerhead    created by ReBirth
496b6cee71dSXin LI
497b6cee71dSXin LI# Synthesizer Generator and Kimwitu share their file format
498b6cee71dSXin LI0	string		A#S#C#S#S#L#V#3	    Synthesizer Generator or Kimwitu data
499b6cee71dSXin LI# Kimwitu++ uses a slightly different magic
500b6cee71dSXin LI0	string		A#S#C#S#S#L#HUB	    Kimwitu++ data
501b6cee71dSXin LI
502b6cee71dSXin LI# From "Simon Hosie
503b6cee71dSXin LI0       string  TFMX-SONG       TFMX module sound data
504b6cee71dSXin LI
505b6cee71dSXin LI# Monkey's Audio compressed audio format (.ape)
506b6cee71dSXin LI# From danny.milo@gmx.net (Danny Milosavljevic)
507b6cee71dSXin LI# New version from Abel Cheung <abel (@) oaka.org>
508b6cee71dSXin LI0		string		MAC\040		Monkey's Audio compressed format
509b6cee71dSXin LI!:mime audio/x-ape
510b6cee71dSXin LI>4		uleshort	>0x0F8B		version %d
511b6cee71dSXin LI>>(0x08.l)	uleshort	=1000		with fast compression
512b6cee71dSXin LI>>(0x08.l)	uleshort	=2000		with normal compression
513b6cee71dSXin LI>>(0x08.l)	uleshort	=3000		with high compression
514b6cee71dSXin LI>>(0x08.l)	uleshort	=4000		with extra high compression
515b6cee71dSXin LI>>(0x08.l)	uleshort	=5000		with insane compression
516b6cee71dSXin LI>>(0x08.l+18)	uleshort	=1		\b, mono
517b6cee71dSXin LI>>(0x08.l+18)	uleshort	=2		\b, stereo
518b6cee71dSXin LI>>(0x08.l+20)	ulelong		x		\b, sample rate %d
519b6cee71dSXin LI>4		uleshort	<0x0F8C		version %d
520b6cee71dSXin LI>>6		uleshort	=1000		with fast compression
521b6cee71dSXin LI>>6		uleshort	=2000		with normal compression
522b6cee71dSXin LI>>6		uleshort	=3000		with high compression
523b6cee71dSXin LI>>6		uleshort	=4000		with extra high compression
524b6cee71dSXin LI>>6		uleshort	=5000		with insane compression
525b6cee71dSXin LI>>10		uleshort	=1		\b, mono
526b6cee71dSXin LI>>10		uleshort	=2		\b, stereo
527b6cee71dSXin LI>>12		ulelong		x		\b, sample rate %d
528b6cee71dSXin LI
529b6cee71dSXin LI# adlib sound files
530b6cee71dSXin LI# From Gurkan Sengun <gurkan@linuks.mine.nu>, http://www.linuks.mine.nu
531b6cee71dSXin LI0    	string		RAWADATA	RdosPlay RAW
532b6cee71dSXin LI
533b6cee71dSXin LI1068	string		RoR		AMUSIC Adlib Tracker
534b6cee71dSXin LI
535b6cee71dSXin LI0	string		JCH		EdLib
536b6cee71dSXin LI
537b6cee71dSXin LI0	string		mpu401tr	MPU-401 Trakker
538b6cee71dSXin LI
539b6cee71dSXin LI0	string		SAdT		Surprise! Adlib Tracker
540b6cee71dSXin LI>4	byte		x		Version %d
541b6cee71dSXin LI
542b6cee71dSXin LI0	string		XAD!		eXotic ADlib
543b6cee71dSXin LI
544b6cee71dSXin LI0	string		ofTAZ!		eXtra Simple Music
545b6cee71dSXin LI
546b6cee71dSXin LI# Spectrum 128 tunes (.ay files).
547b6cee71dSXin LI# From: Emanuel Haupt <ehaupt@critical.ch>
548b6cee71dSXin LI0	string		ZXAYEMUL	Spectrum 128 tune
549b6cee71dSXin LI
550b6cee71dSXin LI0	string		\0BONK		BONK,
551b6cee71dSXin LI#>5	byte		x		version %d
552b6cee71dSXin LI>14	byte		x		%d channel(s),
553b6cee71dSXin LI>15	byte		=1		lossless,
554b6cee71dSXin LI>15	byte		=0		lossy,
555b6cee71dSXin LI>16	byte		x		mid-side
556b6cee71dSXin LI
557b6cee71dSXin LI384	string		LockStream	LockStream Embedded file (mostly MP3 on old Nokia phones)
558b6cee71dSXin LI
559b6cee71dSXin LI# format VQF (proprietary codec for sound)
560b6cee71dSXin LI# some infos on the header file available at :
561b6cee71dSXin LI# http://www.twinvq.org/english/technology_format.html
562b6cee71dSXin LI0	string		TWIN97012000	VQF data
563b6cee71dSXin LI>27	short		0		\b, Mono
564b6cee71dSXin LI>27	short		1		\b, Stereo
565b6cee71dSXin LI>31	short 		>0		\b, %d kbit/s
566b6cee71dSXin LI>35	short 		>0		\b, %d kHz
567b6cee71dSXin LI
568b6cee71dSXin LI# Nelson A. de Oliveira (naoliv@gmail.com)
569b6cee71dSXin LI# .eqf
570b6cee71dSXin LI0	string	Winamp\ EQ\ library\ file	%s
571b6cee71dSXin LI# it will match only versions like v<digit>.<digit>
572b6cee71dSXin LI# Since I saw only eqf files with version v1.1 I think that it's OK
573b6cee71dSXin LI>23	string	x	\b%.4s
574b6cee71dSXin LI# .preset
575b6cee71dSXin LI0	string	[Equalizer\ preset]	XMMS equalizer preset
576b6cee71dSXin LI# .m3u
577b6cee71dSXin LI0	search/1	#EXTM3U 	M3U playlist text
578b6cee71dSXin LI# .pls
579b6cee71dSXin LI0	search/1	[playlist]	PLS playlist text
580b6cee71dSXin LI# licq.conf
581b6cee71dSXin LI1	string	[licq]			LICQ configuration file
582b6cee71dSXin LI
583b6cee71dSXin LI# Atari ST audio files by Dirk Jagdmann <doj@cubic.org>
584b6cee71dSXin LI0	string		ICE!		SNDH Atari ST music
585b6cee71dSXin LI0	string		SC68\ Music-file\ /\ (c)\ (BeN)jami	sc68 Atari ST music
586b6cee71dSXin LI
587b6cee71dSXin LI# musepak support From: "Jiri Pejchal" <jiri.pejchal@gmail.com>
588b6cee71dSXin LI0       string          MP+     Musepack audio
589b6cee71dSXin LI!:mime	audio/x-musepack
590b6cee71dSXin LI>3      byte            255     \b, SV pre8
591b6cee71dSXin LI>3      byte&0xF        0x6     \b, SV 6
592b6cee71dSXin LI>3      byte&0xF        0x8     \b, SV 8
593b6cee71dSXin LI>3      byte&0xF        0x7     \b, SV 7
594b6cee71dSXin LI>>3     byte&0xF0       0x0     \b.0
595b6cee71dSXin LI>>3     byte&0xF0       0x10    \b.1
596b6cee71dSXin LI>>3     byte&0xF0       240     \b.15
597b6cee71dSXin LI>>10    byte&0xF0       0x0     \b, no profile
598b6cee71dSXin LI>>10    byte&0xF0       0x10    \b, profile 'Unstable/Experimental'
599b6cee71dSXin LI>>10    byte&0xF0       0x50    \b, quality 0
600b6cee71dSXin LI>>10    byte&0xF0       0x60    \b, quality 1
601b6cee71dSXin LI>>10    byte&0xF0       0x70    \b, quality 2 (Telephone)
602b6cee71dSXin LI>>10    byte&0xF0       0x80    \b, quality 3 (Thumb)
603b6cee71dSXin LI>>10    byte&0xF0       0x90    \b, quality 4 (Radio)
604b6cee71dSXin LI>>10    byte&0xF0       0xA0    \b, quality 5 (Standard)
605b6cee71dSXin LI>>10    byte&0xF0       0xB0    \b, quality 6 (Xtreme)
606b6cee71dSXin LI>>10    byte&0xF0       0xC0    \b, quality 7 (Insane)
607b6cee71dSXin LI>>10    byte&0xF0       0xD0    \b, quality 8 (BrainDead)
608b6cee71dSXin LI>>10    byte&0xF0       0xE0    \b, quality 9
609b6cee71dSXin LI>>10    byte&0xF0       0xF0    \b, quality 10
610b6cee71dSXin LI>>27    byte            0x0     \b, Buschmann 1.7.0-9, Klemm 0.90-1.05
611b6cee71dSXin LI>>27    byte            102     \b, Beta 1.02
612b6cee71dSXin LI>>27    byte            104     \b, Beta 1.04
613b6cee71dSXin LI>>27    byte            105     \b, Alpha 1.05
614b6cee71dSXin LI>>27    byte            106     \b, Beta 1.06
615b6cee71dSXin LI>>27    byte            110     \b, Release 1.1
616b6cee71dSXin LI>>27    byte            111     \b, Alpha 1.11
617b6cee71dSXin LI>>27    byte            112     \b, Beta 1.12
618b6cee71dSXin LI>>27    byte            113     \b, Alpha 1.13
619b6cee71dSXin LI>>27    byte            114     \b, Beta 1.14
620b6cee71dSXin LI>>27    byte            115     \b, Alpha 1.15
621b6cee71dSXin LI
622b6cee71dSXin LI# IMY
623b6cee71dSXin LI# from http://filext.com/detaillist.php?extdetail=IMY
624b6cee71dSXin LI# http://cellphones.about.com/od/cellularfaqs/f/rf_imelody.htm
625b6cee71dSXin LI# http://download.ncl.ie/doc/api/ie/ncl/media/music/IMelody.html
626b6cee71dSXin LI# http://www.wx800.com/msg/download/irda/iMelody.pdf
627b6cee71dSXin LI0	string	BEGIN:IMELODY	iMelody Ringtone Format
628b6cee71dSXin LI
629b6cee71dSXin LI# From: "Mateus Caruccio" <mateus@caruccio.com>
630b6cee71dSXin LI# guitar pro v3,4,5 from http://filext.com/file-extension/gp3
631b6cee71dSXin LI0	string	\030FICHIER\ GUITAR\ PRO\ v3.	Guitar Pro Ver. 3 Tablature
632b6cee71dSXin LI
633b6cee71dSXin LI# From: "Leslie P. Polzer" <leslie.polzer@gmx.net>
634b6cee71dSXin LI60	string	SONG		SoundFX Module sound file
635b6cee71dSXin LI
636b6cee71dSXin LI# Type: Adaptive Multi-Rate Codec
637b6cee71dSXin LI# URL:  http://filext.com/detaillist.php?extdetail=AMR
638b6cee71dSXin LI# From: Russell Coker <russell@coker.com.au>
639b6cee71dSXin LI0	string	#!AMR		Adaptive Multi-Rate Codec (GSM telephony)
640b6cee71dSXin LI
641b6cee71dSXin LI# Type: SuperCollider 3 Synth Definition File Format
642b6cee71dSXin LI# From: Mario Lang <mlang@debian.org>
643b6cee71dSXin LI0	string	SCgf	SuperCollider3 Synth Definition file,
644b6cee71dSXin LI>4	belong	x	version %d
645b6cee71dSXin LI
646b6cee71dSXin LI# Type: True Audio Lossless Audio
647b6cee71dSXin LI# URL:  http://wiki.multimedia.cx/index.php?title=True_Audio
648b6cee71dSXin LI# From: Mike Melanson <mike@multimedia.cx>
649b6cee71dSXin LI0	string	TTA1	True Audio Lossless Audio
650b6cee71dSXin LI
651b6cee71dSXin LI# Type: WavPack Lossless Audio
652b6cee71dSXin LI# URL:  http://wiki.multimedia.cx/index.php?title=WavPack
653b6cee71dSXin LI# From: Mike Melanson <mike@multimedia.cx>
654b6cee71dSXin LI0	string	wvpk	WavPack Lossless Audio
655b6cee71dSXin LI
656b6cee71dSXin LI# From Fabio R. Schmidlin <frs@pop.com.br>
657b6cee71dSXin LI# VGM music file
658b6cee71dSXin LI0	string		Vgm\
659b6cee71dSXin LI>9	ubyte		>0	VGM Video Game Music dump v
660b6cee71dSXin LI>>9	ubyte/16	>0	\b%d
661b6cee71dSXin LI>>9	ubyte&0x0F	x	\b%d
662b6cee71dSXin LI>>8	ubyte/16	x	\b.%d
663b6cee71dSXin LI>>8	ubyte&0x0F	>0	\b%d
664b6cee71dSXin LI#Get soundchips
665b6cee71dSXin LI>>8	ubyte		x	\b, soundchip(s)=
666b6cee71dSXin LI>>0x0C	ulelong		>0	SN76489,
667b6cee71dSXin LI>>0x10	ulelong		>0	YM2413,
668b6cee71dSXin LI>>0x2C	ulelong		>0	YM2612,
669b6cee71dSXin LI>>0x30	ulelong		>0	YM2151,
670b6cee71dSXin LI>>0x38	ulelong		>0	Sega PCM,
671b6cee71dSXin LI>>0x34	ulelong		>0xC
672b6cee71dSXin LI>>>0x40	ulelong		>0	RF5C68,
673b6cee71dSXin LI>>0x34	ulelong		>0x10
674b6cee71dSXin LI>>>0x44	ulelong		>0	YM2203,
675b6cee71dSXin LI>>0x34	ulelong		>0x14
676b6cee71dSXin LI>>>0x48	ulelong		>0	YM2608,
677b6cee71dSXin LI>>0x34	ulelong		>0x18
678b6cee71dSXin LI>>>0x4C	lelong		>0	YM2610,
679b6cee71dSXin LI>>>0x4C	lelong		<0	YM2610B,
680b6cee71dSXin LI>>0x34	ulelong		>0x1C
681b6cee71dSXin LI>>>0x50	ulelong		>0	YM3812,
682b6cee71dSXin LI>>0x34	ulelong		>0x20
683b6cee71dSXin LI>>>0x54	ulelong		>0	YM3526,
684b6cee71dSXin LI>>0x34	ulelong		>0x24
685b6cee71dSXin LI>>>0x58	ulelong		>0	Y8950,
686b6cee71dSXin LI>>0x34	ulelong		>0x28
687b6cee71dSXin LI>>>0x5C	ulelong		>0	YMF262,
688b6cee71dSXin LI>>0x34	ulelong		>0x2C
689b6cee71dSXin LI>>>0x60	ulelong		>0	YMF278B,
690b6cee71dSXin LI>>0x34	ulelong		>0x30
691b6cee71dSXin LI>>>0x64	ulelong		>0	YMF271,
692b6cee71dSXin LI>>0x34	ulelong		>0x34
693b6cee71dSXin LI>>>0x68	ulelong		>0	YMZ280B,
694b6cee71dSXin LI>>0x34	ulelong		>0x38
695b6cee71dSXin LI>>>0x6C	ulelong		>0	RF5C164,
696b6cee71dSXin LI>>0x34	ulelong		>0x3C
697b6cee71dSXin LI>>>0x70	ulelong		>0	PWM,
698b6cee71dSXin LI>>0x34	ulelong		>0x40
699b6cee71dSXin LI>>>0x74	ulelong		>0
700b6cee71dSXin LI>>>>0x78 ubyte		0x00	AY-3-8910,
701b6cee71dSXin LI>>>>0x78 ubyte		0x01	AY-3-8912,
702b6cee71dSXin LI>>>>0x78 ubyte		0x02	AY-3-8913,
703b6cee71dSXin LI>>>>0x78 ubyte		0x03	AY-3-8930,
704b6cee71dSXin LI>>>>0x78 ubyte		0x10	YM2149,
705b6cee71dSXin LI>>>>0x78 ubyte		0x11	YM3439,
706b6cee71dSXin LI
707b6cee71dSXin LI# GVOX Encore file format
708b6cee71dSXin LI# Since this is a proprietary file format and there is no publicly available
709b6cee71dSXin LI# format specification, this is just based on induction
710b6cee71dSXin LI#
711b6cee71dSXin LI0	string	SCOW
712b6cee71dSXin LI>4	byte	0xc4	GVOX Encore music, version 5.0 or above
713b6cee71dSXin LI>4	byte	0xc2	GVOX Encore music, version < 5.0
714b6cee71dSXin LI
715b6cee71dSXin LI0	string	ZBOT
716b6cee71dSXin LI>4	byte	0xc5	GVOX Encore music, version < 5.0
717b6cee71dSXin LI
718