2xAA / genmdm-editor

A web-based interface for genMDM, a MIDI controller for the Sega Mega Drive and Genesis. Also supports Mega Drive MIDI Interface.

Home Page:https://2xaa.github.io/genmdm-editor/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

genMDM Editor

genmdm-editor logo

Maintenance License: MIT

genMDM editor is a GUI for genMDM, a MIDI controller for the Sega Mega Drive and Genesis.
Also fully compatible with Mega Drive MIDI Interface.

Screenflick.Movie.10.mp4

About genMDM Editor

genMDM Editor is a desktop executable and a webpage.

The webpage works in Firefox (starting at Firefox version 99) and Chromuim based browsers.
Chromium based browsers include Google Chrome, Opera, Brave and Microsoft Edge.

Using genMDM on iOS/iPadOS is possible using Web MIDI Browser, found here: apps.apple.com/app/web-midi-browser

genMDM Editor is compatible with both the genMDM, by little-scale, and the MDMI (Mega Drive MIDI Interface), by Robert Hargreaves. This Readme will refer to both interfaces as "your Sega", for convinience.

Using genMDM Editor

Quickstart

Check out the overview video on how to use the editor: youtu.be/btzQHaF8cU4

Getting genMDM Editor

Desktop

Download the latest desktop release at genmdm-editor/releases/latest.

Web

Navigate to 2xaa.github.io/genmdm-editor.

Mega Drive MIDI Interface Compatibility

If using MDMI (Mega Drive MIDI Interface), ensure the "MDMI Compatibility" option is turned on after connecting the MDMI. The option sends a SysEx message to MDMI to invert the operator's Total Levels, as GenMDM does.

With the "MDMI Compatibility" option turned on, changing channels in the editor informs MDMI to show the channel's settings on the video output. More information: mega-drive-midi-interface/wiki/UI-Features

File Formats

.genm Format

The genMDM Editor was build around the .genm file format, which can hold 128 genMDM instruments. Each instrument in the .genm file can store every parameter of the genMDM instrument.

The .genm format does not include any of the editor settings, the global settings or the DAC Control settings.

More information: little-scale.blogspot.com/genm-file-format

.genm load/save

Pressing the "LOAD GENM" button will open a file browser to choose a .genm file to load. Loading a .genm file will overwrite the current patches in the editor. It will not load anything to the current channel.

Pressing the "SAVE GENM" button will open a file browser to choose where to save a .genm file containing all the patches in the editor's patch list.

Instrument Files

genMDM Editor can import and export .tfi, .dmp and .y12 formats using their corresponding "IMPORT" and "EXPORT" buttons.

The "IMPORT" buttons will open a file browser to load an instrument to the current channel - it does not write to the patch slot.

The "EXPORT" buttons will open a file browser to save the current channel's parameters to the selected instrument file format - it does not read from the patch slot.

Format Information Pitfalls
.dmp .dmp is Deflemask's instrument format. It's a multi-system format, so not all patches can be imported into genMDM Editor - only those which were saved from the Sega Genesis system in Deflemask. Doesn't hold the stereo configuration option.
.tfi .tfi is TFM Music Maker's instrument format. Doesn't hold AM or FM LFO parameters or stereo configuation.
.y12 .y12 is a format for storing YM2612 FM preset data, similar to .tfi Doesn't hold AM or FM LFO parameters or stereo configuation.

.ged format

This is a format for the genMDM Editor's internal state. It uses compress-json to serialise the internal state to a file. It contains the entire application state, including patches and editor settings.

State

Neither genMDM or MDMI save their session state when powered off, but genMDM Editor does.

Autosave

genMDM Editor saves your editor state automatically, so if your Sega loses power, crashes, etc., your state can be restored by plugging in your Sega, selecting it in the MIDI Output dropdown and pressing the "Send State" button.

Load/Save

genMDM Editor's state can be saved to a file at any time by pressing the "Save State" button.

The .ged files can be loaded back into the editor with the "Load State" button. Loading a .ged file will overwrite the editor's autosaved state immediately. If you want to sync this state to your Sega, press the "Send State" button.

MIDI

MIDI CC

The genMDM Editor UI reacts to incoming MIDI CC messages. It is recommended to route all MIDI messages to the Sega through genMDM Editor to keep the UI in sync.

Find genMDM's MIDI CC parameters here: catskullelectronics.com/products/genmdm

Find MDMI's MIDI CC parameters here:

MIDI Note Polyphony

genMDM does not support polyphony, though MDMI does the editor currently does not use this.

If "Polyphony Enable" is turned on, the "MIDI Input" device selected in the editor will have its notes spread over the output MIDI channels, starting from channel 1 up to the limit set by "Max Poly. Channels" (minimum 2, maximum 6).

When "Polyphony Enable" is turned on, changes to the instrument are copied automatically over the polyphony channels.

Support

If you have any questions that aren't covered in the linked video, please start a discussion at genmdm-editor/discussions.

Project development setup

yarn

Compiles and hot-reloads for development in the browser

yarn serve

Builds for browser release

yarn build

Compiles and hot-reloads for development with Electron

yarn electron:serve

Builds for electron release

yarn electron:build

Contributing

Contributions, issues and feature requests are welcome!

Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

Consider sponsoring me on GitHub: https://github.com/sponsors/2xAA.

License

Copyright © 2023 2xAA.

This project is MIT licensed.

About

A web-based interface for genMDM, a MIDI controller for the Sega Mega Drive and Genesis. Also supports Mega Drive MIDI Interface.

https://2xaa.github.io/genmdm-editor/

License:MIT License


Languages

Language:Vue 45.2%Language:HTML 23.9%Language:JavaScript 16.8%Language:CSS 14.1%