MMMooore functions for (Protracker) modules

Feature requests for future versions of Hollywood can be voiced here
Post Reply
User avatar
jPV
Posts: 734
Joined: Sat Mar 26, 2016 10:44 am
Location: RNO
Contact:

MMMooore functions for (Protracker) modules

Post 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.
User avatar
airsoftsoftwair
Posts: 5834
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: MMMooore functions for (Protracker) modules

Post 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 :)
Bugala
Posts: 1390
Joined: Sun Feb 14, 2010 7:11 pm

Re: MMMooore functions for (Protracker) modules

Post 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.
evil
Posts: 185
Joined: Mon Jun 14, 2010 1:38 pm

Re: MMMooore functions for (Protracker) modules

Post 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
User avatar
airsoftsoftwair
Posts: 5834
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: MMMooore functions for (Protracker) modules

Post 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
User avatar
jPV
Posts: 734
Joined: Sat Mar 26, 2016 10:44 am
Location: RNO
Contact:

Re: MMMooore functions for (Protracker) modules

Post by jPV »

\o/
Post Reply