Article History
 
 
 
Discussion
 
21175 views
 
58% pedipanol
Professional Music Driver (PMD) View HTML Version
 

Professional Music Driver (PMD) is a music driver developed by M.Kajihara which utilizes '[[MML] (Music Macro Language) to create music files for most japanese computers of the 80's and early 90's.

'[#[Noteable Characteristics]

PMD is a driver used for making music for the PC-98, PC-88, X68000, FM Towns and IBM PCs. Being a consumer-grade driver allowed it to be used for many games, becoming one of the most popular drivers at the time, along with FMP. Notable examples of games using it are Touhou Project and Grounseed. Some of its unique features include:

-SSG-EG (FM Only)
-FM3 Expanded Mode Support
-SSG Drum sequencer
-Support for ADPCM-B or 86PCM depending on the soundboard
-SSG PCM (On channel 3 only, can do dual PCM with loss in quality)
-PPZ8 (8-channel software PCM driver for the 86 soundboard)

'[#[Setting up PMD]
Things you're gonna need:

'[b]Windows:'[/b]
Download '[l[https://github.com/kuma4649/PMDDotNET/releases[PMDDotNET] and extract it. You can run it by dragging the .mml file into the PMDDotNETConsole.exe or run it from commandline (recommended). It's advised to rename it to mc.exe for ease of use.

From the same creator, '[l[https://github.com/kuma4649/mml2vgm/releases/latest[MML2VGM] is a really useful tool on which you can script songs in PMD format and them with a single button press, even highlighting the notes for easy visualization. Unfortunately it's not fully translated into English.

'[b]DOS EMULATION:'[/b]
You will need:
1 - '[l[https://sites.google.com/site/kajapon/pmd[MC.exe]
2 - A MS-DOS Emulator for running MC.exe (not needed if you're using Windows XP or earlier)
3 - A music player of your choice

First, get all the dependencies. Extract the MC compiler kit to some directory. You can't run these in windows, so you'll need to setup a MS-DOS emulator to work on that folder.

To compile your MML file, all you'll need to do is type in MC /v/c [yourfilehere].

This will give you a .M or a .M2, depending on what you wrote for the preprocessor in the actual MML file. You can play these back with '[[FMPMD2000] or any playback program of your choice.

Notes:

• For DOS users, a '[l[https://drive.google.com/open?id=1fSH39Vr97_29tvjni6H7WXJlxH_HmZx0[translated of MC.EXE by Mana, Pigu and VasteelXolotl] is available, with the error messages translated to English. PMDDotNET already has a translation.
• The /v option is what writes the FM instruments to the output. If you don't specify this on MC or on your script, your file will not make sound!

'[l[https://github.com/rerrahkr/pmdfilewatcher[PMD File Watcher] is a tool that makes the compile-and-play process much easier. To use it, just:
	1 - Download it '[l[https://github.com/rerrahkr/PMDFileWatcher/releases[here] and run it after extracting.
	2 - On File->Settings, select the MML compiler. If using MS DOS Player, select it as well. On Options, type "/v /c", and disable the notification sound if desired.
	3 - After that, all you have to do is load the MML file you're working on and press Start. As long as it's active, every time you save your mml file, it'll automatically compile (and play the file, if you set that up). [note that you can't load hoot on this]

'[#[Learning PMD MML]

- '[l[https://mml-guide.readthedocs.io[pedipanol's guide to PMD MML]
- '[l[https://pigu-a.github.io/pmddocs/pmdmml.htm[Translation of the original MML documentation by Blaze and Pigu] 
- '[[Professional Music Driver Effects Commands]

'[#[Converters]

'[[dmf2pmd.py] is a tool that converts deflemask DMF modules to PMD.

'[l[https://github.com/jangler/s3mml[S3MML] is a tool that converts S3M files to PMD-compatible MML. While it's intended to use with Scream Tracker 3 (using it will require no additional setup), any S3M module that follow the limitations will work (though you will need to set up the instruments on your own).

'[l[https://github.com/rerrahkr/ConvFMML[convfmml] is a tool that converts MIDI files to many MML formats, PMD included. You need to change the settings to that, though, besides having to set up the MML for instruments, song properties and etc. Remember to make each midi channel monophonic though.

'[l[https://github.com/raphaelgoulart/opm2pmd/releases/[opm2pmd] is a tool that converts .OPM files to PMD instruments

 
C A T E G O R I E S
 
 
Helper Tools