プレイ日記
Lizards XplodingTomato
I need soundtrack for my game. Is there anyone here who could write code for the song megalovania, from undertale? I'll give you credit if you do!
1そうだね
プレイ済み
返信[1]
親投稿
Oscar PwnageBlock
Why not learn some MML and make it yourself? If you don't want to write MML manually with strings, there are a couple of MML trackers that people have released.
0そうだね
プレイ済み
返信[2]
親投稿
Lizards XplodingTomato
I have tried writing mml, but i never got really far. :( Do you have a key for an mml writing program?
0そうだね
プレイ済み
返信[3]
親投稿
Devon VgBlade
or ya know, google it yourself... google 'mml litterbox'
1そうだね
プレイ済み
返信[4]
親投稿
Squash glennxserge
Woah, this is a surreal moment. Thanks for the shoutout Devon! Alternatively, Lizards, you can find the key for Litterbox under my play journal posts.
0そうだね
プレイ済み
返信[5]
親投稿
Lizards XplodingTomato
I like the music maker, but whenever i try to run my mml it says there is a syntax error
0そうだね
プレイ済み
返信[6]
親投稿
Squash glennxserge
MML isn't a regular SmileBASIC program. That is to say, you can't execute it. To play back that song, usually you would just read the file into a string array and tell BGMPLAY to play it. However, to keep things simple, you could surround your above code snippet with quotations and put BGMPLAY in front of it. Like this: BGMPLAY "{P0C0=@99......{P0C1}]" (the .... are just placeholders)
0そうだね
プレイ済み
返信[7]
親投稿
Lizards XplodingTomato
Well it works when i do that, but for some reason it doesn't play the music until it gets to the end. It did that on the editor too. it played fine until i was done making the song, then the beginning didn't play anymore.
0そうだね
プレイ済み
返信[8]
親投稿
Squash glennxserge
It looks like you have 4 measures of rests in your song at the beginning. If you left empty space at the beginning of the song you'll get silence. You might double check it. When you press "X" in the note editor to play the song, what happens? Do you see notes at the beginning?
0そうだね
プレイ済み
返信[9]
親投稿
Lizards XplodingTomato
I do have notes at the beginning. It just goes right through them without playing them.
0そうだね
プレイ済み
返信[10]
親投稿
Squash glennxserge
Oh, that's strange. Hmmm. Are there any other details you can tell me? This might be a bug in the editor. When did you start seeing the issue? After a specific operation? (sav,load,etc..) This is a big ask, and I'll understand if you don't have the time, but if you upload the SNG file for your song and send me a key I'll be more than glad to try debugging it to figure out what happened.
0そうだね
プレイ済み
返信[11]
親投稿
Lizards XplodingTomato
well, it worked fine, then i went back and finished the song, and it didn't play the beginning anymore. I'm guessing it might be a problem with the length, but i don't know.
0そうだね
プレイ済み
返信[12]
親投稿
Lizards XplodingTomato
Also when it starts playing at the end, it plays notes that it's not going over. The notes it plays are in the song, they just play at the wrong time.
0そうだね
プレイ済み
返信[13]
親投稿
Lizards XplodingTomato
I made a key for it. You can check it out yourself. [QD2JBEV3]
0そうだね
プレイ済み
返信[14]
親投稿
Squash glennxserge
Thanks Lizards, I'll take a look at it.
1そうだね
プレイ済み
返信[15]
親投稿
Squash glennxserge
Quick update; this is certainly a bug. I haven't determined why it happens, but it is only on the editor side. You song is perfectly intact and all the notes are there. The issue has to do with the way I calculate leading rests between notes. For some reason when there are more than 16 measures in a pattern, it adds 16 measures worth of rests. I'm debugging now, but I'm happy your song is OK.
0そうだね
プレイ済み
返信[16]
親投稿
Squash glennxserge
In the meantime, you can keep working on your song if you want, you just need to reduce the number of measures from 20 to 16, and just add a second pattern to continue adding notes. It's probably easier in the long run to work with multiple patterns as you can organize parts of your song and don't have to scroll so far to make edits. I'll let you know when there is a patch. Thanks!
0そうだね
プレイ済み
返信[17]
親投稿
Squash glennxserge
Ok, I figured out the issue. I need to get to bed, but I'll try and upload the fixed version over the weekend (need to double check something before I do). It was a problem with how I optimized my bubble sort, which compares the top 12 bits for the note position. The signed bit gets flipped on, resulting in high numbers being turned negative, and sorted before the first note in the pattern.
0そうだね
プレイ済み
返信[18]
親投稿
Squash glennxserge
Ok, I've updated the program to fix this issue, here's the new key: [ NDKJR3X3 ] Thanks for reporting this. Happy composing!
0そうだね
プレイ済み