Reads and outputs FM parameters contained within DefleMask's DMP files as well as libOPNMIDI WOPN files
Project description
DefleMask Preset Viewer
Reads Deflemask preset files (DMP) and displays the stored parameters. Also supports dumping of bank and instrument data of WOPN files as used by libOPNMIDI
Supported Formats
- DefleMask preset versions 8 and 11
- WOPN versions 1 and 2
Installation
$ pip3 install deflemask-preset-viewer
Usage
DMP files
$ deflemask-preset-viewer deflemask_preset_viewer/tests/data/sample.dmp
Version 8 FM Unknown
Algorithm 3 LFO FMS 0
Feedback 0 LFO AMS 0
------------------------------------------------------------
Parameter Op 1 Op 2 Op 3 Op 4
------------------------------------------------------------
MUL 14 1 0 0
TL 39 24 24 19
AR 31 31 31 31
D1R 15 14 9 9
D1L 14 14 14 14
RR 15 15 15 15
AM 0 0 0 0
RS 2 0 0 0
DT1 3 3 3 3
D2R 0 0 0 0
SSG 0 0 0 0
WOPN files
$ deflemask-preset-viewer deflemask_preset_viewer/tests/data/sample.wopn
WOPN
M_Banks 2
P_Banks 5
LFO On
LFO Freq 1
============================================================
M. Bank 0 Standard :3
============================================================
============================================================
Instrument 0 * GrandPiano
============================================================
Algorithm 2 LFO FMS 0
Feedback 0 LFO AMS 0
------------------------------------------------------------
Parameter Op 1 Op 2 Op 3 Op 4
------------------------------------------------------------
MUL 1 4 2 1
TL 39 36 4 2
AR 26 24 31 27
D1R 7 9 23 4
D1L 7 6 9 10
RR 1 7 1 6
AM 0 0 0 0
RS 1 1 3 2
DT1 0 6 7 3
D2R 4 9 15 4
SSG 0 0 0 0
============================================================
Instrument 1 * BrightPiano
============================================================
Algorithm 5 LFO FMS 0
Feedback 7 LFO AMS 0
------------------------------------------------------------
...
It can also generate C code for inclusion in the Mega Drive MIDI Interface project. Specify -c
to output parameters in this way:
$ deflemask-preset-viewer deflemask_preset_viewer/tests/data/sample.dmp -c
static const Channel SAMPLE = { 3, 0, 3, 0, 0, 0, 0,
{ 14, 3, 31, 2, 15, 0, 14, 0, 15, 39, 0 },
{ 1, 3, 31, 0, 14, 0, 14, 0, 15, 24, 0 },
{ 0, 3, 31, 0, 9, 0, 14, 0, 15, 24, 0 },
{ 0, 3, 31, 0, 9, 0, 14, 0, 15, 19, 0 } };
Build & Test
$ make test
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for deflemask-preset-viewer-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2ae025cc8a291bb5c917677e68b879dbd7980047ce0082f9b9201890a39f0ac |
|
MD5 | ec1cb51742ebb3d6abd2ea80bc324238 |
|
BLAKE2b-256 | 0189ace51afeffa47fd2faae64f63909e4bc9b8f857531c70224859375d71292 |
Close
Hashes for deflemask_preset_viewer-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4507d276a5cca1551e61cc68e98492ddaeb0263af9db34374052e337a991a85d |
|
MD5 | 43cd04ece6d44181ae6249dce9051d11 |
|
BLAKE2b-256 | 378e7e76419c6813884bcf5c0507b0930acdeae2bf3144a4645c6a6fb2bfab92 |