Page 1 of 1
MMMooore functions for (Protracker) modules
Posted: Thu Apr 27, 2017 5:22 pm
by jPV
I can't see options for these with a quick look at least:
1) Pattern and song postitions can be get, but how about the total length of the song?
2) It would be really nice to get the sample names from the module, there's useful information usually.
3) Would be nice to get module played once, and not looping.
4) OnMusicEnd event when modules have reached the end
5) Woud be nice to get song data (notes and commands) in some form... maybe whole pattern as table at once.
Re: MMMooore functions for (Protracker) modules
Posted: Tue May 02, 2017 10:20 pm
by airsoftsoftwair
I'll take a look at number 1, 3, and 4. Numbers 2 and 5 are rather special interest and of not much use for normal people. But you could easily write these things on your own... parsing a Protracker module isn't very difficult at all and it's a nice exercise

Re: MMMooore functions for (Protracker) modules
Posted: Tue May 02, 2017 10:52 pm
by Bugala
I second jPVs requests, sounds like useful ones, except for the 2 and 5, which sound like i would like to have, but dont really see actually using them.
Re: MMMooore functions for (Protracker) modules
Posted: Thu May 04, 2017 11:02 pm
by evil
On
http://coppershade.org/articles/More!/T ... le_Format/ there is a pretty good Description of the Protracker-format.
I Used this guide to get Song and Sample-Information for my Mod-Explorer.
With mor investigations, I think, you will also get informations about the notes!
Good Luck!
George
Re: MMMooore functions for (Protracker) modules
Posted: Sun May 18, 2025 6:01 pm
by airsoftsoftwair
8 years later, nothing is ever forgotten:
Code: Select all
- New: Added "ExactProtracker" tag to OpenMusic(); if this is set to TRUE, Protracker modules won't be set
to infinite looping but they will just play once (unless you use the "Times" tag to specify how many
times the Protracker module shall be played); if "ExactProtracker" is set to TRUE, Hollywood will also
calculate the song length and you can query it using #ATTRDURATION; furthermore, it is possible to seek
to a certain position in the Protracker module using SeekMusic(); finally, if "ExactProtracker" is set
to TRUE, Hollywood will also trigger the "OnMusicEnd" event handler once a Protracker module has finished
playing
Re: MMMooore functions for (Protracker) modules
Posted: Mon May 19, 2025 7:38 am
by jPV
\o/