Reads and outputs FM parameters contained within DefleMask's DMP files
Project description
DefleMask Preset Viewer
Reads DMP files and displays the stored parameters
Installation
$ pip3 install deflemask-preset-viewer
Usage
$ deflemask-preset-viewer 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:
$ deflemask-preset-viewer 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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1cd9a9d03e104a974553c2aa597f126bbcc2c22186fa1f631e20018fb2a6d7c |
|
MD5 | 400154fe985477af5726c887703c4658 |
|
BLAKE2b-256 | 9194e8f82640c5c14c2e9e02eacc17d3ace8a66d55dd3665f182e9c51cee0b2c |
Close
Hashes for deflemask_preset_viewer-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f42f632c894a76b64f543551c8ccf6ac5d313188ce99860967433eff392a0b4 |
|
MD5 | 31f58a4b1b8b0a8231bddce3c805337f |
|
BLAKE2b-256 | a74dacb1f31727acb09401f1cf14be4032448bda2934b72c7e696cf5cf60c607 |