|
 |
Online Resources |
 |
 |
Libraries |
 |
|
 |
 |
Module |
 |
 |
Overview
PureBasic can replay standard music modules to have nice music background
during a game or an application. The modules are well known from Demo makers,
as its an efficient way to build music on a computer. The tools used to
create the modules are named 'Trackers' (ProTracker, FastTracker, Impulse
Tracker...). The advantages of a module against a .wav/mp3 file are its very low size,
a virtually endless length, the very fast replay, possible jump on a certain
music part to fit to the screen action etc... It's of course possible to mix
standard sound and module sound to have both played simultaneously.
On Windows, the MIDAS Sound System is used to have a perfect replay and multiple
tracker support. Don't forget to include the midas11.dll in the final package as
it's not a standard dll. DirectX is used if present, else it fall back to the standard
sound output.
Command Index
FreeModule
GetModulePosition
GetModuleRow
InitModule
IsModule
LoadModule
ModuleVolume
PlayModule
SetModulePosition
StopModule
Example
Module.pb
Supported OS Windows, AmigaOS Reference Manual - Index
|
|
 |
|
|