LoginLogin

MML_Editor

Root / Submissions / [.]

raimondzCreated:
Download:8R3V43D4
Version:0.96.1Size:27320
This is a program to edit MML and play it on the same screen. It also has some shortcut on the lower screen. The files generated with this program could be loaded on others with the following comands: VAR music$=LOAD("TXT:[name].mml",0) BGMPLAY music$

Instructions:

Instruction are on the help button. Note that the mml validation only check the format of the input, not the value. For example, "L0" will pass the validation but also crash the app.

Notes:

TODO: -Improve MML Validation. -Show line number -Improve file selector. -Add options screen. V0.96.4 - FIxed lowerdash bug on Smilebasic 3.5.2 V0.96.3 -Added a temporal file in slot 1 if the app crash. This file will genereate each time you play a song(It doesn't promt the save dialog). V0.96.2 -Show instrument name on the lower screen. V0.96.1 BUGFIX -Fixed crash when the trying to load a file with more than 10 characters. -Fixed crash when trying to play a single channel with a long song(FORMAT$ doesn't allow long string). V0.96 -Text selector. -Copy paste function. -The color of the cursor is green. V0.95 -Improved interface. -Migrated code to lowerdash -Added volume controller. -Disabled file explorer. -Remade editor code(EditText) -If you hold a button, it will repeat the action after 20 frames. V0.9(X5VE383V) -Added scrollable file explorer. -Removed function to ignore brackets. V 0.8 -Preliminar MML validation using regex -Added option to disable bracket reading while playing the current channel() -Edit: Update in game documentation. V 0.7.1 -Fixed issues with the cursor. -Fixed issue with the text editor were the text would overlap the right line. V 0.7 Release

Very nice work. Maybe adding the manual info on mml in the help dialog, for reference to people such as myself could learn about it while being able to use a really nice tool as this. Keep my eye on this one!

Very nice MML editor!

Cool! I'm looking forward to try this :)

This is a fantastic tool! Makes it a lot easier on me to compose music, so I really appreciate it! There's a few little things that I would like to see implemented in a later version, though. - A way to copy and paste - A way to scroll through the text without having to rapidly push the left and right buttons. Like, holding down left or right to make it scroll, for example - A way to play all of the channels at a specific spot; having to listen to the entire song just to hear if it sounds right at a specific spot is pretty tedious. Other than those nit-picks, I'm having a lot of fun working with this! Thank you so much!

Your megalovania is a bit off key. But still cool. I'm bad at MML but good at finding stuff! Kind of, Wasn't really that hidden.

Try changing the L16 to L35.

Replying to:JoshingWithYa
This is a fantastic tool! Makes it a lot easier on me to compose music, so I really appreciate it! There's a few little things that I would like to see implemented in a later version, though. - A way to copy and paste - A way to scroll through the text without having to rapidly push the left and right buttons. Like, holding down left or right to make it scroll, for example - A way to play all of the channels at a specific spot; having to listen to the entire song just to hear if it sounds right at a specific spot is pretty tedious. Other than those nit-picks, I'm having a lot of fun working with this! Thank you so much!
Thanks for your feedback. I'm going to do this project again because the code seems disordered and I'm going to use sprites instead of graphic for the bottom screen. The first 2 things can be implemented. I don't know if I can do the last one but I will give it a try.

Replying to:UltraPhoenix4
Try changing the L16 to L35.
That is too fast. I think it sound ok but you should increase the tempo if you think it's too slow.

Replying to:JoshingWithYa
This is a fantastic tool! Makes it a lot easier on me to compose music, so I really appreciate it! There's a few little things that I would like to see implemented in a later version, though. - A way to copy and paste - A way to scroll through the text without having to rapidly push the left and right buttons. Like, holding down left or right to make it scroll, for example - A way to play all of the channels at a specific spot; having to listen to the entire song just to hear if it sounds right at a specific spot is pretty tedious. Other than those nit-picks, I'm having a lot of fun working with this! Thank you so much!
Sounds great! I'm really looking forward to it!

Hey! For some reason, it decided to scroll now! I guess there must've been a glitch or something preventing me from doing it before, but I'm able to do it now! All I do is hold the left or right button, and whoosh! There the cursor goes!

Don't use sprites for the bottom screen, text seems like a better choice.

Replying to:12Me21
Don't use sprites for the bottom screen, text seems like a better choice.
I changed from text to sprite because it's easier to handle click actions(I just need to check collition instead of iterating on each button to know if a click was made). Also, I done this to make space for other functionalities.

Replying to:12Me21
Don't use sprites for the bottom screen, text seems like a better choice.
Hmm... I should make a button library, with stuff like: DEFBTN ID,X,Y,W,H 'create button CHKBTN(ID) 'check if button is pressed CHKBTN(-1) 'return the ID of the button being pressed

I love composing music, and now, composing it for SmileBASIC is no longer a pain in the you-know-what. Thanks. I only have one request. And it's already on your todo list, but it's to fix those dialog boxes that say missing bracket, etc. Edit: Also the panpot command "P[0-127]" isn't supported for some reason

Replying to:NateDogg1232
I love composing music, and now, composing it for SmileBASIC is no longer a pain in the you-know-what. Thanks. I only have one request. And it's already on your todo list, but it's to fix those dialog boxes that say missing bracket, etc. Edit: Also the panpot command "P[0-127]" isn't supported for some reason
Sorry, I haven't added support to that syntax in the regular expresion. I just added the ones that were easy to validate because if the value of something is wrong(Example: L0), then the application would crash. Now, I included a feature to use the page 1 as a temporal file. With that, it doesn't matter if the app crash with a validation error from BGMPLAY because the song will be stored in slot 1(Unless you open another program after the crash). I'll add regular expresion for the syntax that isn't supported by the app(Pan, Envelop, Mon, etc).

Fantastic tool for building music, the thing that makes this stand out is the fact that it focuses on usability as the main priority, so if you want to efficiently get stuff done with a professional tool to build high quality music, this is the tool for you. Thank you raimondz