Metadata-Version: 2.1
Name: deflemask-preset-viewer
Version: 0.0.9
Summary: Reads and outputs FM parameters contained within DefleMask's DMP files
Home-page: https://github.com/rhargreaves/deflemask-preset-viewer
Author: Robert Hargreaves
Author-email: python-package@roberthargreaves.net
License: UNKNOWN
Description: # DefleMask Preset Viewer [![CircleCI](https://circleci.com/gh/rhargreaves/deflemask-preset-viewer.svg?style=svg)](https://circleci.com/gh/rhargreaves/deflemask-preset-viewer) [![PyPI version](https://badge.fury.io/py/deflemask-preset-viewer.svg)](https://badge.fury.io/py/deflemask-preset-viewer)
        
        Reads DMP files and displays the stored parameters
        
        ## Installation
        
        ```
        $ pip3 install deflemask-preset-viewer
        ```
        
        ## Usage
        
        ```sh
        $ 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](https://github.com/rhargreaves/mega-drive-midi-interface) project. Specify `-c` to output parameters in this way:
        
        ```sh
        $ 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
        
        ```sh
        $ make test
        ```
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Multimedia :: Sound/Audio
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
