Fandom

Petit Computer Wiki

BGMSET (Command)

915pages on
this wiki
Add New Page
Comments0 Share

V1Edit

BGMSET is not a command in SmileBasic V1.

V2Edit

BGMSET is a command for specifying "songs" that can be played with the BGMPLAY command.

BGMSET has at between two and ten parameters (inclusive). The first is a numeric parameter, between 128 and 255 inclusive, and defines the "song number". The remaining parameters are strings, and are concatenated and interpreted as MML.

For example, BGMSET 128,"EDCDEEE" will set song 128 to the first few notes of Mary Had A Little Lamb, and you can hear these notes by using BGMPLAY 128.

See also BGMSETD (Command).

V3Edit

No information on SmileBasic V3.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.