Subject: misc/17329: file(1) magic for Impulse Tracker data files
To: None <gnats-bugs@gnats.netbsd.org>
From: Ben Collver <collver1@attbi.com>
List: netbsd-bugs
Date: 06/19/2002 15:10:54
>Number:         17329
>Category:       misc
>Synopsis:       file(1) magic for Impulse Tracker data files
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 19 15:12:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Ben Collver
>Release:        NetBSD 1.6A
>Organization:
>Environment:
System: NetBSD glen 1.6A NetBSD 1.6A (GLEN) #0: Sun May 26 21:08:40 UTC 2002 root@glen:/usr/src/sys/arch/i386/compile/GLEN i386
Architecture: i386
Machine: i386
>Description:
#------------------------------------------------------------------------------
# impulse tracker:  file(1) magic for Impulse Tracker data files
#
# From <collver1@attbi.com>
# These are the /etc/magic entries to decode modules, instruments, and
# samples in Impulse Tracker's native format.

0	string		IMPS		Impulse Tracker Sample
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
 >18	byte		&2		16 bit
 >18	byte		^2		8 bit
 >18	byte		&4		stereo
 >18	byte		^4		mono
 0	string		IMPI		Impulse Tracker Instrument
 >28	leshort		!0		ITv%x
 >30	byte		!0		%d samples
 0	string		IMPM		Impulse Tracker Module
 >40	leshort		!0		compatible w/ITv%x
 >42	leshort		!0		created w/ITv%x