MIDI Cleaner Error

  • This topic is empty.
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #390628
    Kemiroch
    Participant

      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!

      #423204
      TrojanNemo
      Participant

        Upload the MIDI file somewhere. The error is not going to help anyone except me <img decoding=” src=”/wp-content/uploads/invision_emoticons/default_SA_cheeky.001.gif” />

        #423210
        Kemiroch
        Participant

          Here is the midi:

          http://www.mediafire.com/download/5sdrs … ndMeV7.mid

           

          Let me know if you need anything else.

          #423220
          TrojanNemo
          Participant

            Next 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#”.

            #423233
            Kemiroch
            Participant

              Interesting.

               

              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 <img decoding=” src=”/wp-content/uploads/invision_emoticons/default_SA_smile.gif” /> I thought they looked weird with the extra space but I trusted the tool <img decoding=” 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…

              #423235
              Kemiroch
              Participant

                OK 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.

                #423236
                Farottone
                Keymaster

                  The 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.

                  #423238
                  Kemiroch
                  Participant

                    I 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?

                    #423239
                    TrojanNemo
                    Participant

                      I 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.

                      #423241
                      Kemiroch
                      Participant

                        Oh. 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 <img decoding=” 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!

                        #423243
                        TrojanNemo
                        Participant

                          You have spaces in your lyrics. Remove them all and it should work fine.

                          #423246
                          Farottone
                          Keymaster

                            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.

                            #423249
                            Kemiroch
                            Participant
                              You 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 <img decoding=” src=”/wp-content/uploads/invision_emoticons/default_SA_smile.gif” />

                            Viewing 13 posts - 1 through 13 (of 13 total)
                            • You must be logged in to reply to this topic.
                            Back to top button