There was a bug in the library that was preventing this to work. We fixed
that, but now we require at least libxmp a3b8005.
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Subsong explorer mode can be toggled using the 'z' command. A flag
will appear in the status line showing that explorer mode is enabled.
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Libxmp 4.0.3 includes built-in module quirks for well-known cases. Allow
modules.conf to override these default settings.
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Add the --norc option to bypass configuration files. When parsing lines
in the configuration file, disable paramter matching if we're not in the
section that match the current file's MD5 sum.
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Certain modules need specific adjustments to play correctly. It's not
possible to automatically detect these modules, so a module-specific
configuration file was added. Adjustments include: workaround for
module conversion errors, differences between protracker versions,
and custom replay parameters for specific modules.
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Use the --vblank command-line option to force vblank-based timing instead
of CIA tempo setting. Needed by some modules such as Klisje paa klisje.
Needs new timing API.
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Make naming consistent for API calls, so:
xmp_player_start -> xmp_start_player
xmp_player_end -> xmp_end_player
xmp_player_get_info -> xmp_get_frame_info
xmp_mixer_set -> xmp_set_mixer
xmp_mixer_get -> xmp_get_mixer
Also renamed:
xmp_module_info -> xmp_frame_info
because its information is mostly about frame-specific data.
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
The previous stable release of the player (xmp 3.5.0) had option -r
to reverse stereo channels. This option was temporarily removed during
libification to simplify the code base.
Reverse channels option was reimplemented by simply accepting negative
mixing parameters.
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Port the configuration file reader from xmp 3.5 to 4.0. Module-specific
configuration still not ported.
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Add DSP flags to mixer and generalize the existing lowpass filter as a
DSP effect. Reverb and chorus effects (used in e.g. IMF) can be added
to the list later.
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
- automatically select file or wav if -o is selected
- generalized selection of null driver (can use either -dnull or -n)
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
COMMAND KEYS SUMMARY
Space Pause/unpause
F, Right Advance to next order
B, Left Return to previous order
N, Up Advance to next module
P, Down Return to previous module
1 - 0 Mute/unmute channels
! Unmute all channels
? Display available commands
m Display module information
i Display instrument list
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Make the layout more appropriate for a library-only package, move front-ends
and other things not library-related out of src/ and into players/.
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>