Welcome to Pauls PureProject
 Home Online Reference Guide duplicated from http://cvs.purebasic.com  
 Online Resources
   · Reference

 Libraries
     2DDrawing
     Billboard
     Camera
     CDAudio
     Cipher
     Clipboard
     Console
     Database
     Date
     Desktop
     Engine3D
     Entity
     File
     FileSystem
     Font
     Gadget
     Help
     Image
     ImagePlugin
     Joystick
     Keyboard
     Library
     Light
     LinkedList
     Material
     Math
     Memory
     Menu
     Mesh
     Misc
     Module
     Mouse
     Movie
     Network
     OnError
     Packer
     Palette
     Particle
     Preference
     Printer
     Requester
     Sort
     Sound
     SoundPlugin
     Sprite
     Sprite3D
     StatusBar
     String
     SysTray
     Terrain
     Texture
     Thread
     Toolbar
     Window

 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



Hosted by Reel Media Productions Copyright©2001-2004 All Rights Reserved