Language…
17 users online: Alewx_, amie5057,  bebn legg, carlofe92, Daldi, Exodust, Fullcannon, GreenCelery27, Link13, MarkVD100, NastyTriangle, neidoodle, Seamus Sinclair, Snowfool948, SomeGuy712x, TheReverserOfTime,  xHF01x - Guests: 344 - Bots: 152
Users: 70,244 (2,565 active)
Latest user: SuperCheetos31

mml2sfx v2.0: The Rewrite

ToolResource Release


↑ I'm clickable! ↑


Hi there. If you've perused the Online Tools section, you might've seen a tool I wrote a while ago called mml2sfx. In short, it's a tool that converts MML syntax into sound effect bytes, so you don't have to manually deal with a wall of hex when making custom sound effects.

A few months ago,  Segment1Zone2 reported a bug to me regarding duplicate note lengths. I wanted to fix it, but looking at the code almost a year later made me realize how much of it was pure spaghetti. So rather than grapple with my mess, I took it upon myself to rewrite the whole thing from scratch in a way that makes more sense. If you're just an end-user, perhaps the differences won't be so apparent, but for me at least, it's reassuring to know that the underlying code isn't so held together with duct tape.

I mostly finished it right then and there, and then kind of slept on it again for a few months. Then, with C3 approaching, I thought it'd be a good opportunity to jump back into it and finish the rewrite. I stayed up a little too late fixing up some bugs last night, and so here we are. Before I submit to the Online Tools section, however, I did want to gather some feedback from any interested testers.  AmperSam has graciously offered to host the tool temporarily (and fixed up some of my CSS #tb{;)}), so have at it if you'd like (and give them a big thank you).

If you find any bugs or have questions, feel free to reply in this thread or PM me. I'll also update the thread in Resource & Tool Releases after C3!

Happy sound effecting!

Yay, congrats on the rewrite Bebn!!

This is such a useful tool for a lot of people, so I'm glad you've still been giving it the care it deserves. I don't think I have it in me to do any sort of in-depth testing, but I can confirm it at least outputs hex bytes and gives warnings for unknown commands. 😝

Thank you for writing the tool in the first place, and big thanks to Amper for temporarily hosting it as well!
What is a Lunar Magic, and can I eat it?
Nice tool for making SFX!

I think it should integrated with AMK.
This would have been useful to know about the one time I tried to make a sound effect a couple of years ago. #ab{^^;;;}

Originally posted by bebn legg
A few months ago,  Segment1Zone2 reported a bug to me regarding duplicate note lengths. I wanted to fix it, but looking at the code almost a year later made me realize how much of it was pure spaghetti. So rather than grapple with my mess, I took it upon myself to rewrite the whole thing from scratch in a way that makes more sense. If you're just an end-user, perhaps the differences won't be so apparent, but for me at least, it's reassuring to know that the underlying code isn't so held together with duct tape.

Regardless, your efforts aren't going unappreciated! I love tidying up code, and I can really relate to the satisfaction.

Originally posted by bebn legg
Then, with C3 approaching, I thought it'd be a good opportunity to jump back into it and finish the rewrite.

That too I can relate too way too much.


 
Am I understanding correctly? Is this a tool that simplifies the process of creating custom SFX for SMW? Because that's huge if true! Custom SFX feels like one of the final barriers for SMW that's still left to be broken. So much so that I've occasionally thought about creating a tool for that myself - though I know way too little about sound effects for that to be possible right now.

How do SFX in SMW even work? Are they actually just small custom music in disguise? Because this tool seems to imply that to me.
Feel free to visit my website/blog - it's updated rarely, but it looks pretty cool!

ToolResource Release