'This revision is from 2016/07/26 13:01. You can Restore it.'
The YM2203 (OPN) and YM2608 (OPNA) are sound chips found in the NEC Japanese computers.
You can get a good tutorial about PMD98 on Noyemi K's website: pmd98 setup and pmd98 programming.
Here are some memo and additions:
FM instruments are defined this way:
Shortcut | Name | Range |
No | Reference number | 0~255 |
AR | Attack Rate | 0~31 |
DR | Decay Rate | 0~31 |
SR | Sustain Rate | 0~31 |
RR | Release Rate | 0~15 |
SL | Sustain Level | 0~15 |
TL | Total Level | 0~127 |
KS | Key Scale | 0~3 |
ML | Multiple | 0~15 |
DT | Detune | 0~7 |
AM | AMS Enable | 0~1 |
AL | Connection | 0~7 |
FB | Self Feedback | 0~7 |
For example, a flute:
; nm alg fb @001 003 007 = Flute ; ar dr sr rr sl tl ks ml dt ams 028 005 003 006 014 042 003 012 007 000 011 007 000 006 015 051 001 008 000 000 014 002 000 006 002 048 003 004 003 000 012 016 000 007 001 000 002 004 000 000
a bass:
; nm alg fb @002 002 004 = Jazz Fretless Bass ; ar dr sr rr sl tl ks ml dt ams 031 026 015 015 015 019 001 007 000 000 031 014 015 015 015 028 002 001 000 000 031 000 000 015 002 026 003 000 000 000 031 000 000 015 001 012 004 001 000 000
To convert your music into MML for PMD-98, you can use deflemask for designing the instruments (in DefleMask: A!ar ; D = dr ; S = sl ; MULT = ml ; R RR ...) and 3ML editor for exporting from midi. Just export tracks individually using the "Mabinogi MML format", and uncheck the "optimize MML" option. (remove the MML@
before the notes).
a sample MML file for using with PMD-98:
;
; Name ;
#Title The Title #Composer The author #Arranger The author #Memo OPN Version #Detune Extend #Tempo 60 #Filename .M2 ;
; Melody Instruments ;
; nm alg fb @001 003 007 = Flute ; ar dr sr rr sl tl ks ml dt ams 028 005 003 006 014 042 003 012 007 000 011 007 000 006 015 051 001 008 000 000 014 002 000 006 002 048 003 004 003 000 012 016 000 007 001 000 002 004 000 000 ; deflemask: A!ar ; D = dr ; S = sl ; MULT ml ; R = RR ; ; http://deflemask.com/DMP_SPECS.txt ;
; Percussion Instruments ;
;!!!!= ; Rhythm Macros ;!!!!= ;!!!!= ; Song Sequence ;!!!!= ABCD l16 A @001 v10 A o3 A your mml sequence B @005 v10 B o3 B your mml sequence C @002 v13 C o3 C your mml sequence D @004 v15 D o5 D your mml sequence ; NOTES ; No 音色番号 0~255 - ; AR Attack Rate 0~31 - ; DR Decay Rate 0~31 - ; SR Sustain Rate 0~31 - ; RR Release Rate 0~15 - ; SL Sustain Level 0~15 - ; TL Total Level 0~127 - ; KS Key Scale 0~3 - ; ML Multiple 0~15 - ; DT Detune 0~7 - ; AM AMS Enable 0~1 - ; AL Connection 0~7 - ; FB Self Feedback 0~7 - ; ABCDEF: FM channels ; GHI: SSG channels
Additional links:
- get pmd98
- get fmpmd2000e.exe player
- Noyemi K's website
- https://en.touhouwiki.net/wiki/User:Mamizou/Music_Dev/PMD/Pmdmml
- Convert midi to mml: http://3ml.jp/download.html