- Notifications
You must be signed in to change notification settings - Fork9
superctr/mmlgui
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
MML (Music Macro Language) editor and compiler GUI. Powered by thectrmml framework.
- MML text editor with instant feedback
- Supports Sega Mega Drive sound chips (YM2612, SN76489)
- Visualization of MML tracks
- Highlights currently playing notes in the editor window
- VGM and MDS file export
- Supports channel muting/isolation
- Configuration window
- Support more sound chips
- More track visualizations
For Windows (or Wine) users, you can download the latest automatic build fromhere
Feel free to join theDiscord serverif you have any questions or feedback.
Seectrmml/mml_ref.md for an MML reference.
First, make sure all submodules have been cloned. If you didn't clone this repositorywithgit clone --recurse-submodules
, do this:
git submodule update --init
Make sure you have the following packages installed: (this list might not be 100% correct)
glfw
You also need to havepkg-config
(or a compatible equivalent such aspkgconf
) installed.
Notice that there is no need to install libvgm for CMake builds, as it is built by the mmlgui target.
mkdir build && cd buildcmake ..cmake --build ../mmlgui
To build a debug or release version, add-DCMAKE_BUILD_TYPE=Debug
or-DCMAKE_BUILD_TYPE=Release
to the firstcmake call.
Note that once cmake has setup the build environment, it is only needed to callcmake --build .
for successive builds.
The makefile is currently used for static linked builds for Windows as well as for address sanitizer builds.Once these features are integrated in the CMake build, the makefiles will most likely be removed.
First, make sure all submodules have been cloned. If you didn't clone this repositorywithgit clone --recurse-submodules
, do this:
git submodule update --init
Make sure you have the following packages installed: (this list might not be 100% correct)
glfw libvgm
If libvgm is not available on your system, you need to install it manually. Example:
mkdir build && cd buildcmake ..makesudo make install
TheCMAKE_INSTALL_PREFIX
should of course match where your MSYS2/MinGW install folder is.
mkdir build && cd buildcmake .. -G "MSYS Makefiles" -D AUDIODRV_LIBAO=OFF -D CMAKE_INSTALL_PREFIX=/mingw64makemake install
Once all prerequisites are installed, it should be as easy as
make
To build a release binary, addRELEASE=1
.
© 2020-2021 Ian Karlsson
This program is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation; either version 2 of the License, or(at your option) any later version.This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU General Public License for more details.You should have received a copy of the GNU General Public License alongwith this program; if not, write to the Free Software Foundation, Inc.,51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.