PLAYMID.BAS and MIDI file.
#17
(07-01-2022, 02:23 PM)Steffan-68 Wrote:
(06-30-2022, 09:42 PM)a740g Wrote:
(06-28-2022, 04:06 PM)Steffan-68 Wrote: The program is great.
Only as a MIDI payer alone does it work very well.
I'm very happy about that.

I also have a lot of MOD sound files, but I can't find any way to include them in my programs.
Which is actually a shame because they are very small and contain good sound.

Thank you!  Smile

Well, you are in for a treat.

If the files are just AMIGA Protracker compatible MODs then you can try a740g/QB64-MOD-Player: A ProTracker (and compatible) MOD player & library written in QB64 (github.com)
If you've got S3M, XM & IT then try a740g/QB64-LibXMPLite: LibXMP Player and Library for QB64 (github.com)
The second one is based off a similar library by RhoSigma you can find here: https://staging.qb64phoenix.com/showthread.php?tid=29

Thank you for your prompt reply
The first MOD Player is already very good and I like it.
I would like the second ( LIBXMP Player ) better but it causes a compiler error for me.
The attached EXE runs great.
At the moment I just can't find the error why it isn't compiled.
Tried it with QB64PE 0.8.2 and QB64 2.0.2 in 64 bit but it always crashes with an error.

Ah. I remember why it gives the 12555 error.  It's a bug in QB64. I submitted a bug report. However, there is a workaround.
See Linking to static libraries does not work on Windows · Issue #112 · QB64-Phoenix-Edition/QB64pe (github.com)
And this one https://discord.com/channels/97538191235...0487655454
The workaround is in the Discord thread.
You'll have to make the changes to the QB64 IDE source code and recompile it.

If you want, you can also download the one that I compiled (attachment below). This is for QBPE 0.8.2. Download, then run a virus scan (VirusTotal - Home) and then replace qb64.exe in the QB64 folder with this one.

Thank you for calling this out. I've updated the LibXMP GitHub README.md with a note on this bug.


Attached Files
.zip   qb64.zip (Size: 3.13 MB / Downloads: 68)
Reply


Messages In This Thread
PLAYMID.BAS and MIDI file. - by Robert Claypool - 06-16-2022, 04:02 AM
RE: PLAYMID.BAS and MIDI file. - by johnno56 - 06-16-2022, 05:13 AM
RE: PLAYMID.BAS and MIDI file. - by visionmercer - 06-16-2022, 10:15 AM
RE: PLAYMID.BAS and MIDI file. - by RhoSigma - 06-16-2022, 09:06 PM
RE: PLAYMID.BAS and MIDI file. - by johnno56 - 06-18-2022, 12:14 AM
RE: PLAYMID.BAS and MIDI file. - by DSMan195276 - 06-18-2022, 02:56 AM
RE: PLAYMID.BAS and MIDI file. - by johnno56 - 06-18-2022, 07:19 PM
RE: PLAYMID.BAS and MIDI file. - by Dav - 06-19-2022, 01:34 AM
RE: PLAYMID.BAS and MIDI file. - by a740g - 06-26-2022, 06:53 AM
RE: PLAYMID.BAS and MIDI file. - by Steffan-68 - 06-28-2022, 04:06 PM
RE: PLAYMID.BAS and MIDI file. - by a740g - 06-30-2022, 09:42 PM
RE: PLAYMID.BAS and MIDI file. - by Steffan-68 - 07-01-2022, 02:23 PM
RE: PLAYMID.BAS and MIDI file. - by a740g - 07-03-2022, 09:29 AM
RE: PLAYMID.BAS and MIDI file. - by a740g - 07-03-2022, 09:39 AM
RE: PLAYMID.BAS and MIDI file. - by a740g - 07-03-2022, 09:31 AM
RE: PLAYMID.BAS and MIDI file. - by Steffan-68 - 07-03-2022, 12:31 PM
RE: PLAYMID.BAS and MIDI file. - by a740g - 07-03-2022, 03:05 PM



Users browsing this thread: 2 Guest(s)