]> granicus.if.org Git - file/commitdiff
more magic for some music chip instrument files (jpcima)
authorChristos Zoulas <christos@zoulas.com>
Sun, 11 Mar 2018 00:53:11 +0000 (00:53 +0000)
committerChristos Zoulas <christos@zoulas.com>
Sun, 11 Mar 2018 00:53:11 +0000 (00:53 +0000)
magic/Magdir/audio

index 06185e49f936c7e779eab0f738aa6d5bee2cb057..e12ef6881216106cdb1b6d61e159df6d58787d0f 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: audio,v 1.85 2017/12/14 17:27:18 christos Exp $
+# $File: audio,v 1.86 2018/03/11 00:53:11 christos Exp $
 # audio:  file(1) magic for sound formats (see also "iff")
 #
 # Jan Nicolai Langfeldt (janl@ifi.uio.no), Dan Quinlan (quinlan@yggdrasil.com),
 >>149  pstring x               \b, title %s
 
 0      string  cyd!inst        Klystrack instrument
+
+# magic for WOPL instrument files, https://github.com/Wohlstand/OPL3BankEditor
+# see Specifications/WOPL-and-OPLI-Specification.txt
+
+0      string  WOPL3-INST\0    WOPL instrument
+>11    leshort x       \b, version %u
+0      string  WOPL3-BANK\0    WOPL instrument bank
+>11    leshort x       \b, version %u
+
+# AdLib/OPL instrument files. Format specifications on
+#  http://www.shikadi.net/moddingwiki
+0      string  Junglevision\ Patch\ File       Junglevision instrument data
+0      string  #OPL_II#        DMX OP2 instrument data
+0      string  IBK\x1a         IBK instrument data
+0      string  2OP\x1a         IBK instrument data, 2 operators
+0      string  4OP\x1a         IBK instrument data, 4 operators
+2      string  ADLIB-          AdLib instrument data
+>0     byte    x               \b, version %u
+>1     byte    x               \b.%u