MIDI Cleaner Error
- This topic is empty.
-
AuthorPosts
-
June 21, 2014 at 11:56 pm #390628
Hi all I’m getting a new error when I try to clean a midi. The only thing I changed from a previous version that didn’t get the error was to add vocals, so it must be coming from that, but heck if I know where to start looking. Here is the error:
Trying to clean MIDI file donnasfallbehindmev7.mid
Error cleaning MIDI file ‘donnasfallbehindmev7.mid’
The error says: Index and length must refer to a location within the string.
Parameter name: length
No files were cleaned
Ready
Thanks!
June 22, 2014 at 12:50 am #423204Upload the MIDI file somewhere. The error is not going to help anyone except me ” src=”/wp-content/uploads/invision_emoticons/default_SA_cheeky.001.gif” />
June 22, 2014 at 1:54 am #423210Here is the midi:
http://www.mediafire.com/download/5sdrs … ndMeV7.mid
Let me know if you need anything else.
June 22, 2014 at 3:34 am #423220Next update will have that issue fixed, for the meantime, the only big problems with that MIDI are the Guitar part has a 70+ ControlChange events, which are not allowed in RB but I believe are used by Phase Shift and also when you download a MIDI meant for synths, they include that. Get rid of them manually for now.
Also, at 40.4.00 you have the lyric “* ” (that’s an asterisk followed by a space). There is no way that belongs in a lyric event as you can’t sing/read that.
While I’m at it, to make vocals into talkies you put # immediately after the syllable, without a space in between. Right now you’re doing “And #” when it should be “And#”.
June 22, 2014 at 11:38 am #423233Interesting.
This is a PG convert, so I guess they also use ControlChange events. Never knew about those; ya learn something new every day. The weird thing is, the guitar part has never thrown an error for me and I can compile it fine when I don’t have the vocal part in there.
Bah stupid *s. Thought I got em all, but those little buggers are tough to see. From what I can tell it’s the PG equivalent of a ‘+’.
Heh, those talkies were created using CAT ” src=”/wp-content/uploads/invision_emoticons/default_SA_smile.gif” /> I thought they looked weird with the extra space but I trusted the tool ” src=”/wp-content/uploads/invision_emoticons/default_SA_smile.gif” /> The lyric event itself must have already had the space in there for whatever reason.
Thanks for the help! Now to see if the fixes let me compile…
June 22, 2014 at 12:35 pm #423235OK a couple things:
I can’t find the ControlChange events. It seems to work fine with them though so I’m not going to worry about them at the moment.
I made all the other fixes, exported and tried to clean, same error.
So I muted the vocal track, exported, cleaned no problem. Then I unmuted the vocal track, muted the guitar track, exported, tried to clean. Got error. So the problem is definitely with the vocal track.
Here is the mid with just the vocals after the first round of fixes:
http://www.mediafire.com/download/izyqr … dMeV10.mid
This is really perplexing me, but its a good learning experience I suppose.
June 22, 2014 at 12:55 pm #423236The vocals look done on a 1/16th grid and with no space between tubes. Which wouldn’t probably throw an error anyway but it’s not gonna be really that playable in game.
Since you’re doing conversions, thus not having the burden of learning right away how to author from scratch, I would suggest reading up the RBN docs for conventions and rules: http://pksage.com/rbndocs/
These rules are extremely important because they dictate what can and cannot be done in authoring. Also, they cover anything that will break gameplay even if your MIDI file compiles.
June 22, 2014 at 1:49 pm #423238I will review the RBN docs and see about bringing my customs up to code. Let it not be said I am not willing to improve my work.
In the meantime, you say it probably isn’t what is causing my error. Any insight as to what is?
June 22, 2014 at 1:51 pm #423239I thought me saying next update will have it fixed made it obvious it’s a bug in MIDI Cleaner. I’ll check the new MIDI and let you know.
June 22, 2014 at 2:25 pm #423241Oh. I guess I didn’t get what you were saying. Now that I think about it I’m not sure what was going through my head at all when I read that sentence. I will wait for the next release.
Just out of curiosity, what is causing the bug? It’s not something that happens to all vocal mids or there would be a riot ” src=”/wp-content/uploads/invision_emoticons/default_SA_smile.gif” /> Perhaps it’s something I can work around somehow, for the time being?
Oh also, to Farattone: I am going through the RBN docs section by section and updating my vocal chart to comply but I have a couple questions: When you say this chart seems to be authored in 1/16th is that just referring to the non-gaps between some note tubes? I’ve gone through and separated the offending notes but the docs don’t give an indication of how much of a break to put in. Is there a rule of thumb on this?
Thanks!
June 22, 2014 at 2:31 pm #423243You have spaces in your lyrics. Remove them all and it should work fine.
June 22, 2014 at 3:28 pm #423246Oh also, to Farattone: I am going through the RBN docs section by section and updating my vocal chart to comply but I have a couple questions: When you say this chart seems to be authored in 1/16th is that just referring to the non-gaps between some note tubes? I’ve gone through and separated the offending notes but the docs don’t give an indication of how much of a break to put in. Is there a rule of thumb on this?
Thanks!
All notes are currently snapping to a 1/16th grid, which is too approximated. You should at least switch to a 1/64th grid, as per docs, and check when the vocal note starts and when it ends, which also answers the second question. Right now almost every note ends right when the following starts, so your first issue is that notes are too long with respect to how long the notes are actually held by the singer. In those very rare cases where two notes actually are almost contiguous, leave at least a 1/64th space, as per docs.
June 22, 2014 at 4:00 pm #423249You have spaces in your lyrics. Remove them all and it should work fine.Ah, I see. That never would have occurred to me. I’ll get those excised.
Oh also, to Farattone: I am going through the RBN docs section by section and updating my vocal chart to comply but I have a couple questions: When you say this chart seems to be authored in 1/16th is that just referring to the non-gaps between some note tubes? I’ve gone through and separated the offending notes but the docs don’t give an indication of how much of a break to put in. Is there a rule of thumb on this?
Thanks!
All notes are currently snapping to a 1/16th grid, which is too approximated. You should at least switch to a 1/64th grid, as per docs, and check when the vocal note starts and when it ends, which also answers the second question. Right now almost every note ends right when the following starts, so your first issue is that notes are too long with respect to how long the notes are actually held by the singer. In those very rare cases where two notes actually are almost contiguous, leave at least a 1/64th space, as per docs.
OK. I’ll look into it.
Thanks for the help guys. Someday I hope to be a real author like you ” src=”/wp-content/uploads/invision_emoticons/default_SA_smile.gif” />
-
AuthorPosts
- You must be logged in to reply to this topic.