acalm / modp

Video game music player

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

modp

Video game music player.

fft scope

Currently supported backends are libopenmpt and game music emulator. Should play many files directly with playlist support (for song lengths and titles) from *.joshw.info.

Command line options:

-p    Initial path, default is "."
-f    Path to a BDF font, default is an internal font
-v    Pixel-double font vertically, default is 0
-a    Auto increment at min length/song end, default is 1
-n    Random song at auto increment, default is 0
-m    Song minimum length, default is 0
-w    Window width, default is 800
-e    Window height, default is 480
-l    Framerate limit, default is 60.00
-r    Background color red component, default is 0.00
-g    Background color green component, default is 0.33
-b    Background color blue component, default is 0.67

-h    Show default command line options

Building

Windows/Linux

Uses MSYS2 on Windows.

  • Download libopenmpt from here, build and install.
  • Download game-music-emu 0.6.2, from here, apply contrib/gme-0.6.2-playlist_patch.diff, build and install (use -G "MSYS Makefiles" if on Windows). The patch improves playlist compatibility with music files from *.joshw.info.
  • Install prerequisites (libportaudio, libarchive, SDL2, fftw etc).
  • Run make (if on Ubuntu, remove -liconv dependency).

Notes

You can find a bunch of interesting bitmap fonts to try out here, not all of them work though.

About

Video game music player

License:GNU General Public License v3.0


Languages

Language:C 97.6%Language:C++ 1.9%Language:Makefile 0.4%Language:Shell 0.1%