head 1.14; access; symbols perseant-exfatfs-base-20250801:1.14 perseant-exfatfs-base-20240630:1.14 perseant-exfatfs:1.14.0.22 perseant-exfatfs-base:1.14 cjep_sun2x:1.14.0.20 cjep_sun2x-base:1.14 cjep_staticlib_x-base1:1.14 cjep_staticlib_x:1.14.0.18 cjep_staticlib_x-base:1.14 phil-wifi-20200421:1.14 phil-wifi-20200411:1.14 phil-wifi-20200406:1.14 pgoyette-compat-merge-20190127:1.14 pgoyette-compat-20190127:1.14 pgoyette-compat-20190118:1.14 pgoyette-compat-1226:1.14 pgoyette-compat-1126:1.14 pgoyette-compat-1020:1.14 pgoyette-compat-0930:1.14 pgoyette-compat-0906:1.14 pgoyette-compat-0728:1.14 pgoyette-compat-0625:1.14 pgoyette-compat-0521:1.14 pgoyette-compat-0502:1.14 pgoyette-compat-0422:1.14 pgoyette-compat-0415:1.14 pgoyette-compat-0407:1.14 pgoyette-compat-0330:1.14 pgoyette-compat-0322:1.14 pgoyette-compat-0315:1.14 pgoyette-compat:1.14.0.16 pgoyette-compat-base:1.14 prg-localcount2-base3:1.14 prg-localcount2-base2:1.14 prg-localcount2-base1:1.14 prg-localcount2:1.14.0.14 prg-localcount2-base:1.14 pgoyette-localcount-20170426:1.14 bouyer-socketcan-base1:1.14 pgoyette-localcount-20170320:1.14 bouyer-socketcan:1.14.0.12 bouyer-socketcan-base:1.14 pgoyette-localcount-20170107:1.14 pgoyette-localcount-20161104:1.14 localcount-20160914:1.14 pgoyette-localcount-20160806:1.14 pgoyette-localcount-20160726:1.14 pgoyette-localcount:1.14.0.10 pgoyette-localcount-base:1.14 netbsd-5-2-3-RELEASE:1.13 netbsd-5-1-5-RELEASE:1.13 yamt-pagecache-base9:1.14 yamt-pagecache-tag8:1.14 tls-earlyentropy:1.14.0.6 tls-earlyentropy-base:1.14 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.14 riastradh-drm2-base3:1.14 netbsd-5-2-2-RELEASE:1.13 netbsd-5-1-4-RELEASE:1.13 netbsd-5-2-1-RELEASE:1.13 netbsd-5-1-3-RELEASE:1.13 agc-symver:1.14.0.8 agc-symver-base:1.14 tls-maxphys-base:1.14 yamt-pagecache-base8:1.14 netbsd-5-2:1.13.0.2 yamt-pagecache-base7:1.14 netbsd-5-2-RELEASE:1.13 netbsd-5-2-RC1:1.13 yamt-pagecache-base6:1.14 yamt-pagecache-base5:1.14 yamt-pagecache-base4:1.14 netbsd-5-1-2-RELEASE:1.13 netbsd-5-1-1-RELEASE:1.13 yamt-pagecache-base3:1.14 yamt-pagecache-base2:1.14 yamt-pagecache:1.14.0.4 yamt-pagecache-base:1.14 bouyer-quota2-nbase:1.14 bouyer-quota2:1.14.0.2 bouyer-quota2-base:1.14 matt-nb5-mips64-premerge-20101231:1.13 matt-nb5-pq3:1.13.0.14 matt-nb5-pq3-base:1.13 netbsd-5-1:1.13.0.12 netbsd-5-1-RELEASE:1.13 netbsd-5-1-RC4:1.13 matt-nb5-mips64-k15:1.13 netbsd-5-1-RC3:1.13 netbsd-5-1-RC2:1.13 netbsd-5-1-RC1:1.13 netbsd-5-0-2-RELEASE:1.13 matt-nb5-mips64-premerge-20091211:1.13 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.13 matt-nb4-mips64-k7-u2a-k9b:1.13 matt-nb5-mips64-u1-k1-k5:1.13 matt-nb5-mips64:1.13.0.10 netbsd-5-0-1-RELEASE:1.13 jym-xensuspend-nbase:1.13 netbsd-5-0:1.13.0.8 netbsd-5-0-RELEASE:1.13 netbsd-5-0-RC4:1.13 netbsd-5-0-RC3:1.13 netbsd-5-0-RC2:1.13 jym-xensuspend:1.13.0.6 jym-xensuspend-base:1.13 netbsd-5-0-RC1:1.13 netbsd-5:1.13.0.4 netbsd-5-base:1.13 matt-mips64-base2:1.13 matt-mips64:1.12.0.14 netbsd-4-0-1-RELEASE:1.10.2.1 wrstuden-revivesa-base-3:1.13 wrstuden-revivesa-base-2:1.13 wrstuden-fixsa-newbase:1.10.2.1 FILE4_26:1.1.1.12 wrstuden-revivesa-base-1:1.12 yamt-pf42-base4:1.12 yamt-pf42-base3:1.12 hpcarm-cleanup-nbase:1.12 yamt-pf42-baseX:1.12 yamt-pf42-base2:1.12 wrstuden-revivesa:1.12.0.12 wrstuden-revivesa-base:1.12 yamt-pf42:1.12.0.10 yamt-pf42-base:1.12 keiichi-mipv6:1.12.0.8 keiichi-mipv6-base:1.12 matt-armv6-nbase:1.12 matt-armv6-prevmlocking:1.12 wrstuden-fixsa-base-1:1.10.2.1 netbsd-4-0:1.10.2.1.0.2 netbsd-4-0-RELEASE:1.10.2.1 cube-autoconf:1.12.0.6 cube-autoconf-base:1.12 netbsd-4-0-RC5:1.10.2.1 netbsd-4-0-RC4:1.10.2.1 netbsd-4-0-RC3:1.10.2.1 netbsd-4-0-RC2:1.10.2.1 netbsd-4-0-RC1:1.10.2.1 matt-armv6:1.12.0.4 matt-armv6-base:1.12 matt-mips64-base:1.12 hpcarm-cleanup:1.12.0.2 hpcarm-cleanup-base:1.12 netbsd-3-1-1-RELEASE:1.8.6.1 netbsd-3-0-3-RELEASE:1.8.4.1 FILE4_21:1.1.1.11 wrstuden-fixsa:1.10.0.4 wrstuden-fixsa-base:1.10.2.1 FILE4_20:1.1.1.10 abandoned-netbsd-4-base:1.9 abandoned-netbsd-4:1.9.0.2 FILE4_18:1.1.1.9 netbsd-3-1:1.8.0.6 netbsd-3-1-RELEASE:1.8 netbsd-3-0-2-RELEASE:1.8 netbsd-3-1-RC4:1.8 netbsd-3-1-RC3:1.8 netbsd-3-1-RC2:1.8 netbsd-3-1-RC1:1.8 netbsd-4:1.10.0.2 netbsd-4-base:1.10 netbsd-3-0-1-RELEASE:1.8 netbsd-3-0:1.8.0.4 netbsd-3-0-RELEASE:1.8 netbsd-3-0-RC6:1.8 netbsd-3-0-RC5:1.8 netbsd-3-0-RC4:1.8 netbsd-3-0-RC3:1.8 netbsd-3-0-RC2:1.8 netbsd-3-0-RC1:1.8 netbsd-2-0-3-RELEASE:1.6 netbsd-2-1:1.6.0.6 netbsd-2-1-RELEASE:1.6 FILE4_16:1.1.1.8 netbsd-2-1-RC6:1.6 netbsd-2-1-RC5:1.6 netbsd-2-1-RC4:1.6 netbsd-2-1-RC3:1.6 netbsd-2-1-RC2:1.6 netbsd-2-1-RC1:1.6 netbsd-2-0-2-RELEASE:1.6 netbsd-3:1.8.0.2 netbsd-3-base:1.8 FILE4_13:1.1.1.7 FILE413-BEFOREIMPORT:1.8 netbsd-2-0-1-RELEASE:1.6 netbsd-2:1.6.0.4 netbsd-2-base:1.6 FILE4_12:1.1.1.7 netbsd-2-0-RELEASE:1.6 netbsd-2-0-RC5:1.6 netbsd-2-0-RC4:1.6 netbsd-2-0-RC3:1.6 netbsd-2-0-RC2:1.6 netbsd-2-0-RC1:1.6 FILE4_10:1.1.1.6 FILE4_09:1.1.1.5 netbsd-2-0:1.6.0.2 netbsd-2-0-base:1.6 FILE4_08:1.1.1.5 FILE4_06:1.1.1.4 FILE4_04:1.1.1.3 FILE4_03:1.1.1.2 FILE4_00:1.1.1.1 CHRISTOS:1.1.1; locks; strict; comment @# @; 1.14 date 2009.10.17.23.05.34; author snj; state dead; branches; next 1.13; 1.13 date 2008.08.30.12.16.52; author christos; state Exp; branches; next 1.12; 1.12 date 2007.06.07.11.32.46; author pooka; state Exp; branches 1.12.12.1; next 1.11; 1.11 date 2007.03.04.15.22.09; author pooka; state Exp; branches; next 1.10; 1.10 date 2006.10.31.21.16.23; author pooka; state Exp; branches 1.10.2.1 1.10.4.1; next 1.9; 1.9 date 2005.10.17.18.00.00; author pooka; state Exp; branches; next 1.8; 1.8 date 2004.12.13.10.35.03; author pooka; state Exp; branches 1.8.2.1 1.8.4.1 1.8.6.1; next 1.7; 1.7 date 2004.09.16.13.49.07; author pooka; state Exp; branches; next 1.6; 1.6 date 2004.03.23.08.40.12; author pooka; state Exp; branches; next 1.5; 1.5 date 2003.10.27.16.22.35; author pooka; state Exp; branches; next 1.4; 1.4 date 2003.09.25.18.08.19; author pooka; state Exp; branches; next 1.3; 1.3 date 2003.05.25.21.46.10; author pooka; state Exp; branches; next 1.2; 1.2 date 2003.04.06.18.20.07; author wiz; state Exp; branches; next 1.1; 1.1 date 2003.03.25.22.30.25; author pooka; state Exp; branches 1.1.1.1; next ; 1.12.12.1 date 2008.09.18.04.44.39; author wrstuden; state Exp; branches; next ; 1.10.2.1 date 2007.06.15.16.14.42; author liamjfoy; state Exp; branches; next ; 1.10.4.1 date 2007.09.03.06.53.23; author wrstuden; state Exp; branches; next ; 1.8.2.1 date 2007.06.24.19.41.51; author ghen; state Exp; branches; next ; 1.8.4.1 date 2007.06.24.19.43.18; author ghen; state Exp; branches; next ; 1.8.6.1 date 2007.06.24.19.45.14; author ghen; state Exp; branches; next ; 1.1.1.1 date 2003.03.25.22.30.25; author pooka; state Exp; branches; next 1.1.1.2; 1.1.1.2 date 2003.05.25.21.28.20; author pooka; state Exp; branches; next 1.1.1.3; 1.1.1.3 date 2003.09.25.17.59.17; author pooka; state Exp; branches; next 1.1.1.4; 1.1.1.4 date 2003.10.27.16.14.27; author pooka; state Exp; branches; next 1.1.1.5; 1.1.1.5 date 2004.03.23.08.31.47; author pooka; state Exp; branches; next 1.1.1.6; 1.1.1.6 date 2004.09.16.13.43.50; author pooka; state Exp; branches; next 1.1.1.7; 1.1.1.7 date 2004.12.13.10.24.58; author pooka; state Exp; branches; next 1.1.1.8; 1.1.1.8 date 2005.10.17.17.48.31; author pooka; state Exp; branches; next 1.1.1.9; 1.1.1.9 date 2006.10.31.20.34.55; author pooka; state Exp; branches; next 1.1.1.10; 1.1.1.10 date 2007.03.04.14.54.55; author pooka; state Exp; branches; next 1.1.1.11; 1.1.1.11 date 2007.06.07.11.24.40; author pooka; state Exp; branches; next 1.1.1.12; 1.1.1.12 date 2008.08.30.11.20.56; author christos; state Exp; branches; next ; desc @@ 1.14 log @This hasn't been used in a while. Long live external/bsd/file! @ text @#------------------------------------------------------------------------------ # audio: file(1) magic for sound formats (see also "iff") # # Jan Nicolai Langfeldt (janl@@ifi.uio.no), Dan Quinlan (quinlan@@yggdrasil.com), # and others # # Sun/NeXT audio data 0 string .snd Sun/NeXT audio data: >12 belong 1 8-bit ISDN mu-law, !:mime audio/basic >12 belong 2 8-bit linear PCM [REF-PCM], !:mime audio/basic >12 belong 3 16-bit linear PCM, !:mime audio/basic >12 belong 4 24-bit linear PCM, !:mime audio/basic >12 belong 5 32-bit linear PCM, !:mime audio/basic >12 belong 6 32-bit IEEE floating point, !:mime audio/basic >12 belong 7 64-bit IEEE floating point, !:mime audio/basic >12 belong 8 Fragmented sample data, >12 belong 10 DSP program, >12 belong 11 8-bit fixed point, >12 belong 12 16-bit fixed point, >12 belong 13 24-bit fixed point, >12 belong 14 32-bit fixed point, >12 belong 18 16-bit linear with emphasis, >12 belong 19 16-bit linear compressed, >12 belong 20 16-bit linear with emphasis and compression, >12 belong 21 Music kit DSP commands, >12 belong 23 8-bit ISDN mu-law compressed (CCITT G.721 ADPCM voice enc.), !:mime audio/x-adpcm >12 belong 24 compressed (8-bit CCITT G.722 ADPCM) >12 belong 25 compressed (3-bit CCITT G.723.3 ADPCM), >12 belong 26 compressed (5-bit CCITT G.723.5 ADPCM), >12 belong 27 8-bit A-law (CCITT G.711), >20 belong 1 mono, >20 belong 2 stereo, >20 belong 4 quad, >16 belong >0 %d Hz # DEC systems (e.g. DECstation 5000) use a variant of the Sun/NeXT format # that uses little-endian encoding and has a different magic number 0 lelong 0x0064732E DEC audio data: >12 lelong 1 8-bit ISDN mu-law, !:mime audio/x-dec-basic >12 lelong 2 8-bit linear PCM [REF-PCM], !:mime audio/x-dec-basic >12 lelong 3 16-bit linear PCM, !:mime audio/x-dec-basic >12 lelong 4 24-bit linear PCM, !:mime audio/x-dec-basic >12 lelong 5 32-bit linear PCM, !:mime audio/x-dec-basic >12 lelong 6 32-bit IEEE floating point, !:mime audio/x-dec-basic >12 lelong 7 64-bit IEEE floating point, !:mime audio/x-dec-basic >12 belong 8 Fragmented sample data, >12 belong 10 DSP program, >12 belong 11 8-bit fixed point, >12 belong 12 16-bit fixed point, >12 belong 13 24-bit fixed point, >12 belong 14 32-bit fixed point, >12 belong 18 16-bit linear with emphasis, >12 belong 19 16-bit linear compressed, >12 belong 20 16-bit linear with emphasis and compression, >12 belong 21 Music kit DSP commands, >12 lelong 23 8-bit ISDN mu-law compressed (CCITT G.721 ADPCM voice enc.), !:mime audio/x-dec-basic >12 belong 24 compressed (8-bit CCITT G.722 ADPCM) >12 belong 25 compressed (3-bit CCITT G.723.3 ADPCM), >12 belong 26 compressed (5-bit CCITT G.723.5 ADPCM), >12 belong 27 8-bit A-law (CCITT G.711), >20 lelong 1 mono, >20 lelong 2 stereo, >20 lelong 4 quad, >16 lelong >0 %d Hz # Creative Labs AUDIO stuff 0 string MThd Standard MIDI data !:mime audio/midi >8 beshort x (format %d) >10 beshort x using %d track >10 beshort >1 \bs >12 beshort&0x7fff x at 1/%d >12 beshort&0x8000 >0 SMPTE 0 string CTMF Creative Music (CMF) data !:mime audio/x-unknown 0 string SBI SoundBlaster instrument data !:mime audio/x-unknown 0 string Creative\ Voice\ File Creative Labs voice data !:mime audio/x-unknown # is this next line right? it came this way... >19 byte 0x1A >23 byte >0 - version %d >22 byte >0 \b.%d # first entry is also the string "NTRK" 0 belong 0x4e54524b MultiTrack sound data >4 belong x - version %ld # Extended MOD format (*.emd) (Greg Roelofs, newt@@uchicago.edu); NOT TESTED # [based on posting 940824 by "Dirk/Elastik", husberg@@lehtori.cc.tut.fi] 0 string EMOD Extended MOD sound data, >4 byte&0xf0 x version %d >4 byte&0x0f x \b.%d, >45 byte x %d instruments >83 byte 0 (module) >83 byte 1 (song) # Real Audio (Magic .ra\0375) 0 belong 0x2e7261fd RealAudio sound file !:mime audio/x-pn-realaudio 0 string .RMF RealMedia file !:mime application/vnd.rn-realmedia #video/x-pn-realvideo #video/vnd.rn-realvideo #application/vnd.rn-realmedia # sigh, there are many mimes for that but the above are the most common. # MTM/669/FAR/S3M/ULT/XM format checking [Aaron Eppert, aeppert@@dialin.ind.net] # Oct 31, 1995 # fixed by 2003-06-24 # Too short... #0 string MTM MultiTracker Module sound file #0 string if Composer 669 Module sound data #0 string JN Composer 669 Module sound data (extended format) 0 string MAS_U ULT(imate) Module sound data #0 string FAR Module sound data #>4 string >\15 Title: "%s" 0x2c string SCRM ScreamTracker III Module sound data >0 string >\0 Title: "%s" # Gravis UltraSound patches # From 0 string GF1PATCH110\0ID#000002\0 GUS patch 0 string GF1PATCH100\0ID#000002\0 Old GUS patch # mime types according to http://www.geocities.com/nevilo/mod.htm: # audio/it .it # audio/x-zipped-it .itz # audio/xm fasttracker modules # audio/x-s3m screamtracker modules # audio/s3m screamtracker modules # audio/x-zipped-mod mdz # audio/mod mod # audio/x-mod All modules (mod, s3m, 669, mtm, med, xm, it, mdz, stm, itz, xmz, s3z) # # Taken from loader code from mikmod version 2.14 # by Steve McIntyre (stevem@@chiark.greenend.org.uk) # added title printing on 2003-06-24 0 string MAS_UTrack_V00 >14 string >/0 ultratracker V1.%.1s module sound data !:mime audio/x-mod #audio/x-tracker-module 0 string UN05 MikMod UNI format module sound data 0 string Extended\ Module: Fasttracker II module sound data !:mime audio/x-mod #audio/x-tracker-module >17 string >\0 Title: "%s" 21 string/c =!SCREAM! Screamtracker 2 module sound data !:mime audio/x-mod #audio/x-screamtracker-module 21 string BMOD2STM Screamtracker 2 module sound data !:mime audio/x-mod #audio/x-screamtracker-module 1080 string M.K. 4-channel Protracker module sound data !:mime audio/x-mod #audio/x-protracker-module >0 string >\0 Title: "%s" 1080 string M!K! 4-channel Protracker module sound data !:mime audio/x-mod #audio/x-protracker-module >0 string >\0 Title: "%s" 1080 string FLT4 4-channel Startracker module sound data !:mime audio/x-mod #audio/x-startracker-module >0 string >\0 Title: "%s" 1080 string FLT8 8-channel Startracker module sound data !:mime audio/x-mod #audio/x-startracker-module >0 string >\0 Title: "%s" 1080 string 4CHN 4-channel Fasttracker module sound data !:mime audio/x-mod #audio/x-fasttracker-module >0 string >\0 Title: "%s" 1080 string 6CHN 6-channel Fasttracker module sound data !:mime audio/x-mod #audio/x-fasttracker-module >0 string >\0 Title: "%s" 1080 string 8CHN 8-channel Fasttracker module sound data !:mime audio/x-mod #audio/x-fasttracker-module >0 string >\0 Title: "%s" 1080 string CD81 8-channel Octalyser module sound data !:mime audio/x-mod #audio/x-octalysertracker-module >0 string >\0 Title: "%s" 1080 string OKTA 8-channel Octalyzer module sound data !:mime audio/x-mod #audio/x-octalysertracker-module >0 string >\0 Title: "%s" # Not good enough. #1082 string CH #>1080 string >/0 %.2s-channel Fasttracker "oktalyzer" module sound data 1080 string 16CN 16-channel Taketracker module sound data !:mime audio/x-mod #audio/x-taketracker-module >0 string >\0 Title: "%s" 1080 string 32CN 32-channel Taketracker module sound data !:mime audio/x-mod #audio/x-taketracker-module >0 string >\0 Title: "%s" # TOC sound files -Trevor Johnson # 0 string TOC TOC sound file # sidfiles # added name,author,(c) and new RSID type by 2003-06-24 0 string SIDPLAY\ INFOFILE Sidplay info file 0 string PSID PlaySID v2.2+ (AMIGA) sidtune >4 beshort >0 w/ header v%d, >14 beshort =1 single song, >14 beshort >1 %d songs, >16 beshort >0 default song: %d >0x16 string >\0 name: "%s" >0x36 string >\0 author: "%s" >0x56 string >\0 copyright: "%s" 0 string RSID RSID sidtune PlaySID compatible >4 beshort >0 w/ header v%d, >14 beshort =1 single song, >14 beshort >1 %d songs, >16 beshort >0 default song: %d >0x16 string >\0 name: "%s" >0x36 string >\0 author: "%s" >0x56 string >\0 copyright: "%s" # IRCAM # VAX and MIPS files are little-endian; Sun and NeXT are big-endian 0 belong 0x64a30100 IRCAM file (VAX) 0 belong 0x64a30200 IRCAM file (Sun) 0 belong 0x64a30300 IRCAM file (MIPS little-endian) 0 belong 0x64a30400 IRCAM file (NeXT) # NIST SPHERE 0 string NIST_1A\n\ \ \ 1024\n NIST SPHERE file # Sample Vision 0 string SOUND\ SAMPLE\ DATA\ Sample Vision file # Audio Visual Research 0 string 2BIT Audio Visual Research file, >12 beshort =0 mono, >12 beshort =-1 stereo, >14 beshort x %d bits >16 beshort =0 unsigned, >16 beshort =-1 signed, >22 belong&0x00ffffff x %d Hz, >18 beshort =0 no loop, >18 beshort =-1 loop, >21 ubyte <128 note %d, >22 byte =0 replay 5.485 KHz >22 byte =1 replay 8.084 KHz >22 byte =2 replay 10.971 Khz >22 byte =3 replay 16.168 Khz >22 byte =4 replay 21.942 KHz >22 byte =5 replay 32.336 KHz >22 byte =6 replay 43.885 KHz >22 byte =7 replay 47.261 KHz # SGI SoundTrack 0 string _SGI_SoundTrack SGI SoundTrack project file # ID3 version 2 tags 0 string ID3 Audio file with ID3 version 2. # ??? Normally such a file is an MP3 file, but this will give false positives !:mime audio/mpeg >3 ubyte <0xff \b%d #>4 ubyte <0xff \b%d tag >2584 string fLaC \b, FLAC encoding >>2588 byte&0x7f >0 \b, unknown version >>2588 byte&0x7f 0 \b # some common bits/sample values >>>2600 beshort&0x1f0 0x030 \b, 4 bit >>>2600 beshort&0x1f0 0x050 \b, 6 bit >>>2600 beshort&0x1f0 0x070 \b, 8 bit >>>2600 beshort&0x1f0 0x0b0 \b, 12 bit >>>2600 beshort&0x1f0 0x0f0 \b, 16 bit >>>2600 beshort&0x1f0 0x170 \b, 24 bit >>>2600 byte&0xe 0x0 \b, mono >>>2600 byte&0xe 0x2 \b, stereo >>>2600 byte&0xe 0x4 \b, 3 channels >>>2600 byte&0xe 0x6 \b, 4 channels >>>2600 byte&0xe 0x8 \b, 5 channels >>>2600 byte&0xe 0xa \b, 6 channels >>>2600 byte&0xe 0xc \b, 7 channels >>>2600 byte&0xe 0xe \b, 8 channels # some common sample rates >>>2597 belong&0xfffff0 0x0ac440 \b, 44.1 kHz >>>2597 belong&0xfffff0 0x0bb800 \b, 48 kHz >>>2597 belong&0xfffff0 0x07d000 \b, 32 kHz >>>2597 belong&0xfffff0 0x056220 \b, 22.05 kHz >>>2597 belong&0xfffff0 0x05dc00 \b, 24 kHz >>>2597 belong&0xfffff0 0x03e800 \b, 16 kHz >>>2597 belong&0xfffff0 0x02b110 \b, 11.025 kHz >>>2597 belong&0xfffff0 0x02ee00 \b, 12 kHz >>>2597 belong&0xfffff0 0x01f400 \b, 8 kHz >>>2597 belong&0xfffff0 0x177000 \b, 96 kHz >>>2597 belong&0xfffff0 0x0fa000 \b, 64 kHz >>>2601 byte&0xf >0 \b, >4G samples >2584 string !fLaC \b, MP3 encoding # NSF (NES sound file) magic 0 string NESM\x1a NES Sound File >14 string >\0 ("%s" by >46 string >\0 %s, copyright >78 string >\0 %s), >5 byte x version %d, >6 byte x %d tracks, >122 byte&0x2 =1 dual PAL/NTSC >122 byte&0x1 =1 PAL >122 byte&0x1 =0 NTSC # Impulse tracker module (audio/x-it) 0 string IMPM Impulse Tracker module sound data - !:mime audio/x-mod >4 string >\0 "%s" >40 leshort !0 compatible w/ITv%x >42 leshort !0 created w/ITv%x # Imago Orpheus module (audio/x-imf) 60 string IM10 Imago Orpheus module sound data - >0 string >\0 "%s" # From # These are the /etc/magic entries to decode modules, instruments, and # samples in Impulse Tracker's native format. 0 string IMPS Impulse Tracker Sample >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 # Yamaha TX Wave: file(1) magic for Yamaha TX Wave audio files # From 0 string LM8953 Yamaha TX Wave >22 byte 0x49 looped >22 byte 0xC9 non-looped >23 byte 1 33kHz >23 byte 2 50kHz >23 byte 3 16kHz # scream tracker: file(1) magic for Scream Tracker sample files # # From 76 string SCRS Scream Tracker Sample >0 byte 1 sample >0 byte 2 adlib melody >0 byte >2 adlib drum >31 byte &2 stereo >31 byte ^2 mono >31 byte &4 16bit little endian >31 byte ^4 8bit >30 byte 0 unpacked >30 byte 1 packed # audio # From: Cory Dikkers 0 string MMD0 MED music file, version 0 0 string MMD1 OctaMED Pro music file, version 1 0 string MMD3 OctaMED Soundstudio music file, version 3 0 string OctaMEDCmpr OctaMED Soundstudio compressed file 0 string MED MED_Song 0 string SymM Symphonie SymMOD music file # 0 string THX AHX version >3 byte =0 1 module data >3 byte =1 2 module data # 0 string OKTASONG Oktalyzer module data # 0 string DIGI\ Booster\ module\0 %s >20 byte >0 %c >>21 byte >0 \b%c >>>22 byte >0 \b%c >>>>23 byte >0 \b%c >610 string >\0 \b, "%s" # 0 string DBM0 DIGI Booster Pro Module >4 byte >0 V%X. >>5 byte x \b%02X >16 string >\0 \b, "%s" # 0 string FTMN FaceTheMusic module >16 string >\0d \b, "%s" # From: 2003-06-24 0 string AMShdr\32 Velvet Studio AMS Module v2.2 0 string Extreme Extreme Tracker AMS Module v1.3 0 string DDMF Xtracker DMF Module >4 byte x v%i >0xD string >\0 Title: "%s" >0x2B string >\0 Composer: "%s" 0 string DSM\32 Dynamic Studio Module DSM 0 string SONG DigiTrekker DTM Module 0 string DMDL DigiTrakker MDL Module 0 string PSM\32 Protracker Studio PSM Module 44 string PTMF Poly Tracker PTM Module >0 string >\32 Title: "%s" 0 string MT20 MadTracker 2.0 Module MT2 0 string RAD\40by\40REALiTY!! RAD Adlib Tracker Module RAD 0 string RTMM RTM Module 0x426 string MaDoKaN96 XMS Adlib Module >0 string >\0 Composer: "%s" 0 string AMF AMF Module >4 string >\0 Title: "%s" 0 string MODINFO1 Open Cubic Player Module Inforation MDZ 0 string Extended\40Instrument: Fast Tracker II Instrument # From: Takeshi Hamasaki # NOA Nancy Codec file 0 string \210NOA\015\012\032 NOA Nancy Codec Movie file # Yamaha SMAF format 0 string MMMD Yamaha SMAF file # Sharp Jisaku Melody format for PDC 0 string \001Sharp\040JisakuMelody SHARP Cell-Phone ringing Melody >20 string Ver01.00 Ver. 1.00 >>32 byte x , %d tracks # Free lossless audio codec # From: Przemyslaw Augustyniak 0 string fLaC FLAC audio bitstream data !:mime audio/x-flac >4 byte&0x7f >0 \b, unknown version >4 byte&0x7f 0 \b # some common bits/sample values >>20 beshort&0x1f0 0x030 \b, 4 bit >>20 beshort&0x1f0 0x050 \b, 6 bit >>20 beshort&0x1f0 0x070 \b, 8 bit >>20 beshort&0x1f0 0x0b0 \b, 12 bit >>20 beshort&0x1f0 0x0f0 \b, 16 bit >>20 beshort&0x1f0 0x170 \b, 24 bit >>20 byte&0xe 0x0 \b, mono >>20 byte&0xe 0x2 \b, stereo >>20 byte&0xe 0x4 \b, 3 channels >>20 byte&0xe 0x6 \b, 4 channels >>20 byte&0xe 0x8 \b, 5 channels >>20 byte&0xe 0xa \b, 6 channels >>20 byte&0xe 0xc \b, 7 channels >>20 byte&0xe 0xe \b, 8 channels # some common sample rates >>17 belong&0xfffff0 0x0ac440 \b, 44.1 kHz >>17 belong&0xfffff0 0x0bb800 \b, 48 kHz >>17 belong&0xfffff0 0x07d000 \b, 32 kHz >>17 belong&0xfffff0 0x056220 \b, 22.05 kHz >>17 belong&0xfffff0 0x05dc00 \b, 24 kHz >>17 belong&0xfffff0 0x03e800 \b, 16 kHz >>17 belong&0xfffff0 0x02b110 \b, 11.025 kHz >>17 belong&0xfffff0 0x02ee00 \b, 12 kHz >>17 belong&0xfffff0 0x01f400 \b, 8 kHz >>17 belong&0xfffff0 0x177000 \b, 96 kHz >>17 belong&0xfffff0 0x0fa000 \b, 64 kHz >>21 byte&0xf >0 \b, >4G samples >>21 byte&0xf 0 \b >>>22 belong >0 \b, %u samples >>>22 belong 0 \b, length unknown # (ISDN) VBOX voice message file (Wolfram Kleff) 0 string VBOX VBOX voice message data # ReBorn Song Files (.rbs) # David J. Singer 8 string RB40 RBS Song file >29 string ReBorn created by ReBorn >37 string Propellerhead created by ReBirth # Synthesizer Generator and Kimwitu share their file format 0 string A#S#C#S#S#L#V#3 Synthesizer Generator or Kimwitu data # Kimwitu++ uses a slightly different magic 0 string A#S#C#S#S#L#HUB Kimwitu++ data # From "Simon Hosie 0 string TFMX-SONG TFMX module sound data # Monkey's Audio compressed audio format (.ape) # From danny.milo@@gmx.net (Danny Milosavljevic) # New version from Abel Cheung 0 string MAC\040 Monkey's Audio compressed format >4 uleshort >0x0F8B version %d >>(0x08.l) uleshort =1000 with fast compression >>(0x08.l) uleshort =2000 with normal compression >>(0x08.l) uleshort =3000 with high compression >>(0x08.l) uleshort =4000 with extra high compression >>(0x08.l) uleshort =5000 with insane compression >>(0x08.l+18) uleshort =1 \b, mono >>(0x08.l+18) uleshort =2 \b, stereo >>(0x08.l+20) ulelong x \b, sample rate %d >4 uleshort <0x0F8C version %d >>6 uleshort =1000 with fast compression >>6 uleshort =2000 with normal compression >>6 uleshort =3000 with high compression >>6 uleshort =4000 with extra high compression >>6 uleshort =5000 with insane compression >>10 uleshort =1 \b, mono >>10 uleshort =2 \b, stereo >>12 ulelong x \b, sample rate %d # adlib sound files # From Gürkan Sengün , http://www.linuks.mine.nu 0 string RAWADATA RdosPlay RAW 1068 string RoR AMUSIC Adlib Tracker 0 string JCH EdLib 0 string mpu401tr MPU-401 Trakker 0 string SAdT Surprise! Adlib Tracker >4 byte x Version %d 0 string XAD! eXotic ADlib 0 string ofTAZ! eXtra Simple Music # Spectrum 128 tunes (.ay files). # From: Emanuel Haupt 0 string ZXAYEMUL Spectrum 128 tune 0 string \0BONK BONK, #>5 byte x version %d >14 byte x %d channel(s), >15 byte =1 lossless, >15 byte =0 lossy, >16 byte x mid-side 384 string LockStream LockStream Embedded file (mostly MP3 on old Nokia phones) # format VQF (proprietary codec for sound) # some infos on the header file available at : # http://www.twinvq.org/english/technology_format.html 0 string TWIN97012000 VQF data >27 short 0 \b, Mono >27 short 1 \b, Stereo >31 short >0 \b, %d kbit/s >35 short >0 \b, %d kHz # Nelson A. de Oliveira (naoliv@@gmail.com) # .eqf 0 string Winamp\ EQ\ library\ file %s # it will match only versions like v. # Since I saw only eqf files with version v1.1 I think that it's OK >23 string x \b%.4s # .preset 0 string [Equalizer\ preset] XMMS equalizer preset # .m3u 0 search/1 #EXTM3U M3U playlist text # .pls 0 search/1 [playlist] PLS playlist text # licq.conf 1 string [licq] LICQ configuration file # Atari ST audio files by Dirk Jagdmann 0 string ICE! SNDH Atari ST music 0 string SC68\ Music-file\ /\ (c)\ (BeN)jami sc68 Atari ST music # musepak support From: "Jiri Pejchal" 0 string MP+ Musepack audio >3 byte 255 \b, SV pre8 >3 byte&0xF 0x6 \b, SV 6 >3 byte&0xF 0x8 \b, SV 8 >3 byte&0xF 0x7 \b, SV 7 >>3 byte&0xF0 0x0 \b.0 >>3 byte&0xF0 0x10 \b.1 >>3 byte&0xF0 240 \b.15 >>10 byte&0xF0 0x0 \b, no profile >>10 byte&0xF0 0x10 \b, profile 'Unstable/Experimental' >>10 byte&0xF0 0x50 \b, quality 0 >>10 byte&0xF0 0x60 \b, quality 1 >>10 byte&0xF0 0x70 \b, quality 2 (Telephone) >>10 byte&0xF0 0x80 \b, quality 3 (Thumb) >>10 byte&0xF0 0x90 \b, quality 4 (Radio) >>10 byte&0xF0 0xA0 \b, quality 5 (Standard) >>10 byte&0xF0 0xB0 \b, quality 6 (Xtreme) >>10 byte&0xF0 0xC0 \b, quality 7 (Insane) >>10 byte&0xF0 0xD0 \b, quality 8 (BrainDead) >>10 byte&0xF0 0xE0 \b, quality 9 >>10 byte&0xF0 0xF0 \b, quality 10 >>27 byte 0x0 \b, Buschmann 1.7.0-9, Klemm 0.90-1.05 >>27 byte 102 \b, Beta 1.02 >>27 byte 104 \b, Beta 1.04 >>27 byte 105 \b, Alpha 1.05 >>27 byte 106 \b, Beta 1.06 >>27 byte 110 \b, Release 1.1 >>27 byte 111 \b, Alpha 1.11 >>27 byte 112 \b, Beta 1.12 >>27 byte 113 \b, Alpha 1.13 >>27 byte 114 \b, Beta 1.14 >>27 byte 115 \b, Alpha 1.15 # IMY # from http://filext.com/detaillist.php?extdetail=IMY # http://cellphones.about.com/od/cellularfaqs/f/rf_imelody.htm # http://download.ncl.ie/doc/api/ie/ncl/media/music/IMelody.html # http://www.wx800.com/msg/download/irda/iMelody.pdf 0 string BEGIN:IMELODY iMelody Ringtone Format # From: "Mateus Caruccio" # guitar pro v3,4,5 from http://filext.com/file-extension/gp3 0 string \030FICHIER\ GUITAR\ PRO\ v3. Guitar Pro Ver. 3 Tablature # From: "Leslie P. Polzer" 60 string SONG SoundFX Module sound file # Type: Adaptive Multi-Rate Codec # URL: http://filext.com/detaillist.php?extdetail=AMR # From: Russell Coker 0 string #!AMR Adaptive Multi-Rate Codec (GSM telephony) @ 1.13 log @resolve conflicts, fix build. @ text @@ 1.12 log @crunch cornflakes @ text @a0 1 d11 1 d13 1 d15 1 d17 1 d19 1 d21 1 d23 1 d35 1 d49 1 d51 1 d53 1 d55 1 d57 1 d59 1 d61 1 d73 1 d85 1 d93 1 d95 1 d97 1 d118 1 d120 5 d147 10 d163 2 d169 2 d174 2 d177 2 d180 2 d184 2 d188 2 d192 2 d196 2 d200 2 d204 2 d208 2 d211 3 a213 1 1080 string OKTA 8-channel Oktalyzer module sound data d219 2 d223 2 d276 1 a276 1 >21 ubyte <=127 note %d, d289 5 a293 3 0 string ID3 Audio file with ID3 version 2 >3 ubyte <0xff \b%d. >4 ubyte <0xff \b%d tag d340 1 d451 1 d574 1 a574 1 0 string #EXTM3U M3U playlist d576 1 a576 1 0 string [playlist] PLS playlist d625 11 a635 3 # From: Matthew Flaschen 0 string #EXTM3U M3U playlist text @ 1.12.12.1 log @Sync with wrstuden-revivesa-base-2. @ text @d1 1 a11 1 !:mime audio/basic a12 1 !:mime audio/basic a13 1 !:mime audio/basic a14 1 !:mime audio/basic a15 1 !:mime audio/basic a16 1 !:mime audio/basic a17 1 !:mime audio/basic a28 1 !:mime audio/x-adpcm a41 1 !:mime audio/x-dec-basic a42 1 !:mime audio/x-dec-basic a43 1 !:mime audio/x-dec-basic a44 1 !:mime audio/x-dec-basic a45 1 !:mime audio/x-dec-basic a46 1 !:mime audio/x-dec-basic a47 1 !:mime audio/x-dec-basic a58 1 !:mime audio/x-dec-basic a69 1 !:mime audio/midi a76 1 !:mime audio/x-unknown a77 1 !:mime audio/x-unknown a78 1 !:mime audio/x-unknown a98 1 !:mime audio/x-pn-realaudio a99 5 !:mime application/vnd.rn-realmedia #video/x-pn-realvideo #video/vnd.rn-realvideo #application/vnd.rn-realmedia # sigh, there are many mimes for that but the above are the most common. a121 10 # mime types according to http://www.geocities.com/nevilo/mod.htm: # audio/it .it # audio/x-zipped-it .itz # audio/xm fasttracker modules # audio/x-s3m screamtracker modules # audio/s3m screamtracker modules # audio/x-zipped-mod mdz # audio/mod mod # audio/x-mod All modules (mod, s3m, 669, mtm, med, xm, it, mdz, stm, itz, xmz, s3z) a127 2 !:mime audio/x-mod #audio/x-tracker-module a131 2 !:mime audio/x-mod #audio/x-tracker-module a134 2 !:mime audio/x-mod #audio/x-screamtracker-module a135 2 !:mime audio/x-mod #audio/x-screamtracker-module a136 2 !:mime audio/x-mod #audio/x-protracker-module a138 2 !:mime audio/x-mod #audio/x-protracker-module a140 2 !:mime audio/x-mod #audio/x-startracker-module a142 2 !:mime audio/x-mod #audio/x-startracker-module a144 2 !:mime audio/x-mod #audio/x-fasttracker-module a146 2 !:mime audio/x-mod #audio/x-fasttracker-module a148 2 !:mime audio/x-mod #audio/x-fasttracker-module a150 2 !:mime audio/x-mod #audio/x-octalysertracker-module d152 1 a152 3 1080 string OKTA 8-channel Octalyzer module sound data !:mime audio/x-mod #audio/x-octalysertracker-module a157 2 !:mime audio/x-mod #audio/x-taketracker-module a159 2 !:mime audio/x-mod #audio/x-taketracker-module d211 1 a211 1 >21 ubyte <128 note %d, d224 3 a226 5 0 string ID3 Audio file with ID3 version 2. # ??? Normally such a file is an MP3 file, but this will give false positives !:mime audio/mpeg >3 ubyte <0xff \b%d #>4 ubyte <0xff \b%d tag a272 1 !:mime audio/x-mod a382 1 !:mime audio/x-flac d505 1 a505 1 0 search/1 #EXTM3U M3U playlist text d507 1 a507 1 0 search/1 [playlist] PLS playlist text d556 3 a558 11 # From: "Mateus Caruccio" # guitar pro v3,4,5 from http://filext.com/file-extension/gp3 0 string \030FICHIER\ GUITAR\ PRO\ v3. Guitar Pro Ver. 3 Tablature # From: "Leslie P. Polzer" 60 string SONG SoundFX Module sound file # Type: Adaptive Multi-Rate Codec # URL: http://filext.com/detaillist.php?extdetail=AMR # From: Russell Coker 0 string #!AMR Adaptive Multi-Rate Codec (GSM telephony) @ 1.11 log @apply conflict therapy for 4.20 import @ text @d555 4 @ 1.10 log @welcome to file 4.18. have a nice day. @ text @a477 4 # From: Alex Beregszaszi 0 string MP+ Musepack >3 byte&0x0f x SV%d d503 1 a503 1 0 string \[Equalizer\ preset\] XMMS equalizer preset d505 1 a505 1 0 string \#EXTM3U M3U playlist d507 1 a507 1 0 string \[playlist\] PLS playlist d509 1 a509 1 1 string \[licq\] LICQ configuration file d548 7 @ 1.10.4.1 log @Sync w/ NetBSD-4-RC_1 @ text @d478 4 d507 1 a507 1 0 string [Equalizer\ preset] XMMS equalizer preset d509 1 a509 1 0 string #EXTM3U M3U playlist d511 1 a511 1 0 string [playlist] PLS playlist d513 1 a513 1 1 string [licq] LICQ configuration file a551 11 # IMY # from http://filext.com/detaillist.php?extdetail=IMY # http://cellphones.about.com/od/cellularfaqs/f/rf_imelody.htm # http://download.ncl.ie/doc/api/ie/ncl/media/music/IMelody.html # http://www.wx800.com/msg/download/irda/iMelody.pdf 0 string BEGIN:IMELODY iMelody Ringtone Format # From: Matthew Flaschen 0 string #EXTM3U M3U playlist text @ 1.10.2.1 log @Pull up following (requested by pooka in ticket #724): bring file(1) to 4.21 @ text @d478 4 d507 1 a507 1 0 string [Equalizer\ preset] XMMS equalizer preset d509 1 a509 1 0 string #EXTM3U M3U playlist d511 1 a511 1 0 string [playlist] PLS playlist d513 1 a513 1 1 string [licq] LICQ configuration file a551 11 # IMY # from http://filext.com/detaillist.php?extdetail=IMY # http://cellphones.about.com/od/cellularfaqs/f/rf_imelody.htm # http://download.ncl.ie/doc/api/ie/ncl/media/music/IMelody.html # http://www.wx800.com/msg/download/irda/iMelody.pdf 0 string BEGIN:IMELODY iMelody Ringtone Format # From: Matthew Flaschen 0 string #EXTM3U M3U playlist text @ 1.9 log @con conflicts into going away @ text @d28 1 a28 1 >12 belong 23 8-bit ISDN mu-law compressed (CCITT G.721 ADPCM voice data encoding), d58 1 a58 1 >12 lelong 23 8-bit ISDN mu-law compressed (CCITT G.721 ADPCM voice data encoding), d224 1 a224 1 0 string ID3 MP3 file with ID3 version 2. d227 32 d271 1 a271 1 # Impuse tracker module (audio/x-it) d434 1 d436 20 a455 8 # monkeysaudio for magic.mime 0 string MAC\ X/Monkey audio, >4 leshort >0 version %d, >6 leshort >0 compression level %d, >8 leshort >0 flags %x, >10 leshort >0 channels %d, >12 lelong >0 samplerate %d, >24 lelong >0 frames %d d490 62 @ 1.8 log @munge conflicts @ text @d134 1 a134 1 21 string/c !SCREAM! Screamtracker 2 module sound data d412 33 @ 1.8.6.1 log @Pull up following revision(s) (requested by pooka in ticket #1804): dist/file/: synced with HEAD on 20070615 distrib/sets/lists/base/shl.elf: revision 1.222 distrib/sets/lists/base/shl.mi: revision 1.375 via patch lib/Makefile: revision 1.108 via patch lib/libmagic/Makefile: revision 1.5 lib/libmagic/config.h: patch lib/libmagic/shlib_version: revision 1.3-1.4 tools/file/Makefile: revision 1.4 usr.bin/file/Makefile: revision 1.51-1.53 Update file(1) to version 4.21, including security fixes (CVE-2007-1536 and CVE-2007-2799). @ text @d28 1 a28 1 >12 belong 23 8-bit ISDN mu-law compressed (CCITT G.721 ADPCM voice enc.), d58 1 a58 1 >12 lelong 23 8-bit ISDN mu-law compressed (CCITT G.721 ADPCM voice enc.), d134 1 a134 1 21 string/c =!SCREAM! Screamtracker 2 module sound data d224 1 a224 1 0 string ID3 Audio file with ID3 version 2 a226 32 >2584 string fLaC \b, FLAC encoding >>2588 byte&0x7f >0 \b, unknown version >>2588 byte&0x7f 0 \b # some common bits/sample values >>>2600 beshort&0x1f0 0x030 \b, 4 bit >>>2600 beshort&0x1f0 0x050 \b, 6 bit >>>2600 beshort&0x1f0 0x070 \b, 8 bit >>>2600 beshort&0x1f0 0x0b0 \b, 12 bit >>>2600 beshort&0x1f0 0x0f0 \b, 16 bit >>>2600 beshort&0x1f0 0x170 \b, 24 bit >>>2600 byte&0xe 0x0 \b, mono >>>2600 byte&0xe 0x2 \b, stereo >>>2600 byte&0xe 0x4 \b, 3 channels >>>2600 byte&0xe 0x6 \b, 4 channels >>>2600 byte&0xe 0x8 \b, 5 channels >>>2600 byte&0xe 0xa \b, 6 channels >>>2600 byte&0xe 0xc \b, 7 channels >>>2600 byte&0xe 0xe \b, 8 channels # some common sample rates >>>2597 belong&0xfffff0 0x0ac440 \b, 44.1 kHz >>>2597 belong&0xfffff0 0x0bb800 \b, 48 kHz >>>2597 belong&0xfffff0 0x07d000 \b, 32 kHz >>>2597 belong&0xfffff0 0x056220 \b, 22.05 kHz >>>2597 belong&0xfffff0 0x05dc00 \b, 24 kHz >>>2597 belong&0xfffff0 0x03e800 \b, 16 kHz >>>2597 belong&0xfffff0 0x02b110 \b, 11.025 kHz >>>2597 belong&0xfffff0 0x02ee00 \b, 12 kHz >>>2597 belong&0xfffff0 0x01f400 \b, 8 kHz >>>2597 belong&0xfffff0 0x177000 \b, 96 kHz >>>2597 belong&0xfffff0 0x0fa000 \b, 64 kHz >>>2601 byte&0xf >0 \b, >4G samples >2584 string !fLaC \b, MP3 encoding d239 1 a239 1 # Impulse tracker module (audio/x-it) a401 1 # Monkey's Audio compressed audio format (.ape) d403 8 a410 122 # New version from Abel Cheung 0 string MAC\040 Monkey's Audio compressed format >4 uleshort >0x0F8B version %d >>(0x08.l) uleshort =1000 with fast compression >>(0x08.l) uleshort =2000 with normal compression >>(0x08.l) uleshort =3000 with high compression >>(0x08.l) uleshort =4000 with extra high compression >>(0x08.l) uleshort =5000 with insane compression >>(0x08.l+18) uleshort =1 \b, mono >>(0x08.l+18) uleshort =2 \b, stereo >>(0x08.l+20) ulelong x \b, sample rate %d >4 uleshort <0x0F8C version %d >>6 uleshort =1000 with fast compression >>6 uleshort =2000 with normal compression >>6 uleshort =3000 with high compression >>6 uleshort =4000 with extra high compression >>6 uleshort =5000 with insane compression >>10 uleshort =1 \b, mono >>10 uleshort =2 \b, stereo >>12 ulelong x \b, sample rate %d # adlib sound files # From Gürkan Sengün , http://www.linuks.mine.nu 0 string RAWADATA RdosPlay RAW 1068 string RoR AMUSIC Adlib Tracker 0 string JCH EdLib 0 string mpu401tr MPU-401 Trakker 0 string SAdT Surprise! Adlib Tracker >4 byte x Version %d 0 string XAD! eXotic ADlib 0 string ofTAZ! eXtra Simple Music # Spectrum 128 tunes (.ay files). # From: Emanuel Haupt 0 string ZXAYEMUL Spectrum 128 tune 0 string \0BONK BONK, #>5 byte x version %d >14 byte x %d channel(s), >15 byte =1 lossless, >15 byte =0 lossy, >16 byte x mid-side 384 string LockStream LockStream Embedded file (mostly MP3 on old Nokia phones) # format VQF (proprietary codec for sound) # some infos on the header file available at : # http://www.twinvq.org/english/technology_format.html 0 string TWIN97012000 VQF data >27 short 0 \b, Mono >27 short 1 \b, Stereo >31 short >0 \b, %d kbit/s >35 short >0 \b, %d kHz # Nelson A. de Oliveira (naoliv@@gmail.com) # .eqf 0 string Winamp\ EQ\ library\ file %s # it will match only versions like v. # Since I saw only eqf files with version v1.1 I think that it's OK >23 string x \b%.4s # .preset 0 string [Equalizer\ preset] XMMS equalizer preset # .m3u 0 string #EXTM3U M3U playlist # .pls 0 string [playlist] PLS playlist # licq.conf 1 string [licq] LICQ configuration file # Atari ST audio files by Dirk Jagdmann 0 string ICE! SNDH Atari ST music 0 string SC68\ Music-file\ /\ (c)\ (BeN)jami sc68 Atari ST music # musepak support From: "Jiri Pejchal" 0 string MP+ Musepack audio >3 byte 255 \b, SV pre8 >3 byte&0xF 0x6 \b, SV 6 >3 byte&0xF 0x8 \b, SV 8 >3 byte&0xF 0x7 \b, SV 7 >>3 byte&0xF0 0x0 \b.0 >>3 byte&0xF0 0x10 \b.1 >>3 byte&0xF0 240 \b.15 >>10 byte&0xF0 0x0 \b, no profile >>10 byte&0xF0 0x10 \b, profile 'Unstable/Experimental' >>10 byte&0xF0 0x50 \b, quality 0 >>10 byte&0xF0 0x60 \b, quality 1 >>10 byte&0xF0 0x70 \b, quality 2 (Telephone) >>10 byte&0xF0 0x80 \b, quality 3 (Thumb) >>10 byte&0xF0 0x90 \b, quality 4 (Radio) >>10 byte&0xF0 0xA0 \b, quality 5 (Standard) >>10 byte&0xF0 0xB0 \b, quality 6 (Xtreme) >>10 byte&0xF0 0xC0 \b, quality 7 (Insane) >>10 byte&0xF0 0xD0 \b, quality 8 (BrainDead) >>10 byte&0xF0 0xE0 \b, quality 9 >>10 byte&0xF0 0xF0 \b, quality 10 >>27 byte 0x0 \b, Buschmann 1.7.0-9, Klemm 0.90-1.05 >>27 byte 102 \b, Beta 1.02 >>27 byte 104 \b, Beta 1.04 >>27 byte 105 \b, Alpha 1.05 >>27 byte 106 \b, Beta 1.06 >>27 byte 110 \b, Release 1.1 >>27 byte 111 \b, Alpha 1.11 >>27 byte 112 \b, Beta 1.12 >>27 byte 113 \b, Alpha 1.13 >>27 byte 114 \b, Beta 1.14 >>27 byte 115 \b, Alpha 1.15 # IMY # from http://filext.com/detaillist.php?extdetail=IMY # http://cellphones.about.com/od/cellularfaqs/f/rf_imelody.htm # http://download.ncl.ie/doc/api/ie/ncl/media/music/IMelody.html # http://www.wx800.com/msg/download/irda/iMelody.pdf 0 string BEGIN:IMELODY iMelody Ringtone Format # From: Matthew Flaschen 0 string #EXTM3U M3U playlist text @ 1.8.4.1 log @Pull up following revision(s) (requested by pooka in ticket #1804): dist/file/: synced with HEAD on 20070615 distrib/sets/lists/base/shl.elf: revision 1.222 distrib/sets/lists/base/shl.mi: revision 1.375 via patch lib/Makefile: revision 1.108 via patch lib/libmagic/Makefile: revision 1.5 lib/libmagic/config.h: patch lib/libmagic/shlib_version: revision 1.3-1.4 tools/file/Makefile: revision 1.4 usr.bin/file/Makefile: revision 1.51-1.53 Update file(1) to version 4.21, including security fixes (CVE-2007-1536 and CVE-2007-2799). @ text @d28 1 a28 1 >12 belong 23 8-bit ISDN mu-law compressed (CCITT G.721 ADPCM voice enc.), d58 1 a58 1 >12 lelong 23 8-bit ISDN mu-law compressed (CCITT G.721 ADPCM voice enc.), d134 1 a134 1 21 string/c =!SCREAM! Screamtracker 2 module sound data d224 1 a224 1 0 string ID3 Audio file with ID3 version 2 a226 32 >2584 string fLaC \b, FLAC encoding >>2588 byte&0x7f >0 \b, unknown version >>2588 byte&0x7f 0 \b # some common bits/sample values >>>2600 beshort&0x1f0 0x030 \b, 4 bit >>>2600 beshort&0x1f0 0x050 \b, 6 bit >>>2600 beshort&0x1f0 0x070 \b, 8 bit >>>2600 beshort&0x1f0 0x0b0 \b, 12 bit >>>2600 beshort&0x1f0 0x0f0 \b, 16 bit >>>2600 beshort&0x1f0 0x170 \b, 24 bit >>>2600 byte&0xe 0x0 \b, mono >>>2600 byte&0xe 0x2 \b, stereo >>>2600 byte&0xe 0x4 \b, 3 channels >>>2600 byte&0xe 0x6 \b, 4 channels >>>2600 byte&0xe 0x8 \b, 5 channels >>>2600 byte&0xe 0xa \b, 6 channels >>>2600 byte&0xe 0xc \b, 7 channels >>>2600 byte&0xe 0xe \b, 8 channels # some common sample rates >>>2597 belong&0xfffff0 0x0ac440 \b, 44.1 kHz >>>2597 belong&0xfffff0 0x0bb800 \b, 48 kHz >>>2597 belong&0xfffff0 0x07d000 \b, 32 kHz >>>2597 belong&0xfffff0 0x056220 \b, 22.05 kHz >>>2597 belong&0xfffff0 0x05dc00 \b, 24 kHz >>>2597 belong&0xfffff0 0x03e800 \b, 16 kHz >>>2597 belong&0xfffff0 0x02b110 \b, 11.025 kHz >>>2597 belong&0xfffff0 0x02ee00 \b, 12 kHz >>>2597 belong&0xfffff0 0x01f400 \b, 8 kHz >>>2597 belong&0xfffff0 0x177000 \b, 96 kHz >>>2597 belong&0xfffff0 0x0fa000 \b, 64 kHz >>>2601 byte&0xf >0 \b, >4G samples >2584 string !fLaC \b, MP3 encoding d239 1 a239 1 # Impulse tracker module (audio/x-it) a401 1 # Monkey's Audio compressed audio format (.ape) d403 8 a410 122 # New version from Abel Cheung 0 string MAC\040 Monkey's Audio compressed format >4 uleshort >0x0F8B version %d >>(0x08.l) uleshort =1000 with fast compression >>(0x08.l) uleshort =2000 with normal compression >>(0x08.l) uleshort =3000 with high compression >>(0x08.l) uleshort =4000 with extra high compression >>(0x08.l) uleshort =5000 with insane compression >>(0x08.l+18) uleshort =1 \b, mono >>(0x08.l+18) uleshort =2 \b, stereo >>(0x08.l+20) ulelong x \b, sample rate %d >4 uleshort <0x0F8C version %d >>6 uleshort =1000 with fast compression >>6 uleshort =2000 with normal compression >>6 uleshort =3000 with high compression >>6 uleshort =4000 with extra high compression >>6 uleshort =5000 with insane compression >>10 uleshort =1 \b, mono >>10 uleshort =2 \b, stereo >>12 ulelong x \b, sample rate %d # adlib sound files # From Gürkan Sengün , http://www.linuks.mine.nu 0 string RAWADATA RdosPlay RAW 1068 string RoR AMUSIC Adlib Tracker 0 string JCH EdLib 0 string mpu401tr MPU-401 Trakker 0 string SAdT Surprise! Adlib Tracker >4 byte x Version %d 0 string XAD! eXotic ADlib 0 string ofTAZ! eXtra Simple Music # Spectrum 128 tunes (.ay files). # From: Emanuel Haupt 0 string ZXAYEMUL Spectrum 128 tune 0 string \0BONK BONK, #>5 byte x version %d >14 byte x %d channel(s), >15 byte =1 lossless, >15 byte =0 lossy, >16 byte x mid-side 384 string LockStream LockStream Embedded file (mostly MP3 on old Nokia phones) # format VQF (proprietary codec for sound) # some infos on the header file available at : # http://www.twinvq.org/english/technology_format.html 0 string TWIN97012000 VQF data >27 short 0 \b, Mono >27 short 1 \b, Stereo >31 short >0 \b, %d kbit/s >35 short >0 \b, %d kHz # Nelson A. de Oliveira (naoliv@@gmail.com) # .eqf 0 string Winamp\ EQ\ library\ file %s # it will match only versions like v. # Since I saw only eqf files with version v1.1 I think that it's OK >23 string x \b%.4s # .preset 0 string [Equalizer\ preset] XMMS equalizer preset # .m3u 0 string #EXTM3U M3U playlist # .pls 0 string [playlist] PLS playlist # licq.conf 1 string [licq] LICQ configuration file # Atari ST audio files by Dirk Jagdmann 0 string ICE! SNDH Atari ST music 0 string SC68\ Music-file\ /\ (c)\ (BeN)jami sc68 Atari ST music # musepak support From: "Jiri Pejchal" 0 string MP+ Musepack audio >3 byte 255 \b, SV pre8 >3 byte&0xF 0x6 \b, SV 6 >3 byte&0xF 0x8 \b, SV 8 >3 byte&0xF 0x7 \b, SV 7 >>3 byte&0xF0 0x0 \b.0 >>3 byte&0xF0 0x10 \b.1 >>3 byte&0xF0 240 \b.15 >>10 byte&0xF0 0x0 \b, no profile >>10 byte&0xF0 0x10 \b, profile 'Unstable/Experimental' >>10 byte&0xF0 0x50 \b, quality 0 >>10 byte&0xF0 0x60 \b, quality 1 >>10 byte&0xF0 0x70 \b, quality 2 (Telephone) >>10 byte&0xF0 0x80 \b, quality 3 (Thumb) >>10 byte&0xF0 0x90 \b, quality 4 (Radio) >>10 byte&0xF0 0xA0 \b, quality 5 (Standard) >>10 byte&0xF0 0xB0 \b, quality 6 (Xtreme) >>10 byte&0xF0 0xC0 \b, quality 7 (Insane) >>10 byte&0xF0 0xD0 \b, quality 8 (BrainDead) >>10 byte&0xF0 0xE0 \b, quality 9 >>10 byte&0xF0 0xF0 \b, quality 10 >>27 byte 0x0 \b, Buschmann 1.7.0-9, Klemm 0.90-1.05 >>27 byte 102 \b, Beta 1.02 >>27 byte 104 \b, Beta 1.04 >>27 byte 105 \b, Alpha 1.05 >>27 byte 106 \b, Beta 1.06 >>27 byte 110 \b, Release 1.1 >>27 byte 111 \b, Alpha 1.11 >>27 byte 112 \b, Beta 1.12 >>27 byte 113 \b, Alpha 1.13 >>27 byte 114 \b, Beta 1.14 >>27 byte 115 \b, Alpha 1.15 # IMY # from http://filext.com/detaillist.php?extdetail=IMY # http://cellphones.about.com/od/cellularfaqs/f/rf_imelody.htm # http://download.ncl.ie/doc/api/ie/ncl/media/music/IMelody.html # http://www.wx800.com/msg/download/irda/iMelody.pdf 0 string BEGIN:IMELODY iMelody Ringtone Format # From: Matthew Flaschen 0 string #EXTM3U M3U playlist text @ 1.8.2.1 log @Pull up following revision(s) (requested by pooka in ticket #1804): dist/file/: synced with HEAD on 20070615 distrib/sets/lists/base/shl.elf: revision 1.222 distrib/sets/lists/base/shl.mi: revision 1.375 via patch lib/Makefile: revision 1.108 via patch lib/libmagic/Makefile: revision 1.5 lib/libmagic/config.h: patch lib/libmagic/shlib_version: revision 1.3-1.4 tools/file/Makefile: revision 1.4 usr.bin/file/Makefile: revision 1.51-1.53 Update file(1) to version 4.21, including security fixes (CVE-2007-1536 and CVE-2007-2799). @ text @d28 1 a28 1 >12 belong 23 8-bit ISDN mu-law compressed (CCITT G.721 ADPCM voice enc.), d58 1 a58 1 >12 lelong 23 8-bit ISDN mu-law compressed (CCITT G.721 ADPCM voice enc.), d134 1 a134 1 21 string/c =!SCREAM! Screamtracker 2 module sound data d224 1 a224 1 0 string ID3 Audio file with ID3 version 2 a226 32 >2584 string fLaC \b, FLAC encoding >>2588 byte&0x7f >0 \b, unknown version >>2588 byte&0x7f 0 \b # some common bits/sample values >>>2600 beshort&0x1f0 0x030 \b, 4 bit >>>2600 beshort&0x1f0 0x050 \b, 6 bit >>>2600 beshort&0x1f0 0x070 \b, 8 bit >>>2600 beshort&0x1f0 0x0b0 \b, 12 bit >>>2600 beshort&0x1f0 0x0f0 \b, 16 bit >>>2600 beshort&0x1f0 0x170 \b, 24 bit >>>2600 byte&0xe 0x0 \b, mono >>>2600 byte&0xe 0x2 \b, stereo >>>2600 byte&0xe 0x4 \b, 3 channels >>>2600 byte&0xe 0x6 \b, 4 channels >>>2600 byte&0xe 0x8 \b, 5 channels >>>2600 byte&0xe 0xa \b, 6 channels >>>2600 byte&0xe 0xc \b, 7 channels >>>2600 byte&0xe 0xe \b, 8 channels # some common sample rates >>>2597 belong&0xfffff0 0x0ac440 \b, 44.1 kHz >>>2597 belong&0xfffff0 0x0bb800 \b, 48 kHz >>>2597 belong&0xfffff0 0x07d000 \b, 32 kHz >>>2597 belong&0xfffff0 0x056220 \b, 22.05 kHz >>>2597 belong&0xfffff0 0x05dc00 \b, 24 kHz >>>2597 belong&0xfffff0 0x03e800 \b, 16 kHz >>>2597 belong&0xfffff0 0x02b110 \b, 11.025 kHz >>>2597 belong&0xfffff0 0x02ee00 \b, 12 kHz >>>2597 belong&0xfffff0 0x01f400 \b, 8 kHz >>>2597 belong&0xfffff0 0x177000 \b, 96 kHz >>>2597 belong&0xfffff0 0x0fa000 \b, 64 kHz >>>2601 byte&0xf >0 \b, >4G samples >2584 string !fLaC \b, MP3 encoding d239 1 a239 1 # Impulse tracker module (audio/x-it) a401 1 # Monkey's Audio compressed audio format (.ape) d403 8 a410 122 # New version from Abel Cheung 0 string MAC\040 Monkey's Audio compressed format >4 uleshort >0x0F8B version %d >>(0x08.l) uleshort =1000 with fast compression >>(0x08.l) uleshort =2000 with normal compression >>(0x08.l) uleshort =3000 with high compression >>(0x08.l) uleshort =4000 with extra high compression >>(0x08.l) uleshort =5000 with insane compression >>(0x08.l+18) uleshort =1 \b, mono >>(0x08.l+18) uleshort =2 \b, stereo >>(0x08.l+20) ulelong x \b, sample rate %d >4 uleshort <0x0F8C version %d >>6 uleshort =1000 with fast compression >>6 uleshort =2000 with normal compression >>6 uleshort =3000 with high compression >>6 uleshort =4000 with extra high compression >>6 uleshort =5000 with insane compression >>10 uleshort =1 \b, mono >>10 uleshort =2 \b, stereo >>12 ulelong x \b, sample rate %d # adlib sound files # From Gürkan Sengün , http://www.linuks.mine.nu 0 string RAWADATA RdosPlay RAW 1068 string RoR AMUSIC Adlib Tracker 0 string JCH EdLib 0 string mpu401tr MPU-401 Trakker 0 string SAdT Surprise! Adlib Tracker >4 byte x Version %d 0 string XAD! eXotic ADlib 0 string ofTAZ! eXtra Simple Music # Spectrum 128 tunes (.ay files). # From: Emanuel Haupt 0 string ZXAYEMUL Spectrum 128 tune 0 string \0BONK BONK, #>5 byte x version %d >14 byte x %d channel(s), >15 byte =1 lossless, >15 byte =0 lossy, >16 byte x mid-side 384 string LockStream LockStream Embedded file (mostly MP3 on old Nokia phones) # format VQF (proprietary codec for sound) # some infos on the header file available at : # http://www.twinvq.org/english/technology_format.html 0 string TWIN97012000 VQF data >27 short 0 \b, Mono >27 short 1 \b, Stereo >31 short >0 \b, %d kbit/s >35 short >0 \b, %d kHz # Nelson A. de Oliveira (naoliv@@gmail.com) # .eqf 0 string Winamp\ EQ\ library\ file %s # it will match only versions like v. # Since I saw only eqf files with version v1.1 I think that it's OK >23 string x \b%.4s # .preset 0 string [Equalizer\ preset] XMMS equalizer preset # .m3u 0 string #EXTM3U M3U playlist # .pls 0 string [playlist] PLS playlist # licq.conf 1 string [licq] LICQ configuration file # Atari ST audio files by Dirk Jagdmann 0 string ICE! SNDH Atari ST music 0 string SC68\ Music-file\ /\ (c)\ (BeN)jami sc68 Atari ST music # musepak support From: "Jiri Pejchal" 0 string MP+ Musepack audio >3 byte 255 \b, SV pre8 >3 byte&0xF 0x6 \b, SV 6 >3 byte&0xF 0x8 \b, SV 8 >3 byte&0xF 0x7 \b, SV 7 >>3 byte&0xF0 0x0 \b.0 >>3 byte&0xF0 0x10 \b.1 >>3 byte&0xF0 240 \b.15 >>10 byte&0xF0 0x0 \b, no profile >>10 byte&0xF0 0x10 \b, profile 'Unstable/Experimental' >>10 byte&0xF0 0x50 \b, quality 0 >>10 byte&0xF0 0x60 \b, quality 1 >>10 byte&0xF0 0x70 \b, quality 2 (Telephone) >>10 byte&0xF0 0x80 \b, quality 3 (Thumb) >>10 byte&0xF0 0x90 \b, quality 4 (Radio) >>10 byte&0xF0 0xA0 \b, quality 5 (Standard) >>10 byte&0xF0 0xB0 \b, quality 6 (Xtreme) >>10 byte&0xF0 0xC0 \b, quality 7 (Insane) >>10 byte&0xF0 0xD0 \b, quality 8 (BrainDead) >>10 byte&0xF0 0xE0 \b, quality 9 >>10 byte&0xF0 0xF0 \b, quality 10 >>27 byte 0x0 \b, Buschmann 1.7.0-9, Klemm 0.90-1.05 >>27 byte 102 \b, Beta 1.02 >>27 byte 104 \b, Beta 1.04 >>27 byte 105 \b, Alpha 1.05 >>27 byte 106 \b, Beta 1.06 >>27 byte 110 \b, Release 1.1 >>27 byte 111 \b, Alpha 1.11 >>27 byte 112 \b, Beta 1.12 >>27 byte 113 \b, Alpha 1.13 >>27 byte 114 \b, Beta 1.14 >>27 byte 115 \b, Alpha 1.15 # IMY # from http://filext.com/detaillist.php?extdetail=IMY # http://cellphones.about.com/od/cellularfaqs/f/rf_imelody.htm # http://download.ncl.ie/doc/api/ie/ncl/media/music/IMelody.html # http://www.wx800.com/msg/download/irda/iMelody.pdf 0 string BEGIN:IMELODY iMelody Ringtone Format # From: Matthew Flaschen 0 string #EXTM3U M3U playlist text @ 1.7 log @conflict therapy @ text @d401 11 @ 1.6 log @conflicts begone @ text @d18 10 d29 4 a32 4 >12 belong 24 compressed (8-bit G.722 ADPCM) >12 belong 25 compressed (3-bit G.723 ADPCM), >12 belong 26 compressed (5-bit G.723 ADPCM), >12 belong 27 8-bit A-law, d48 10 d59 4 @ 1.5 log @merge conflicts from 4.06 import @ text @d80 4 a83 3 0 string MTM MultiTracker Module sound file 0 string if Composer 669 Module sound data 0 string JN Composer 669 Module sound data (extended format) d86 2 a87 2 0 string FAR Module sound data >4 string >\15 Title: "%s" d324 36 a359 3 # FLAC audio stream # From: Dan Fandrich 0 string fLaC FLAC audio stream data d374 3 @ 1.4 log @post-import merge @ text @d46 6 a51 2 >9 byte >0 (format %d) >11 byte >1 using %d tracks @ 1.3 log @there is no conflict, you are receding @ text @d75 1 d77 4 a80 1 #0 string if Composer 669 Module sound data d82 2 a83 1 0 string MAS_U ULT(imate) Module sound data d85 1 a85 1 0 string Extended Module Extended Module sound data d96 1 a96 1 0 string JN extended 669 module data d99 1 d101 1 d103 2 d108 1 d110 1 d112 3 d116 1 d118 1 d120 1 d122 1 d124 1 d129 1 d131 1 d138 1 d140 1 d146 12 d172 19 a190 2 # Audio Visual Research 0 string 2BIT Audio Visual Research file d285 23 @ 1.2 log @Respect the law: Use A-law and mu-law as spellings as far as easily possible. Inspired by Igor Sobrado in PR 19680. @ text @d96 2 a97 1 21 string !SCREAM! Screamtracker 2 module sound data d104 1 a104 1 1080 string CD81 8-channel Oktalyzer module sound data d248 13 @ 1.1 log @Initial revision @ text @d11 1 a11 1 >12 belong 1 8-bit ISDN u-law, d18 1 a18 1 >12 belong 23 8-bit ISDN u-law compressed (CCITT G.721 ADPCM voice data encoding), d31 1 a31 1 >12 lelong 1 8-bit ISDN u-law, d38 1 a38 1 >12 lelong 23 8-bit ISDN u-law compressed (CCITT G.721 ADPCM voice data encoding), @ 1.1.1.1 log @file 4.00 @ text @@ 1.1.1.2 log @file 4.03 small changes & fixes @ text @d11 1 a11 1 >12 belong 1 8-bit ISDN mu-law, d18 1 a18 1 >12 belong 23 8-bit ISDN mu-law compressed (CCITT G.721 ADPCM voice data encoding), d31 1 a31 1 >12 lelong 1 8-bit ISDN mu-law, d38 1 a38 1 >12 lelong 23 8-bit ISDN mu-law compressed (CCITT G.721 ADPCM voice data encoding), d96 1 a96 2 21 string/c !SCREAM! Screamtracker 2 module sound data 21 string BMOD2STM Screamtracker 2 module sound data d103 1 a103 1 1080 string CD81 8-channel Octalyser module sound data a246 13 # (ISDN) VBOX voice message file (Wolfram Kleff) 0 string VBOX VBOX voice message data # ReBorn Song Files (.rbs) # David J. Singer 8 string RB40 RBS Song file >29 string ReBorn created by ReBorn >37 string Propellerhead created by ReBirth # Synthesizer Generator and Kimwitu share their file format 0 string A#S#C#S#S#L#V#3 Synthesizer Generator or Kimwitu data # Kimwitu++ uses a slightly different magic 0 string A#S#C#S#S#L#HUB Kimwitu++ data @ 1.1.1.3 log @file 4.04 fixes, patches and more magic @ text @a74 1 # fixed by 2003-06-24 d76 2 a77 2 0 string if Composer 669 Module sound data 0 string JN Composer 669 Module sound data (extended format) a78 4 0 string FAR Module sound data >4 string >\15 Title: "%s" d80 1 a80 1 >0 string >\0 Title: "%s" d91 1 a91 1 # added title printing on 2003-06-24 a93 1 a94 1 a95 2 >17 string >\0 Title: "%s" a98 1 >0 string >\0 Title: "%s" a99 1 >0 string >\0 Title: "%s" a100 3 >0 string >\0 Title: "%s" 1080 string FLT8 8-channel Startracker module sound data >0 string >\0 Title: "%s" a101 1 >0 string >\0 Title: "%s" a102 1 >0 string >\0 Title: "%s" a103 1 >0 string >\0 Title: "%s" a104 1 >0 string >\0 Title: "%s" a105 1 >0 string >\0 Title: "%s" a109 1 >0 string >\0 Title: "%s" a110 1 >0 string >\0 Title: "%s" a116 1 # added name,author,(c) and new RSID type by 2003-06-24 a117 1 a122 12 >0x16 string >\0 name: "%s" >0x36 string >\0 author: "%s" >0x56 string >\0 copyright: "%s" 0 string RSID RSID sidtune PlaySID compatible >4 beshort >0 w/ header v%d, >14 beshort =1 single song, >14 beshort >1 %d songs, >16 beshort >0 default song: %d >0x16 string >\0 name: "%s" >0x36 string >\0 author: "%s" >0x56 string >\0 copyright: "%s" d137 2 a138 19 # Audio Visual Research 0 string 2BIT Audio Visual Research file, >12 beshort =0 mono, >12 beshort =-1 stereo, >14 beshort x %d bits >16 beshort =0 unsigned, >16 beshort =-1 signed, >22 belong&0x00ffffff x %d Hz, >18 beshort =0 no loop, >18 beshort =-1 loop, >21 ubyte <=127 note %d, >22 byte =0 replay 5.485 KHz >22 byte =1 replay 8.084 KHz >22 byte =2 replay 10.971 Khz >22 byte =3 replay 16.168 Khz >22 byte =4 replay 21.942 KHz >22 byte =5 replay 32.336 KHz >22 byte =6 replay 43.885 KHz >22 byte =7 replay 47.261 KHz a232 23 # From: 2003-06-24 0 string AMShdr\32 Velvet Studio AMS Module v2.2 0 string Extreme Extreme Tracker AMS Module v1.3 0 string DDMF Xtracker DMF Module >4 byte x v%i >0xD string >\0 Title: "%s" >0x2B string >\0 Composer: "%s" 0 string DSM\32 Dynamic Studio Module DSM 0 string SONG DigiTrekker DTM Module 0 string DMDL DigiTrakker MDL Module 0 string PSM\32 Protracker Studio PSM Module 44 string PTMF Poly Tracker PTM Module >0 string >\32 Title: "%s" 0 string MT20 MadTracker 2.0 Module MT2 0 string RAD\40by\40REALiTY!! RAD Adlib Tracker Module RAD 0 string RTMM RTM Module 0x426 string MaDoKaN96 XMS Adlib Module >0 string >\0 Composer: "%s" 0 string AMF AMF Module >4 string >\0 Title: "%s" 0 string MODINFO1 Open Cubic Player Module Inforation MDZ 0 string Extended\40Instrument: Fast Tracker II Instrument @ 1.1.1.4 log @file 4.06 magic and bug fixes @ text @d46 2 a47 6 >8 beshort x (format %d) >10 beshort x using %d track >10 beshort >1 \bs >12 beshort&0x7fff x at 1/%d >12 beshort&0x8000 >0 SMPTE @ 1.1.1.5 log @file 4.08: bugfixes 'n more magic 'n stuff @ text @d80 3 a82 4 # Too short... #0 string MTM MultiTracker Module sound file #0 string if Composer 669 Module sound data #0 string JN Composer 669 Module sound data (extended format) d85 2 a86 2 #0 string FAR Module sound data #>4 string >\15 Title: "%s" d323 3 a325 36 # Free lossless audio codec # From: Przemyslaw Augustyniak 0 string fLaC FLAC audio bitstream data >4 byte&0x7f >0 \b, unknown version >4 byte&0x7f 0 \b # some common bits/sample values >>20 beshort&0x1f0 0x030 \b, 4 bit >>20 beshort&0x1f0 0x050 \b, 6 bit >>20 beshort&0x1f0 0x070 \b, 8 bit >>20 beshort&0x1f0 0x0b0 \b, 12 bit >>20 beshort&0x1f0 0x0f0 \b, 16 bit >>20 beshort&0x1f0 0x170 \b, 24 bit >>20 byte&0xe 0x0 \b, mono >>20 byte&0xe 0x2 \b, stereo >>20 byte&0xe 0x4 \b, 3 channels >>20 byte&0xe 0x6 \b, 4 channels >>20 byte&0xe 0x8 \b, 5 channels >>20 byte&0xe 0xa \b, 6 channels >>20 byte&0xe 0xc \b, 7 channels >>20 byte&0xe 0xe \b, 8 channels # some common sample rates >>17 belong&0xfffff0 0x0ac440 \b, 44.1 kHz >>17 belong&0xfffff0 0x0bb800 \b, 48 kHz >>17 belong&0xfffff0 0x07d000 \b, 32 kHz >>17 belong&0xfffff0 0x056220 \b, 22.05 kHz >>17 belong&0xfffff0 0x05dc00 \b, 24 kHz >>17 belong&0xfffff0 0x03e800 \b, 16 kHz >>17 belong&0xfffff0 0x02b110 \b, 11.025 kHz >>17 belong&0xfffff0 0x02ee00 \b, 12 kHz >>17 belong&0xfffff0 0x01f400 \b, 8 kHz >>17 belong&0xfffff0 0x177000 \b, 96 kHz >>17 belong&0xfffff0 0x0fa000 \b, 64 kHz >>21 byte&0xf >0 \b, >4G samples >>21 byte&0xf 0 \b >>>22 belong >0 \b, %u samples >>>22 belong 0 \b, length unknown a339 3 # From "Simon Hosie 0 string TFMX-SONG TFMX module sound data @ 1.1.1.6 log @file 4.10 minor fixes and improvements @ text @a17 10 >12 belong 8 Fragmented sample data, >12 belong 10 DSP program, >12 belong 11 8-bit fixed point, >12 belong 12 16-bit fixed point, >12 belong 13 24-bit fixed point, >12 belong 14 32-bit fixed point, >12 belong 18 16-bit linear with emphasis, >12 belong 19 16-bit linear compressed, >12 belong 20 16-bit linear with emphasis and compression, >12 belong 21 Music kit DSP commands, d19 4 a22 4 >12 belong 24 compressed (8-bit CCITT G.722 ADPCM) >12 belong 25 compressed (3-bit CCITT G.723.3 ADPCM), >12 belong 26 compressed (5-bit CCITT G.723.5 ADPCM), >12 belong 27 8-bit A-law (CCITT G.711), a37 10 >12 belong 8 Fragmented sample data, >12 belong 10 DSP program, >12 belong 11 8-bit fixed point, >12 belong 12 16-bit fixed point, >12 belong 13 24-bit fixed point, >12 belong 14 32-bit fixed point, >12 belong 18 16-bit linear with emphasis, >12 belong 19 16-bit linear compressed, >12 belong 20 16-bit linear with emphasis and compression, >12 belong 21 Music kit DSP commands, a38 4 >12 belong 24 compressed (8-bit CCITT G.722 ADPCM) >12 belong 25 compressed (3-bit CCITT G.723.3 ADPCM), >12 belong 26 compressed (5-bit CCITT G.723.5 ADPCM), >12 belong 27 8-bit A-law (CCITT G.711), @ 1.1.1.7 log @file 4.12 + assorted bug fixes + switch to 2-clause license @ text @a400 11 # From danny.milo@@gmx.net (Danny Milosavljevic) # monkeysaudio for magic.mime 0 string MAC\ X/Monkey audio, >4 leshort >0 version %d, >6 leshort >0 compression level %d, >8 leshort >0 flags %x, >10 leshort >0 channels %d, >12 lelong >0 samplerate %d, >24 lelong >0 frames %d @ 1.1.1.8 log @file 4.16 Changes since 4.13: * DragonFly ELF note support * read buffer dynamically allocated * Add -h flag and dereference symlinks if POSIXLY_CORRECT * Avoid search and regex buffer overflows * cross-compilation fixes * don't close stdin in the library. * search for elf notes in shared libraries too. Now with more magic than ever before! @ text @d134 1 a134 1 21 string/c =!SCREAM! Screamtracker 2 module sound data a411 33 # adlib sound files # From Gürkan Sengün , http://www.linuks.mine.nu 0 string RAWADATA RdosPlay RAW 1068 string RoR AMUSIC Adlib Tracker 0 string JCH EdLib 0 string mpu401tr MPU-401 Trakker 0 string SAdT Surprise! Adlib Tracker >4 byte x Version %d 0 string XAD! eXotic ADlib 0 string ofTAZ! eXtra Simple Music # Spectrum 128 tunes (.ay files). # From: Emanuel Haupt 0 string ZXAYEMUL Spectrum 128 tune # From: Alex Beregszaszi 0 string MP+ Musepack >3 byte&0x0f x SV%d 0 string \0BONK BONK, #>5 byte x version %d >14 byte x %d channel(s), >15 byte =1 lossless, >15 byte =0 lossy, >16 byte x mid-side 384 string LockStream LockStream Embedded file (mostly MP3 on old Nokia phones) @ 1.1.1.9 log @file 4.18 changes since 4.16: bugfixes, magic improvements, other minor improvements @ text @d28 1 a28 1 >12 belong 23 8-bit ISDN mu-law compressed (CCITT G.721 ADPCM voice enc.), d58 1 a58 1 >12 lelong 23 8-bit ISDN mu-law compressed (CCITT G.721 ADPCM voice enc.), d224 1 a224 1 0 string ID3 Audio file with ID3 version 2 a226 32 >2584 string fLaC \b, FLAC encoding >>2588 byte&0x7f >0 \b, unknown version >>2588 byte&0x7f 0 \b # some common bits/sample values >>>2600 beshort&0x1f0 0x030 \b, 4 bit >>>2600 beshort&0x1f0 0x050 \b, 6 bit >>>2600 beshort&0x1f0 0x070 \b, 8 bit >>>2600 beshort&0x1f0 0x0b0 \b, 12 bit >>>2600 beshort&0x1f0 0x0f0 \b, 16 bit >>>2600 beshort&0x1f0 0x170 \b, 24 bit >>>2600 byte&0xe 0x0 \b, mono >>>2600 byte&0xe 0x2 \b, stereo >>>2600 byte&0xe 0x4 \b, 3 channels >>>2600 byte&0xe 0x6 \b, 4 channels >>>2600 byte&0xe 0x8 \b, 5 channels >>>2600 byte&0xe 0xa \b, 6 channels >>>2600 byte&0xe 0xc \b, 7 channels >>>2600 byte&0xe 0xe \b, 8 channels # some common sample rates >>>2597 belong&0xfffff0 0x0ac440 \b, 44.1 kHz >>>2597 belong&0xfffff0 0x0bb800 \b, 48 kHz >>>2597 belong&0xfffff0 0x07d000 \b, 32 kHz >>>2597 belong&0xfffff0 0x056220 \b, 22.05 kHz >>>2597 belong&0xfffff0 0x05dc00 \b, 24 kHz >>>2597 belong&0xfffff0 0x03e800 \b, 16 kHz >>>2597 belong&0xfffff0 0x02b110 \b, 11.025 kHz >>>2597 belong&0xfffff0 0x02ee00 \b, 12 kHz >>>2597 belong&0xfffff0 0x01f400 \b, 8 kHz >>>2597 belong&0xfffff0 0x177000 \b, 96 kHz >>>2597 belong&0xfffff0 0x0fa000 \b, 64 kHz >>>2601 byte&0xf >0 \b, >4G samples >2584 string !fLaC \b, MP3 encoding d239 1 a239 1 # Impulse tracker module (audio/x-it) a401 1 # Monkey's Audio compressed audio format (.ape) d403 8 a410 20 # New version from Abel Cheung 0 string MAC\040 Monkey's Audio compressed format >4 uleshort >0x0F8B version %d >>(0x08.l) uleshort =1000 with fast compression >>(0x08.l) uleshort =2000 with normal compression >>(0x08.l) uleshort =3000 with high compression >>(0x08.l) uleshort =4000 with extra high compression >>(0x08.l) uleshort =5000 with insane compression >>(0x08.l+18) uleshort =1 \b, mono >>(0x08.l+18) uleshort =2 \b, stereo >>(0x08.l+20) ulelong x \b, sample rate %d >4 uleshort <0x0F8C version %d >>6 uleshort =1000 with fast compression >>6 uleshort =2000 with normal compression >>6 uleshort =3000 with high compression >>6 uleshort =4000 with extra high compression >>6 uleshort =5000 with insane compression >>10 uleshort =1 \b, mono >>10 uleshort =2 \b, stereo >>12 ulelong x \b, sample rate %d a444 62 # format VQF (proprietary codec for sound) # some infos on the header file available at : # http://www.twinvq.org/english/technology_format.html 0 string TWIN97012000 VQF data >27 short 0 \b, Mono >27 short 1 \b, Stereo >31 short >0 \b, %d kbit/s >35 short >0 \b, %d kHz # Nelson A. de Oliveira (naoliv@@gmail.com) # .eqf 0 string Winamp\ EQ\ library\ file %s # it will match only versions like v. # Since I saw only eqf files with version v1.1 I think that it's OK >23 string x \b%.4s # .preset 0 string \[Equalizer\ preset\] XMMS equalizer preset # .m3u 0 string \#EXTM3U M3U playlist # .pls 0 string \[playlist\] PLS playlist # licq.conf 1 string \[licq\] LICQ configuration file # Atari ST audio files by Dirk Jagdmann 0 string ICE! SNDH Atari ST music 0 string SC68\ Music-file\ /\ (c)\ (BeN)jami sc68 Atari ST music # musepak support From: "Jiri Pejchal" 0 string MP+ Musepack audio >3 byte 255 \b, SV pre8 >3 byte&0xF 0x6 \b, SV 6 >3 byte&0xF 0x8 \b, SV 8 >3 byte&0xF 0x7 \b, SV 7 >>3 byte&0xF0 0x0 \b.0 >>3 byte&0xF0 0x10 \b.1 >>3 byte&0xF0 240 \b.15 >>10 byte&0xF0 0x0 \b, no profile >>10 byte&0xF0 0x10 \b, profile 'Unstable/Experimental' >>10 byte&0xF0 0x50 \b, quality 0 >>10 byte&0xF0 0x60 \b, quality 1 >>10 byte&0xF0 0x70 \b, quality 2 (Telephone) >>10 byte&0xF0 0x80 \b, quality 3 (Thumb) >>10 byte&0xF0 0x90 \b, quality 4 (Radio) >>10 byte&0xF0 0xA0 \b, quality 5 (Standard) >>10 byte&0xF0 0xB0 \b, quality 6 (Xtreme) >>10 byte&0xF0 0xC0 \b, quality 7 (Insane) >>10 byte&0xF0 0xD0 \b, quality 8 (BrainDead) >>10 byte&0xF0 0xE0 \b, quality 9 >>10 byte&0xF0 0xF0 \b, quality 10 >>27 byte 0x0 \b, Buschmann 1.7.0-9, Klemm 0.90-1.05 >>27 byte 102 \b, Beta 1.02 >>27 byte 104 \b, Beta 1.04 >>27 byte 105 \b, Alpha 1.05 >>27 byte 106 \b, Beta 1.06 >>27 byte 110 \b, Release 1.1 >>27 byte 111 \b, Alpha 1.11 >>27 byte 112 \b, Beta 1.12 >>27 byte 113 \b, Alpha 1.13 >>27 byte 114 \b, Beta 1.14 >>27 byte 115 \b, Alpha 1.15 @ 1.1.1.10 log @file 4.20, contains fixes to the magic parser, new syntax and a buffer overflow fix @ text @d478 4 d507 1 a507 1 0 string [Equalizer\ preset] XMMS equalizer preset d509 1 a509 1 0 string #EXTM3U M3U playlist d511 1 a511 1 0 string [playlist] PLS playlist d513 1 a513 1 1 string [licq] LICQ configuration file a551 7 # IMY # from http://filext.com/detaillist.php?extdetail=IMY # http://cellphones.about.com/od/cellularfaqs/f/rf_imelody.htm # http://download.ncl.ie/doc/api/ie/ncl/media/music/IMelody.html # http://www.wx800.com/msg/download/irda/iMelody.pdf 0 string BEGIN:IMELODY iMelody Ringtone Format @ 1.1.1.11 log @file 4.21. bugfixes @ text @a554 4 # From: Matthew Flaschen 0 string #EXTM3U M3U playlist text @ 1.1.1.12 log @try-again for file-4.26 @ text @d1 1 a11 1 !:mime audio/basic a12 1 !:mime audio/basic a13 1 !:mime audio/basic a14 1 !:mime audio/basic a15 1 !:mime audio/basic a16 1 !:mime audio/basic a17 1 !:mime audio/basic a28 1 !:mime audio/x-adpcm a41 1 !:mime audio/x-dec-basic a42 1 !:mime audio/x-dec-basic a43 1 !:mime audio/x-dec-basic a44 1 !:mime audio/x-dec-basic a45 1 !:mime audio/x-dec-basic a46 1 !:mime audio/x-dec-basic a47 1 !:mime audio/x-dec-basic a58 1 !:mime audio/x-dec-basic a69 1 !:mime audio/midi a76 1 !:mime audio/x-unknown a77 1 !:mime audio/x-unknown a78 1 !:mime audio/x-unknown a98 1 !:mime audio/x-pn-realaudio a99 5 !:mime application/vnd.rn-realmedia #video/x-pn-realvideo #video/vnd.rn-realvideo #application/vnd.rn-realmedia # sigh, there are many mimes for that but the above are the most common. a121 10 # mime types according to http://www.geocities.com/nevilo/mod.htm: # audio/it .it # audio/x-zipped-it .itz # audio/xm fasttracker modules # audio/x-s3m screamtracker modules # audio/s3m screamtracker modules # audio/x-zipped-mod mdz # audio/mod mod # audio/x-mod All modules (mod, s3m, 669, mtm, med, xm, it, mdz, stm, itz, xmz, s3z) a127 2 !:mime audio/x-mod #audio/x-tracker-module a131 2 !:mime audio/x-mod #audio/x-tracker-module a134 2 !:mime audio/x-mod #audio/x-screamtracker-module a135 2 !:mime audio/x-mod #audio/x-screamtracker-module a136 2 !:mime audio/x-mod #audio/x-protracker-module a138 2 !:mime audio/x-mod #audio/x-protracker-module a140 2 !:mime audio/x-mod #audio/x-startracker-module a142 2 !:mime audio/x-mod #audio/x-startracker-module a144 2 !:mime audio/x-mod #audio/x-fasttracker-module a146 2 !:mime audio/x-mod #audio/x-fasttracker-module a148 2 !:mime audio/x-mod #audio/x-fasttracker-module a150 2 !:mime audio/x-mod #audio/x-octalysertracker-module d152 1 a152 3 1080 string OKTA 8-channel Octalyzer module sound data !:mime audio/x-mod #audio/x-octalysertracker-module a157 2 !:mime audio/x-mod #audio/x-taketracker-module a159 2 !:mime audio/x-mod #audio/x-taketracker-module d211 1 a211 1 >21 ubyte <128 note %d, d224 3 a226 5 0 string ID3 Audio file with ID3 version 2. # ??? Normally such a file is an MP3 file, but this will give false positives !:mime audio/mpeg >3 ubyte <0xff \b%d #>4 ubyte <0xff \b%d tag a272 1 !:mime audio/x-mod a382 1 !:mime audio/x-flac d505 1 a505 1 0 search/1 #EXTM3U M3U playlist text d507 1 a507 1 0 search/1 [playlist] PLS playlist text d556 3 a558 11 # From: "Mateus Caruccio" # guitar pro v3,4,5 from http://filext.com/file-extension/gp3 0 string \030FICHIER\ GUITAR\ PRO\ v3. Guitar Pro Ver. 3 Tablature # From: "Leslie P. Polzer" 60 string SONG SoundFX Module sound file # Type: Adaptive Multi-Rate Codec # URL: http://filext.com/detaillist.php?extdetail=AMR # From: Russell Coker 0 string #!AMR Adaptive Multi-Rate Codec (GSM telephony) @