LiminaliaLiminalia

@bgm

Play BGM

filter

loop

When played, the sample game uses its own assets and character names.

Parameters

fileRequired
Asset (bgm)
Audio file
volume
Integer (0 to 100)
Default: 100
Volume (0 to 100)
time
Time (300ms, 1.5s)
Default: 0ms
Fade-in time
loop
true / false
Default: true
Loop
crossfade
Time (300ms, 1.5s)
Default: 0ms
Time to cross-fade from the current BGM (loads the new track first, then fades the current one out while fading the new one in)
loop-start
Time (300ms, 1.5s)
Where the loop starts (after the intro). If omitted, the LOOPSTART tag embedded in the track, or the beginning
loop-end
Time (300ms, 1.5s)
Where the loop ends. If omitted, computed from the embedded LOOPLENGTH tag, or the end
pan
Integer (-100 to 100)
Default: 0
Stereo position (-100 is left, 100 is right)
rate
Number (0.1 to 4)
Default: 1
Playback speed (1 is normal; the pitch changes too)
filter
none / muffled / phone / radio / hall
Sound filter (muffled, phone for over the phone, radio, hall for hall reverb; none for no filter) for the BGM
filter-strength
Integer (0 to 100)
Default: 100
Filter strength (0 to 100; mixed with the original sound)
filter-fade
Time (300ms, 1.5s)
Default: 0ms
Time to apply or remove the filter (when applying it again to the same track that's playing)

Guides that use this command

From TyranoScript

When you import with lim import, these tags become this command:

  • [playbgm]
  • [fadeinbgm]
  • [xchgbgm]

How each attribute converts, and what isn't converted, is in TyranoScript import.