Language…
11 users online:  AmperSam, baconsks, BlueSheep123, Dongulusrift, MorrieTheMagpie, Natsuz2, oliver1, RareMojo,  StayAtHomeStegosaurus, steelsburg, Zavok - Guests: 129 - Bots: 224
Users: 64,666 (2,405 active)
Latest user: Dongulusrift

PetiteMM - A TinyMM Alternative

Hey Guys,

like the title says, this thread's about a small tool called PetiteMM (get it here). First, this program is coded by loveemu, not by me.

I just wanted to show it and draw attention to a (in my opinion better) TinyMM.

What it does?
  • Automatic Tempo Converting (gives out the Tempo via tXXX at the Top of the TXT)
  • Automatic Note shrinking
  • Accepts most MIDI's TinyMM can't convert
  • Automatic Sorting


Only negative Thing is that there's no big Sign that shows where a Channel ends. The channels are seperated by a semi-colon.

Just drag your MIDI onto the Batch File and here you go.
Does it convert triplets?
I have a hack thread - Link (Now with a demo!)
Also a music thread - Link

C3 Projects
2013: Modern Spiny Pack
2012: MGSS v0.1
Spring 2010: SMB2 Autobomb Sprite
Panning support, velocity support? What about timesig linebreaking?

Either way, this is super incredible, you have saved many hours of me working with shufflebeat stuff.

Thanks a ton, really.

EDIT: [18:02:23] Jimmy52905: "java" is not recognized as an internal or external command, operable program or batch file

^I've gotten this error myself too. Jimmy and I both use Windows 8.

I've got someone who confirmed it works on Windows 7 though. Anyone with windows 8 got the program working?
This is indeed a pretty good and useful program, but you still need to do some manual fixing, like actual converting the tempo (since it exports BPM apparently?), the > and < that are reversed and the ties without length (like a4^) that sometimes appears.

Still, I might use this since I don't really have the patience to transfer all the notes to a txt manually, especially for long songs. Good find!
Originally posted by CrispyYoshi
I've got someone who confirmed it works on Windows 7 though. Anyone with windows 8 got the program working?

You have to run it manually in command prompt:
Code
PetiteMM.jar midiname.mid

I use Windows 8 and this works for me.
soundcloud / bandcamp / twitter / buy/stream my EP / buy my touhou music / buy my NEW album!!!
Originally posted by X-cniS
Originally posted by CrispyYoshi
I've got someone who confirmed it works on Windows 7 though. Anyone with windows 8 got the program working?

You have to run it manually in command prompt:
Code
PetiteMM.jar midiname.mid

I use Windows 8 and this works for me.

EDIT2: Holy crap, this program auto-linebreaks by timesig as specified by the MIDI (I personally use Noteworthy Composer and it's great for timesig changing mid-song). This is freaking amaaaaazing.

EDIT: I just found the arguments in the source code:
Originally posted by PetiteMM.java
"--dots", "<count>", "Maximum dot counts allowed for dotted-note, -1 for infinity. (default=" + Midi2MML.DEFAULT_MAX_DOT_COUNT + ")",
"--timebase", "<TPQN>", "Timebase of target MML, " + Midi2MML.RESOLUTION_AS_IS + " to keep the input timebase. (default=" + Midi2MML.DEFAULT_RESOLUTION + ")",
"--input-timebase", "<TPQN>", "Timebase of input sequence, " + Midi2MML.RESOLUTION_AS_IS + " to keep the input timebase. (default=" + Midi2MML.RESOLUTION_AS_IS + ")",
"--quantize-precision", "<length>", "Specify the minimum note length for quantization.",
"--no-quantize", "", "Prevent adjusting note length. Result will be more accurate but more complicated.",
"--octave-reverse", "", "Swap the octave symbol.",
"--use-triplet", "", "Use triplet if possible. (really not so smart)",


To make it less of a pain in the ass, I wrote a batch that searches for all ".mid" files in the folder and TXT's them. It also fixes the flipped octave issue:

Code
@for %%a in (*.mid) do PetiteMM.jar --octave-reverse %%~na.mid %%a


This batch should help everyone. Alternative lazy download: http://potatochan.com/files/PetiteMM.bat
The initial link says the file has been deprecated and that I should download the new version. Is there a link to the new version somewhere? I couldn't find it on the original site.

e: never mind, found it by searching a bit harder. Just ran a MIDI through it and I can already tell how fantastic this actually is. My interest for porting may have been rekindled.
Originally posted by S.N.N.
The initial link says the file has been deprecated and that I should download the new version. Is there a link to the new version somewhere? I couldn't find it on the original site.

e: never mind, found it by searching a bit harder. Just ran a MIDI through it and I can already tell how fantastic this actually is. My interest for porting may have been rekindled.

Oh hey, looks like they updated it today: https://code.google.com/p/loveemu/downloads/detail?name=PetiteMM-20130902.7z

EDIT: I can't read. Oh well, at least this post provided the link, lol



Exception in thread "main" java.lang.IllegalArgumentException: Too many arguments.
at PetiteMM.main(PetiteMM.java:151)
Press any key to continue . . .





Azunyan >>>>>>>>>>>>>> all other waifus on this site

Links to other places I am:
My site - My YouTube channel - MyAnimeList - My Twitter

PM me and I may put your userbar to the left!



Tag (idiocy) was not closed.
Originally posted by nambona890
Exception in thread "main" java.lang.IllegalArgumentException: Too many arguments.
at PetiteMM.main(PetiteMM.java:151)
Press any key to continue . . .

Solution
Bump.

When I first tried PetiteMM a while ago, I get this error: http://prntscr.com/6qxj8f

What am I doing wrong?
100% Orange Juice Playthrough:
https://www.youtube.com/playlist?list=PLf1kPWkjcurtA3xPP3TybfqSiEn1AcX2A

VLDC9 Playthrough:
https://www.youtube.com/playlist?list=PLf1kPWkjcurtiP5de_-e6q0hSVrY37RB-.


You must have no spaces between folders.

e: typo
That's just stupid!

*When saw post*

Me: Seriously? Really?..RReally?

That is now my 1 complaint about that program PetieMM.

It made me pissed off for a second.

How am I suppose to know that in the first place?
100% Orange Juice Playthrough:
https://www.youtube.com/playlist?list=PLf1kPWkjcurtA3xPP3TybfqSiEn1AcX2A

VLDC9 Playthrough:
https://www.youtube.com/playlist?list=PLf1kPWkjcurtiP5de_-e6q0hSVrY37RB-.


Fanatical like a Demon
Originally posted by MarkD
That's just stupid!

*When saw post*

Me: Seriously? Really?..RReally?

That is now my 1 complaint about that program PetieMM.

It made me pissed off for a second.

How am I suppose to know that in the first place?

A lot of loveemu's SPC tools don't allow for spaces in the name's of things. There's a future tip for ya.
Major thanks to Suika Ibuki for layout!
I'm open for music requests, just DM me on discord and we can further discuss there.
SMAS Soundtrack Status: 100% finished
YI Soundtrack Status: 100%
YI Unsampled Soundtrack Status: 100%
NSMB Soundtrack Status: 7.89%
Killer Instinct Soundtrack Status: 14.63%
SPC Thread
From our family to you, keep your pants dry, your dreams wet, and remember, hugs not drugs.
If you absolutely need spaces in the name, just put quotes around the offending file.

petitemm.exe "LOL MIDI.mid"
Thanks! Unfortunately, It requires Command Prompt for it to work correctly.
100% Orange Juice Playthrough:
https://www.youtube.com/playlist?list=PLf1kPWkjcurtA3xPP3TybfqSiEn1AcX2A

VLDC9 Playthrough:
https://www.youtube.com/playlist?list=PLf1kPWkjcurtiP5de_-e6q0hSVrY37RB-.


Originally posted by MarkD
Thanks! Unfortunately, It requires Command Prompt for it to work correctly.


wait what if that's the point