Difference between revisions of "playMusic(clip0, clip1)"

From pinHeck Wiki
Jump to: navigation, search
 
Line 3: Line 3:
 
playMusic('M', 'N');
 
playMusic('M', 'N');
  
Plays the file #MN.wav from the SFX/_FZ folder. Music files loop by default unless you set otherwise. For best results, create long looping versions of the music in the file (5-8 minutes per file) so you can make nice looping transitions. The system's loop ends the file and restarts it again, which will not result in as clean of a transition.
+
Plays the file ZMN.wav from the SFX/_FZ folder. (You don't have to specifiy the first character 'Z' since music is always in _FZ folder)
  
Music files must be in the SFX/_FZ folder and have a 3 character filename always starting with '#'
+
Music files loop by default unless you set otherwise. For best results, create long looping versions of the music in the file (5-8 minutes per file) so you can make nice looping transitions with your audio software. The system's loop ends the file and restarts it again, which will not result in as clean of a transition (you probably don't want to hear it fade out and restart again)
  
Example: #AB.wav
+
Music files must be in the SFX/_FZ folder and have a 3 character filename always starting with 'Z'
 +
 
 +
Example: #ZB.wav

Latest revision as of 15:32, 12 September 2015

Example:

playMusic('M', 'N');

Plays the file ZMN.wav from the SFX/_FZ folder. (You don't have to specifiy the first character 'Z' since music is always in _FZ folder)

Music files loop by default unless you set otherwise. For best results, create long looping versions of the music in the file (5-8 minutes per file) so you can make nice looping transitions with your audio software. The system's loop ends the file and restarts it again, which will not result in as clean of a transition (you probably don't want to hear it fade out and restart again)

Music files must be in the SFX/_FZ folder and have a 3 character filename always starting with 'Z'

Example: #ZB.wav