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, 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 } };
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.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bcfb3a191a2778d9c519c4f87e561239d47d22652ffca8ff4ad5cbb0c9c3256 |
|
MD5 | a04e74f4d04440b2f7731b5fb8f815ff |
|
BLAKE2b-256 | c39746117bd80aa4b158feff0973c18ab2fca0c0907d6ac3f26dffbaa9b6dea7 |
Close
Hashes for deflemask_preset_viewer-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1da97e3723b62b7cb01b22942f00f7685db60ebf89cf1aba812576688430ef0e |
|
MD5 | b2451e8e98b0d72486bff934d41d315c |
|
BLAKE2b-256 | 790edd62807eb2e3c3156f3b09fee76a1bd3558b86bf79f9e5f24d2dd90f7ddd |