Installing adlmidi in archlinux
Written By: Max
Date: December 2022
Updated: September 2023
Adlmidi is a midi player for Windows and Linux that emulates the OPL3 FM chip, making it possible to listen to MIDI files without an actual OPL3 card. To install it for archlinux, the easiest way is to install the libadlmidi-git (AUR) package. You can also build it yourself by cloning the Git hub repository. To play a file, type "adlmidiplay (filename)"
A full list of commands are included below. You can also type
adlmidiplay --help
in the terminal to display the commands.
Usage: adlmidi (midifilename) [ (options) ]
[ (bank) [ (numchips) [ (numfourops)] ] ]
-t Enables tremolo amplification mode
-v Enables vibrato amplification mode
-s Enables scaling of modulator volumes
-vm <num> Chooses one of volume models:
- 0 auto (default)
- 1 Generic
- 2 Native OPL3
- 3 DMX
- 4 Apogee Sound System
- 5 9x SB16
- 6 DMX (Fixed AM voices)
- 7 Apogee Sound System (Fixed AM voices)
- 8 Audio Interface Library (AIL)
- 9 9x Generic FM
- 10 HMI Sound Operating System
-frb Enables full-ranged CC74 XG Brightness controller
-nl Quit without looping
-w Write WAV file rather than playing
-mb Run the test of multibank over embedded. 62, 14, 68, and 74'th banks
will be combined into one
--solo ^lt;track> Selects a solo track to play
--only (track1,...,trackN) Selects a subset of tracks to play
--song (song ID 0...N-1) Selects a song to play (if XMI)
-ea Enable the auto-arpeggio
-fp Enables full-panning stereo support
--emu-nuked Uses Nuked OPL3 v 1.8 emulator
--emu-nuked7 Uses Nuked OPL3 v 1.7.4 emulator
--emu-dosbox Uses DosBox 0.74 OPL3 emulator
--emu-opal Uses Opal OPL3 emulator
--emu-java Uses Java OPL3 emulator
Where (bank) - number of embeeded bank or filepath to custom WOPL bank file
Note: To create WOPL bank files use OPL Bank Editor you can get here.
Available embedded banks by number
- 0 = AIL (Star Control 3, Albion, Empire 2, etc.)
- 1 = Bisqwit (selection of 4op and 2op)
- 2 = HMI (Descent, Asterix)
- 3 = HMI (Descent:: Int)
- 4 = HMI (Descent:: Ham)
- 5 = HMI (Descent:: Rick)
- 6 = HMI (Descent 2)
- 7 = HMI (Normality)
- 8 = HMI (Shattered Steel)
- 9 = HMI (Theme Park)
- 10 = HMI (3d Table Sports, Battle Arena Toshinden)
- 11 = HMI (Aces of the Deep)
- 12 = HMI (Earthsiege)
- 13 = HMI (Anvil of Dawn)
- 14 = DMX (Doom 2)
- 15 = DMX (Hexen, Heretic)
- 16 = DMX (DOOM, MUS Play)
- 17 = AIL (Discworld, Grandest Fleet, etc.)
- 18 = AIL (Warcraft 2)
- 19 = AIL (Syndicate)
- 20 = AIL (Guilty, Orion Conspiracy, TNSFC ::4op)
- 21 = AIL (Magic Carpet 2) :NON-GM:
- 22 = AIL (Nemesis)
- 23 = AIL (Jagged Alliance) :NON-GM:
- 24 = AIL (When Two Worlds War) :MISS-INS:
- 25 = AIL (Bards Tale Construction) :MISS-INS:
- 26 = AIL (Return to Zork) :NON-GM:
- 27 = AIL (Theme Hospital)
- 28 = AIL (National Hockey League PA)
- 29 = AIL (Inherit The Earth) :NON-GM:
- 30 = AIL (Inherit The Earth, file two) :NON-GM:
- 31 = AIL (Little Big Adventure) :4op:
- 32 = AIL (Wreckin Crew) :NON-GM:
- 33 = AIL (Death Gate)
- 34 = AIL (FIFA International Soccer)
- 35 = AIL (Starship Invasion)
- 36 = AIL (Super Street Fighter 2 :4op:)
- 37 = AIL (Lords of the Realm) :MISS-INS:
- 38 = AIL (SimFarm, SimHealth) :4op:
- 39 = AIL (SimFarm, Settlers, Serf City)
- 40 = AIL (Caesar 2) :p4op: :MISS-INS:
- 41 = AIL (Syndicate Wars) :NON-GM:
- 42 = AIL (Bubble Bobble Feat. Rainbow Islands, Z)
- 43 = AIL (Warcraft) :NON-GM:
- 44 = AIL (Terra Nova Strike Force Centuri) :p4op:
- 45 = AIL (System Shock) :p4op:
- 46 = AIL (Advanced Civilization)
- 47 = AIL (Battle Chess 4000) :p4op: :NON-GM:
- 48 = AIL (Ultimate Soccer Manager :p4op:)
- 49 = AIL (Air Bucks, Blue And The Gray, etc) :NON-GM:
- 50 = AIL (Ultima Underworld 2) :NON-GM:
- 51 = AIL (Kasparov's Gambit) :NON-GM:
- 52 = AIL (High Seas Trader) :MISS-INS:
- 53 = AIL (Master of Magic) :4op:
- 54 = AIL (Master of Magic) :4op: orchestral drums
- 55 = SB (Action Soccer)
- 56 = SB (3d Cyberpuck :: melodic only)
- 57 = SB (Simon the Sorcerer :: melodic only)
- 58 = OP3 (The Fat Man 2op set; Win9x)
- 59 = OP3 (The Fat Man 4op set)
- 60 = OP3 (JungleVision 2op set :: melodic only)
- 61 = OP3 (Wallace 2op set, Nitemare 3D :: melodic only)
- 62 = TMB (Duke Nukem 3D)
- 63 = TMB (Shadow Warrior)
- 64 = DMX (Raptor)
- 65 = SB (Modded GMOPL by Wohlstand)
- 66 = SB (Jamie O'Connell's bank)
- 67 = TMB (Apogee Sound System Default bank) :broken drums:
- 68 = WOPL (4op bank by James Alan Nguyen and Wohlstand)
- 69 = TMB (Blood)
- 70 = TMB (Rise of the Triad)
- 71 = TMB (Nam)
- 72 = WOPL (DMXOPL3 bank by Sneakernets)
- 73 = EA (Cartooners)
- 74 = WOPL (Apogee IMF 90-ish)
- 75 = The Lost Vikings
- 76 = DMX (Strife)
- 77 = WOPL (MS-AdLib, Windows 3.x)
Use banks 2-5 to play Descent "q" soundtracks.
Look up the relevant bank number from descent.sng.
The fourth parameter can be used to specify the number
of four-op channels to use. Each four-op channel eats the room of two regular channels. Use as many as required.
The Doom & Hexen sets require one or two, while Miles four-op set requires the maximum of numcards*6.
For further information, see https://github.com/Wohlstand/libADLMIDI.