QB64 Phoenix Edition
SCREEN 0 MOD Player with Spectrum Analyzer - Printable Version

+- QB64 Phoenix Edition (https://qb64phoenix.com/forum)
+-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1)
+--- Forum: Prolific Programmers (https://qb64phoenix.com/forum/forumdisplay.php?fid=26)
+---- Forum: a740g (https://qb64phoenix.com/forum/forumdisplay.php?fid=56)
+---- Thread: SCREEN 0 MOD Player with Spectrum Analyzer (/showthread.php?tid=1045)

Pages: 1 2 3


SCREEN 0 MOD Player with Spectrum Analyzer - a740g - 11-05-2022

Enjoy this tiny little SCREEN 0 MOD Player that I've written entirely in QB64 (well, I re-wrote the mixer in C++ some time ago).

Thank you to @vince for your awesome FFT routines. You can find the good stuff here https://qb64phoenix.com/forum/showthread.php?tid=270&pid=2005#pid2005

a740g/QB64-MOD-Player: A ProTracker (and compatible) MOD player & library written in QB64-PE (github.com)

Use the attached ZIP file below to get the complete source code. To get the latest source code use the GitHub link above and follow the notes in README.md.

Update:
  • Added S3M (Scream Tracker) format support (WIP; no FM yet)
  • Added MTM (MultiTracker) format support
  • Can play MODs and MTMs directly from https://modarchive.org/ (many thanks to @DSMan195276 for HTTP support and documentation)

[Image: qb64mp-playing.png]


RE: SCREEN 0 MOD Player with Spectrum Analyzer - vince - 11-06-2022

I tried it, it's a very nice music player based on _SNDRAW. It sounds particularly spectacular with PE's new audio library enhancements


RE: SCREEN 0 MOD Player with Spectrum Analyzer - mnrvovrfc - 11-08-2022

This is an awesome achievement! Thank you for this.

I had been checking it out a few months before this thread. Now I'm not sure while the "dot-rip" forum was still active.


RE: SCREEN 0 MOD Player with Spectrum Analyzer - Pete - 11-08-2022

I have no idea what it does, but it's SCREEN 0, so it gets 2 thumbs up from me!

Pete


RE: SCREEN 0 MOD Player with Spectrum Analyzer - grymmjack - 11-08-2022

(11-05-2022, 09:39 PM)a740g Wrote: Enjoy this tiny little SCREEN 0 MOD Player that I've written entirely in QB64.

So great! Does it take command line options to play? (I have not yet looked at the source, so if it's obvious I apologize). 

All possible with QB64. Amazing. 

Cool Heart Exclamation


RE: SCREEN 0 MOD Player with Spectrum Analyzer - a740g - 11-08-2022

(11-08-2022, 07:41 PM)grymmjack Wrote:
(11-05-2022, 09:39 PM)a740g Wrote: Enjoy this tiny little SCREEN 0 MOD Player that I've written entirely in QB64.

So great! Does it take command line options to play? (I have not yet looked at the source, so if it's obvious I apologize). 

All possible with QB64. Amazing. 

Cool Heart Exclamation

Yeah. It does. It also supports drag and drop and the new PE open file dialogs. There is also a SCREEN 0 starfield effect. Big Grin

(11-08-2022, 05:09 PM)Pete Wrote: I have no idea what it does, but it's SCREEN 0, so it gets 2 thumbs up from me!

Pete

Big Grin


RE: SCREEN 0 MOD Player with Spectrum Analyzer - a740g - 11-08-2022

(11-08-2022, 04:59 PM)mnrvovrfc Wrote: This is an awesome achievement! Thank you for this.

I had been checking it out a few months before this thread. Now I'm not sure while the "dot-rip" forum was still active.

Thanks.

Nah. This is quite new. I had a working player somewhere around May 2022.

I still have one effect pending The EFx one you see here Manual: Effect Reference - OpenMPT Wiki

I have not seen that being used in too many songs. But I want a feature-complete re-player. Hopefully, I'll figure it out soon.


RE: SCREEN 0 MOD Player with Spectrum Analyzer - a740g - 11-27-2022

Ok. This MOD re-player is feature-complete now. I implemented the controversial "invert loop" (EFx) effect.

My stupid brain is tempting me to add S3M support which I am desperately trying to ignore. It's actually quite easy now because most of the base framework is in place. I'll just need to write the loader and handle some S3M specific effects. Maybe one day when I have loads of time...

The main module re-player code is in the "include" directory. The base directory has the player UI code.
Here is a playback demo of the famous module "Stardust Memories" if you are feeling lazy to compile.  Wink

Stardust Memories Demo


RE: SCREEN 0 MOD Player with Spectrum Analyzer - Dav - 11-27-2022

Professional job!  Sounds great!  Thanks for sharing this.

- Dav


RE: SCREEN 0 MOD Player with Spectrum Analyzer - mnrvovrfc - 11-30-2022

(11-27-2022, 12:34 PM)a740g Wrote: My stupid brain is tempting me to add S3M support which I am desperately trying to ignore. It's actually quite easy now because most of the base framework is in place. I'll just need to write the loader and handle some S3M specific effects. Maybe one day when I have loads of time...
"The people" might ask for the OPL simulation. Might not be difficult, just lame FM synthesis, right, but have to replicate that General MIDI soundset the best possible, not necessarily like Soundblaster Pro. I say this because OpenMPT didn't have OPL support in a long while, at least five years it had been "Open". Now I have revealed what is my favorite Windows app to run on Linux with Wine. Heart

But it could depend on how many S3M files actually make use of the OPL capability. I experienced on Schism Tracker so far it's not very adjustable especially having to use only velocities on the pattern, and rejects "global" volume as IT-only attribute and instead takes up "default" volume. It sounds kewl though, livened up some of my tracks otherwise littered with single-cycle waveforms and low-bandwidth drum hits LOL.

Warning: do not play back "black_queen.mod" in this program if you have a mentally-ill condition!