Reads and outputs FM parameters contained within DefleMask's DMP files
Project description
DefleMask Preset Viewer
Reads DMP files and displays the stored parameters
Usage
$ python3 -m src tests/sample.dmp
Version 8 FM Unknown
Algorithm 3 LFO FMS 0
Feedback 0 LFO AMS 0
Operator 1 2 3 4
MUL 14 1 0 0
TL 39 24 24 19
AR 31 31 31 31
DR 15 14 9 9
SL 14 14 14 14
RR 15 15 15 15
AM 0 0 0 0
RS 2 0 0 0
DT 3 3 3 3
D2R 0 0 0 0
SSG 0 0 0 0
It can also generate C code for inclusion in the Mega Drive MIDI Interface project. Specify -c
to output parameters in this way:
$ python3 -m src tests/sample.dmp -c
static const Channel SAMPLE = { 3, 0, 3, 0, 0, 0, 0,
{ 14, 3, 31, 2, 15, 0, 14, 0, 15, 39 },
{ 1, 3, 31, 0, 14, 0, 14, 0, 15, 24 },
{ 0, 3, 31, 0, 9, 0, 14, 0, 15, 24 },
{ 0, 3, 31, 0, 9, 0, 14, 0, 15, 19 } };
Supported Versions
Only supports 8 and 11 versions of the DMP format.
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.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c46bee5fea0941cdd459d6e80ae19ab904356fcdbac6d409d57fe74f043ae98 |
|
MD5 | ea86b534fab03e6193ef476772597825 |
|
BLAKE2b-256 | 7f0672a9cb9f15c400940b9add7599036ddcdf72f2626bc50cbb6fbd86ef7994 |
Close
Hashes for deflemask_preset_viewer-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61cdad9ac1a3e3cdce94ae96615f109ca85948d1cc7ff77d3c5ed70dc1838207 |
|
MD5 | 58451214a917a285ff9eba1757d0860b |
|
BLAKE2b-256 | cceb555ce7fc3cad43b80f36b4e04618b39094727e7eb312c74920d7309855bc |