Amos Professional Manual  Contents  Index

Playing Music Modules


Obviously, by setting up a simple loop, you can fade your music up or down.

TEMPO
instruction: change the speed of a piece of music
Tempo speed

Changing the volume or speed of music and sound effects can enhance the mood of most programs. The TEMPO command is used to modify the speed of the current melody, and must be followed by a number ranging from 1 for as slow as possible, up to 100 for incredibly fast. Here is an example of music mood changing:

E> Load "AMOSPro_Examples:Music/Music.Abk"
   Music 1
   Do
    For X=0 To 63
     Tempo X: Mvolume X
    Wait 10: Next X
   Loop

Please note that music created using the Tracker and MED systems may include their own tempo and volume labels, and these will override the settings specified by AMOS Professional.

Playing Tracker modules
If you are unable or unwilling to write your own musical masterpieces, there is no need to worry. AMOS Professional lets you take other composers' soundtracks and add them to your original games and utilities. There are thousands of public domain soundtracks written with various systems, and to make life easy, you are provided with a range of commands that will play the latest Soundtracker modules.

A Tracker module can only be played while all other AMOS Professional music is stopped. The following TRACKER instructions should only be used for Tracker modules and not for normal AMOS Professional music, otherwise some bizarre noises are likely to be generated. The AMOS Professional VOLUME and TEMPO commands will have no effect on Tracker modules, which have their own built-in controls.

TRACK LOAD
instruction: load a Tracker module
Track Load "modulename",bank number

Use this command to load a specified Tracker module into the memory bank number of your choice. Any existing data in this bank will be erased before the module is loaded, and the new bank will be called "Tracker".

TRACK PLAY
instruction: play a Tracker module
Track Play
Track Play bank number,pattern number

Back    Next
08.03.02