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