summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristos Zoulas <christos@zoulas.com>2022-08-16 11:19:20 +0000
committerChristos Zoulas <christos@zoulas.com>2022-08-16 11:19:20 +0000
commit28bb20b8d449dd73f5a76fa6835738356b227255 (patch)
tree5bd9acb577e3ed48c8811074a1ec37a5e37fd017
parent580a5b1b42071a597573c90b5929eac61f4554ab (diff)
downloadfile-git-28bb20b8d449dd73f5a76fa6835738356b227255.tar.gz
extend info in HVL and AHX modules (ArtiiP at github)
-rw-r--r--magic/Magdir/audio31
1 files changed, 21 insertions, 10 deletions
diff --git a/magic/Magdir/audio b/magic/Magdir/audio
index d0ecf451..be184859 100644
--- a/magic/Magdir/audio
+++ b/magic/Magdir/audio
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
-# $File: audio,v 1.122 2022/07/28 13:17:56 christos Exp $
+# $File: audio,v 1.123 2022/08/16 11:19:20 christos Exp $
# audio: file(1) magic for sound formats (see also "iff")
#
# Jan Nicolai Langfeldt (janl@ifi.uio.no), Dan Quinlan (quinlan@yggdrasil.com),
@@ -403,10 +403,26 @@
0 string THX AHX version
>3 byte =0 1 module data
>3 byte =1 2 module data
->10 byte x TRL: %u
->11 byte x TRK: %u
->12 byte x SMP: %u
->13 byte x SS: %u
+>11 ubyte x TRK: %u
+>10 ubyte x TRL: %u
+>12 ubyte x SMP: %u
+>13 ubyte x SS: %u
+>(4.H) string x Title: "%.128s"
+
+# header is mostly AHX format
+0 string HVL
+>3 byte <2 Hively Tracker Song
+>3 byte =0 v1 module data
+>3 byte =1 v2 module data
+>11 ubyte x TRK: %u
+>10 ubyte x TRL: %u
+>12 ubyte x SMP: %u
+>13 ubyte x SS: %u
+>8 ubyte/4 =0 CHN: 4
+>8 ubyte/4 >0 CHN: 4+%u
+#>-0 offset <0xffff
+>(4.H) string x Title: "%.128s"
+
#
0 string OKTASONG Oktalyzer module data
#
@@ -892,11 +908,6 @@
>0x3 byte&0x0F x \b%02d
>>0x4 string >\0 title: "%s"
-0 string HVL
->3 byte <2 Hively Tracker Song
->3 byte 0 1 module data
->3 byte 1 2 module data
-
0 string MO3
>3 ubyte <6 MOdule with MP3
>>3 byte 0 Version 0 (With MP3 and lossless)