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 can be used to make music for the PC-98, PC-88, X68000, and FM Towns. It's the most used tool to make music for the PC-x801 series, notable examples are Touhou Project and Grounseed.

It has a series of additions in comparison to other tools used to make music in those platforms that would make coding much easier, such as predefined SSG drums, envelopes and the possibility of using macros, and one of the reasons for being popular was the low amount of RAM used, so it wouldn't slow down the games.

'[#[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]

Check '[l[http://delmunsoft.com/PMD%20Programming.html[Noyemi K.'s PMD Guide] which has some basic information, and once you feel like you've learned enough from that, read the '[l[https://pigu-a.github.io/pmddocs/pmdmml.htm[Translation of PMDMML.MAN by Blaze and Pigu] for more info or check the list of '[[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[http://www.crescendi.at-ninja.jp/software.html[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