summaryrefslogtreecommitdiff
path: root/magic/Magdir/audio
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2018-07-29 05:53:49 +0000
committerEitan Adler <eadler@FreeBSD.org>2018-07-29 05:53:49 +0000
commitad1ba6e1e032f79d03b9a6e2c714de84d1911b3a (patch)
tree24e9595e175209972236019508c9ac6b34ec83b9 /magic/Magdir/audio
parentfd86496b2232c1f79946dc2d21515012a33b6274 (diff)
Notes
Diffstat (limited to 'magic/Magdir/audio')
-rw-r--r--magic/Magdir/audio32
1 files changed, 31 insertions, 1 deletions
diff --git a/magic/Magdir/audio b/magic/Magdir/audio
index e12ef68812161..1c92cf5d9fae9 100644
--- a/magic/Magdir/audio
+++ b/magic/Magdir/audio
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
-# $File: audio,v 1.86 2018/03/11 00:53:11 christos Exp $
+# $File: audio,v 1.89 2018/07/03 20:55:37 christos Exp $
# audio: file(1) magic for sound formats (see also "iff")
#
# Jan Nicolai Langfeldt (janl@ifi.uio.no), Dan Quinlan (quinlan@yggdrasil.com),
@@ -858,3 +858,33 @@
2 string ADLIB- AdLib instrument data
>0 byte x \b, version %u
>1 byte x \b.%u
+
+# CRI ADX ADPCM audio
+# Used by various Sega games.
+# https://en.wikipedia.org/wiki/ADX_(file_format)
+# https://wiki.multimedia.cx/index.php/CRI_ADX_file
+# Added by David Korth <gerbilsoft@gerbilsoft.com>
+0x00 beshort 0x8000
+>(2.S-2) string (c)CRI CRI ADX ADPCM audio
+>>0x12 byte x v%u
+>>0x04 byte 0x02 \b, pre-set prediction coefficients
+>>0x04 byte 0x03 \b, standard ADX
+>>0x04 byte 0x04 \b, exponential scale
+>>0x04 byte 0x05 \b, AHX
+>>0x08 belong x \b, %u Hz
+>>0x12 byte 0x03
+>>>0x02 beshort >0x2B
+>>>>0x18 belong !0 \b, looping
+>>0x12 byte 0x04
+>>>0x02 beshort >0x37
+>>>>0x24 belong !0 \b, looping
+>>0x13 byte&0x08 0x08 \b, encrypted
+
+# Lossless audio (.la) (http://www.lossless-audio.com/)
+0 string LA
+>2 string 03 Lossless audio version 0.3
+>2 string 04 Lossless audio version 0.4
+
+# Sony PlayStation Audio (.xa)
+0 leshort 0x4158 Sony PlayStation Audio
+