Skip to content

Latest commit

 

History

History
101 lines (83 loc) · 2.77 KB

BGMPLAY.org

File metadata and controls

101 lines (83 loc) · 2.77 KB

Top | Up (Music) | < Previous (PAGE NAME) | Next (PAGE NAME) >

BGMPLAY

Play music.

Syntax

BGMPLAY song%
BGMPLAY track%, song% [, volume%]
BGMPLAY mml$
ParameterDescription
track%0-7. Default: 0
song%Built in songs: 0-42. Custom songs: 128-255
volume%0 - 127. Default: 64
mml$MML to play. Equivilant to BGMSET 255,mml$:BGMPLAY 255

Examples

BGMPLAY 3
WAIT 60
BGMSTOP
BGMPLAY 0,26
BGMPLAY 1,42 'play 2 songs at the same time
WAIT 120
BGMSTOP
BGMPLAY ":0 CDEFG :1 @3 CCCCC" 'play MML

Version Information

3.0.2

Fix volume when BGM variables are used 1

3.1.0

Volume 0 works 2

3.2.0

Fixed bug where only 4 tracks could be played at the same time 3

3.5.2

SB no longer crashes when a very long string is passed to BGMPLAY 4

See Also

References

1 SmileBoom, “Fixes in Ver. 3.0.2 (January 7, 2015)” http://smilebasic.com/en/debug/archive/

2 SmileBoom, “Fixes in Ver. 3.1.0 (March 4, 2015)” http://smilebasic.com/en/debug/archive/

3 SmileBoom, “Fixes in Ver. 3.2.0 (June 17, 2015)” http://smilebasic.com/en/debug/archive/

4 SmileBoom, “Bug Fixes in Ver. 3.5.2 (June 24, 2017)” http://smilebasic.com/en/debug/archive/


Top | Up (Music) | < Previous (PAGE NAME) | Next (PAGE NAME) >