LoginLogin

Custom Music?

Root / Programming Questions / [.]

JoshuawlCreated:
How do you make your own music in SmileBasic and also how would I play it after I make it?

You will want to look into MML. Its code that allows you to create songs by setting instruments, notes, octaves, tempo, and note length. Its quite powerful, but it takes some getting useful. What you do is a combination of
bgmclear, bgmset, bgmplay
and the mml as DATA.

To get more info, type " MML " in the editor and press the ' ? ' button. It will tell you everything about how to create music using MML. Keep in mind that creating music directly this way requires a basic understanding of music (notes ranging from C-B, note durations, etc.). Also, look into Litterbox here on the site: http://smilebasicsource.com/page?pid=375 If you need more help, ask away.