Skip to main content

Reads and outputs FM parameters contained within DefleMask's DMP files

Project description

DefleMask Preset Viewer CircleCI

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

deflemask-preset-viewer-0.0.5.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

deflemask_preset_viewer-0.0.5-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file deflemask-preset-viewer-0.0.5.tar.gz.

File metadata

  • Download URL: deflemask-preset-viewer-0.0.5.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for deflemask-preset-viewer-0.0.5.tar.gz
Algorithm Hash digest
SHA256 40779a2166e86e2070b6b18de7713c8f42cb68570bffab80d898d622d0d5b6ed
MD5 2d80ae0f20265c3e9744e1016fb5c69f
BLAKE2b-256 118c4471c1645f7bf1a839c7e09ed50f4a190a3f63c3e5550e2483606d8a6b30

See more details on using hashes here.

File details

Details for the file deflemask_preset_viewer-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: deflemask_preset_viewer-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for deflemask_preset_viewer-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 31babec6e0de1b07d8dc2d2108044a51accaa7fe11aec0c6a533824881af365d
MD5 868c45e4f64b18b027c82fd24ed5e94f
BLAKE2b-256 b805adf5c8712ebd4fff128522d260a96f814bfbc0a607702650cd1f7f44c1a4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page