![]() ![]() Used for allowing the music to flow cleanly between related tracks. When set, the track starts from a point relative to the current playback position of the current track. Overrides any value given in the LoadBGM command. Ignored for variable mix playback, or when playing another instance of the same track when forceFromStart is not set. Starts playback at the sample number included. Overrides both the LOOPLENGTH setting in the track's metadata and the looplength setting in the LoadBGM command. Overrides both the LOOPSTART setting in the track's metadata and the loopstart setting in the LoadBGM command. Since loading tracks takes time, if given enough load time before calling PlayBGM, the tracks will start significantly sooner than they would otherwise. If an alias was provided, it must be used here using the name of the track won't work. ![]() "trackAlias" is the name or alias of the track that was loaded. Some parameters from loading can be overridden by the play command. Notably, pitch is not one of them (it has inconsistent behavior), so if you want to play the track at a different pitch, set it with the load command. If the given BGM was not loaded, this command will do nothing. Loop points and "playFrom" use sample numbers use them even if you're not using a standard OGG file (it may be useful to have an OGG file on hand to refer to.) But otherwise, put the sample rate in Hz here to properly calculate loop points and "playFrom" settings. You usually won't need this. This is only useful if the file is not a normal OGG file and the sample rate is something other than the standard 44.1kHz. Ignored for variable mix playback, or when playing another instance of the same track (forceFromStart in the PlayBGM command can force it to start from this point anyway.) Default is 0. Use sample number as you would in LOOPLENGTH. If not included, the standard LOOPLENGTH will be used. Overrides the track's LOOPLENGTH metadata. Use sample number as you would in LOOPSTART. If not included, the standard LOOPSTART will be used. Overrides the track's LOOPSTART metadata. For example, if the "default" is 180 beats per minute, and you want to load a track with a tempo of 144 beats per minute, then the tempoRatio of the second track should be 180/144 (or 5/4). Ignored when not played as a variable mix. Accepts fractions and decimals. One track must be considered the "default" tempo, and all others must be defined as ratios of the default tempo over the other tracks'. Please note that the built-in AudioManager sometimes behaves oddly with pitch values other than 100, and it might prevent variable mix from working, or user-defined starting points from being used. Works the same as the default editor, but allows for more values. Default is 100. Works the same as the default editor, but allows for more values. Default is 0. Works the same as the default editor, but allows for more values. Default is 100. If you try to load another track with the same alias, the first will be unloaded and replaced by the second. No two loaded tracks can have the same alias. The default alias is the same as the name of the track. This also allows you to create multiple instances of a single track with different parameters. If you give a track an alias, you can refer to it by that alias in the future when playing back or clearing it. They are separated by spaces, but cannot contain any spaces within them (including before and after = signs). Valid parameters are: Loaded tracks are saved to the game's save file, and will be automatically re-loaded when the save file is loaded.Īll parameters are optional. Names cannot contain spaces, so you should_use_underscores OrCamelCase when naming tracks. "nameOfTrack" is the file name of the track in your audio\bgm folder. Loading takes a second or two, so make sure to load it before you need it. This command loads a BGM track into memory. LoadBGM nameOfTrack parameter=value parameter=value. ![]() MZ uses the same basic parameters, but streamlined into MZ's plugin features. The instructions below are for the MV version of this plugin. Play from a set point, change the loop parameters, cross-fade between tracks, load them ahead of time to cancel out the usual delay, and it includes an updated version of the Variable Mix plugin! ![]() This plugin allows you a greater variety of control with your BGM tracks in RPG Maker MV. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |