Extended Module Player Library (libXMP) plugin for XMPlay

Started by bauxite69,

bauxite69

v1.0.29, 2021-06-10
 · updated to libXMP v4.5.0
 · plugin settings will now take full effect without restarting playback
 · last version supporting Windows XP

Download (OneDrive)

Sebby75

Hi.. gave it a quick 5 minute test.

Local files (on harddrive) play through the plugin... while web links to .mod files seem to play using XMPlay's built in decoder...
I listen to mods that way quite often... basically dragging web link, let's say for example http://artscene.textfiles.com/music/mods/MODS/MODLAND/Dreamer/ into XMPlay

http://artscene.textfiles.com/music/mods/MODS/MODLAND/Dreamer/black%20queen.mod
isn't playing correctly... (it plays fine using built in decoder and xmp-openmpt plugin)
It's a good tune to test players due to being *weird* with pattern jumps etc... tune to WATCH patterns and listen...
https://www.youtube.com/watch?v=mkhHEXDSwyQ

Regards
Seb

bauxite69

v1.0.30, 2021-06-11
 · fixed: xmp-libXMP could not open/play files from URL


Download (OneDrive)

bauxite69

Quote from: Sebby75Local files (on harddrive) play through the plugin... while web links to .mod files seem to play using XMPlay's built in decoder...
I listen to mods that way quite often... basically dragging web link, let's say for example http://artscene.textfiles.com/music/mods/MODS/MODLAND/Dreamer/ into XMPlay
Fixed. You can try v1.0.30

Quote from: Sebby75http://artscene.textfiles.com/music/mods/MODS/MODLAND/Dreamer/black%20queen.mod
isn't playing correctly... (it plays fine using built in decoder and xmp-openmpt plugin)
I'm not the author of LIBXMP library. I only wrote the plugin  :)
I'll open an issue on https://github.com/libxmp/libxmp/issues

saga

Black Queen not playing correctly is a known issue: https://github.com/libxmp/libxmp/issues/124
I think that's more or less an architectural issue of how XMP detects backwards jumps so it cannot be fixed easily.

Sebby75

Just noticed one oddity... For tunes with more than 16 subsongs.. it only detects first 16 and no more, tested number of different mods and other formats... 16 subsongs seems to be the limit..


http://ftp.modland.com/pub/modules/Protracker/Blaizer/pinball%20fantasies%20-%20party%20land.mod

xmplay built in player (41 subsongs)
via xmp-openmpt (41 subsongs)
via xmp-libxmp (16 subsongs)

http://ftp.modland.com/pub/modules/Protracker/Blaizer/pinball%20illusions%20-%20extreme%20sports.mod

xmplay built in player (22 subsongs)
via xmp-openmpt (22 subsongs)
via xmp-libxmp (16 subsongs)


saga

This is a limitation of libxmp and not a problem of the plugin itself. It will be lifted in the next libxmp update: https://github.com/libxmp/libxmp/pull/382

Sigma Seven

I'm having problems with .med file playback regarding priority filetypes.

I've also got the Delix plugin installed and it insists on playing .med files.

In xmp-libxmp's settings I've got all 'med' types selected in the 'formats' tab, and in its 'priority filetypes' field I entered 'med'.

Sadly to no avail my friends as Delix insist on playling them no matter what.

And that one sucks as it gives me no songlength and I can't skip.

If I remove Delix and restart, xmp-libxmp plays all my .med files beautifully no problem.

So based on that it's not the plugin's fault I guess? ...who knows...

Perhaps XMPlay is not 'vicious' enough with whatever data we enter in the 'priority filetypes' field?

I tried to be creative and looked in the .med files' header and all of them start with 'mmd0' or 'mmd1'.

So in a last deperate attempt I went ahead and as a scientific experiment I entered those also in the 'priority filetypes' option, just to see what happens.

Results were the same unfortunately. Delix takes over no matter what.

I'm on XMP 3.8.5 of course.

bauxite69

v1.0.31, 2023-06-18
 · updated to libXMP v4.6.0
 · Windows XP is no longer supported


Download (OneDrive)

andy2004

everytime i run Xmplay with the xmp-libxmp.dll installed in xmplay folder.. Eset deletes xmp-libxmp.dll
i have to go to the Quarantine to restore it.. shows in Eset as SUSPICOUS.
uploaded the file to virustotal..

24/70 classing as Trojan.Lazy.D3F615,  Win32:MalwareX-gen [Trj],

ironically eset on that site says undetected?
when compiled did you compress any section of it?

https://www.virustotal.com/gui/file/a13c13bee6bc9a4977ed5e50e26b06e44637e78e8b073e93e4d7a7c26dc4b1a3

bauxite69

Quote from: andy2004everytime i run Xmplay with the xmp-libxmp.dll installed in xmplay folder.. Eset deletes xmp-libxmp.dll
i have to go to the Quarantine to restore it.. shows in Eset as SUSPICOUS.
uploaded the file to virustotal..

24/70 classing as Trojan.Lazy.D3F615,  Win32:MalwareX-gen [Trj],

ironically eset on that site says undetected?
when compiled did you compress any section of it?

https://www.virustotal.com/gui/file/a13c13bee6bc9a4977ed5e50e26b06e44637e78e8b073e93e4d7a7c26dc4b1a3



No compression, compiled in Visual Studio 2022 using option : Runtime Library Multi-threaded (/MT)

Where did you get the plugin ?

andy2004

from the above link.. ONEDRIVE above..
redownloaded again.. and same thing.. only v1.0.31 aka 4.6.0 gets binned by eset..
downloaded the previous version V1.0.30 aka 4.5.0 and nothing..

sorry for the delay in posting i dont come here daily..

erm i managed to fix the file..
i used an old app called filescanner..
and i modified the .dll by using the following command. fs -spl -rn
-rn optimized the header..
-spl removed spaces. reduced from 36 to 4..
then i used the command
fs -c to give it a new checksum.

and now it loads into xmplay without being removed by eset.

Stefan1200

Thanks for the update (v1.0.31, 2023-06-18). But I can't download the file, the Google Chrome browser flag this file as dangerous (without the option to keep the file).
Tried to download it from: https://support.xmplay.com/files_view.php?file_id=696

Update: Downloading it from your OneDrive works.

Aldo RetroGamesClub

Hi, Could you please update to version 4.7, making all interpolations higher than cubic possible to select (with all settings and sample rates up to 192,000 or even higher if possible)?
Thank you for your help.
Aldo

bauxite69


v1.35, 2026-02-28
 · updated to libXMP v4.7.0
 · added frequency configuration setting allowing entry of a custom sampling rate from 4 kHz to 768 kHz
 · added 32-bit mixing to resolution configuration settings

Download (OneDrive)


Quote from: Aldo RetroGamesClubHi, Could you please update to version 4.7, making all interpolations higher than cubic possible to select (with all settings and sample rates up to 192,000 or even higher if possible)?
Thank you for your help.
Aldo

Interpolation is limited by libxmp library.

Aldo RetroGamesClub

Thank you for the upgrade.
I'm going to install.
with the current processing power, I could'nt imagine it doesn't allow the use sinc interpolation (maybe with one or more settings while letting users choose the algorithms).
Aldo

Ian @ un4seen

Regarding sample rate configuration, I would generally recommend that XMPlay's sample rate setting is used with any file formats that don't have a predetermined rate, eg. MOD and MIDI formats. That way the user only has to set it in one place (the "Output" options page). Plugins receive the configured sample rate via their SetFormat function, and can replace it if it's outside of a supported range.