Blitz PLus module player?

Miscellaneous Forums/General Discussion/Blitz PLus module player?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.


Where did you get the hidden|true command from? Maybe there are others?



There was a readMe file in the plugin installer zip (npmod191.zip) that I downloaded. The bit concerning commands reads:


The other options you may want to add are the following:
- volume="x": set the volume of the song to x.
(Default="100", range="1" to "100")

- loop="true": Loop the song. (Default:"false")

- autostart="true": Start playing the song when loaded.
(Default="false"). (Also "autoplay" on versions 1.31+)

- autonext="true": Jump to next mod when finished playing.
(Default="false") This is useful only if you have more
than one song in your page. (You should use loop="true"
instead to make the same song loop)

- controls="none"/"stereo":
* "none": don't display anything - use with care
because there is no way the user will be able to stop the
mod (besides exiting the page). (same as "hidden="true")
* "stereo"(1.65+): the horizontal spectrum analyzer will
be split for right/left, on each side of the plugin.
In this case the number of bands will be (width - 184) / 16.
NOTE (1.75+): The option controls="smallconsole" has been
removed, it's now automatic if height < 20.

- hidden="true": same as controls="none".

- title="song_title": Displays the text "song_title" when
the song is not yet loaded. (Default: displays "Loading...")

- shuffle="true" (1.57+): goes along with autonext="true".
when a song finishes playing, the next song will be randomly
chosen. The shuffle option is a global flag and should appear
on the first EMBED section in the page. This flags sets
the autonext="true" flag automatically.

- bgcolor="black"(default),"gray" (1.60+): Select a background color
for the plugin.
v1.75+: you can specify a color like bgcolor="#RRGGBB".

- spcolor="red"(default),"green","blue" (1.61+): Select the color of
the spectrum analyzer.
v1.75+: you can specify a color like spcolor="#RRGGBB".

- vucolor="color1", vucolorhi="color2" (1.75+): you can now change
the color of the VU-meter. The default for vucolor is green, and
is red for vucolorhi.

- spcolorhi: defines the top-color of the spectrum analyzer (1.75+).
The default color is red. The middle color will be the mix between
spcolor and spcolorhi.

NOTE: (v1.43+)
--------------
- If you want to enable the VU-Meter, the width parameter
should be set to "168". The VU-Meter cannot be used with
the controls="smallconsole" option.
- If the plugin is hidden (with controls="none" or hidden commands),
autostart will be set to "true".

Spectrum Analyzer (1.60+)
-------------------------
- You can enable the spectrum analyzer by setting a height
of 96 (bottom spectrum) or a width of 336 (right spectrum).
- v1.61+: You can have from 3 to 80 bands in your right spectrum
analyzer: set the width parameter to 176+(numbands*8).
The frequency range is between 86Hz (left) and 11KHz (right).
- v1.65+: With the stereo spectrum, the number of bands on each
side will be (width - 184) / 16.





There's also a MPSNDSYS.H file in the sdk zip - I *guess* we're supposed to use that and the sdk dll (MPPSDK.DLL) for adding modplug playback to our own apps. Nobody on the forums seemed able to confirm when I looked, and a couple of people were asking.