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