プレイ日記
ƒςMichiƒς Michael.Menzel
Just wrote a program to learn how to write music using SmileBasic. If you know a bit more about Basic than me, please download (public key see in the picture) and comment below to suggest improvements. (esp. for the color-changing feature I added for the text). Thanks already!
5そうだね
プレイ済み
返信[1]
親投稿
ƒςMichiƒς Michael.Menzel
Aah, no! I oversaw thw fact that there are string variables existing in basic too, using them would have made the programm slightly smaller...
0そうだね
プレイ済み
返信[2]
親投稿
Nicole moesaku
This works, but there's actually a much nicer way to make music in SmileBASIC! Try running this: BGMPLAY "CDEFGAB<C" This uses Music Macro Language, or MML. If you type in "MML" and press the ? button, it will give you information on all the commands you can use. You can also use BGMSET or BGMSETD to assign MML to a BGM number, and then play it back on demand with BGMPLAY #.
0そうだね
未プレイ
返信[3]
親投稿
ƒςMichiƒς Michael.Menzel
I know there´s something like MML, but I can´t really understand it (yet...). That´s why I have to resort to programming beeps and so on... I´m going to look what SmileBasic will say when I press help when the cursor is behind MML...
0そうだね
プレイ済み
返信[4]
親投稿
ƒςMichiƒς Michael.Menzel
Aha... this is basically what I have been hoping to find. You know, I have been practically dying to find out how to use the "real" musical instruments displayed when you open the Smile-tool and select GM (I think it´s called like that), not just beeps, cause obviously I kinda know how to use them... I thought "BGMPLAY" should only be used for playing the preinstalled tunes... Obviously I was...
0そうだね
プレイ済み
返信[5]
親投稿
ƒςMichiƒς Michael.Menzel
... very wrong about that. So, thanks for helping me so far, the internet wasn´t able to do so... Thanks!
0そうだね
プレイ済み
返信[6]
親投稿
Nicole moesaku
Here's the song from your program in MML, by the way: BGMSETD 128,@BGM BGMPLAY 128 @BGM 'Melody DATA":0 @256L12O3Q4 DATA"[B[GEB]2G<D>BG<DC#>BGE<C>BA<C>BGE DATA"[B<D#>]2[B<F#>]2B] 'Bass DATA":1 @256L12O2V60Q4 DATA"R24[[E]8[G]4[E]4[A]6[E]2[B]6[G]2] DATA 0
1そうだね
未プレイ
返信[7]
親投稿
ƒςMichiƒς Michael.Menzel
Holy sh*t... I´ll need a long time trying to understand that... but thanks anyway.
0そうだね
プレイ済み