Language…
5 users online: fsvgm777, JezJitzu, KoJi, Pink Gold Peach, sempf 84 - Guests: 263 - Bots: 380
Users: 64,795 (2,377 active)
Latest user: mathew

A channel getting out of loop.

I've ported a song from a MIDI, and so far, it's going really good... except for the SPC. Once I play it, the first loop of the song is fine. When the song starts over though, one of the channels gets out of sync. I've checked in my TXT and SPC, and it seems like Channel 1 or 2 is the culprit. I've tried various things like changing the loop point, but moving it by a bar doesn't seem to change it for the better. And yes, I'm sure it's the loop points, as I've tried on a copy of the file that doesn't have the shorten commands (the [] thing), and it plays out the same.

This is the SPC...
...and this is the TXT.

I'm thinking maybe putting the loop point in the middle of one of the lines, but I'm not 100% sure, can you guys help me find the issue? Cause it's driving me insane, TBH.
Porting music is like walking down a street. Sometimes it goes nicely and sometimes you wANT TO STAB SOMEONE IN THE HEAD DUE TO HOW HARD TH IS IS
The issue you describe is on channel 2 (#1). The spot where you want the loop to start is a place where #1 has an echo, which can be heard a 16th note after #0. The problem in this case is that you've set the loop on #1 to happen right on the onset of its echo, not a 16th-note before to match #0. Furthermore, to create that 16th-note offset initially, there is a rest that ties over the bar. The r8 right before the / in #1 is half-in the previous bar, half in the next. So you somehow need to put a loop in the middle of that rest to line it up with everything else's loops.

To do this, go to the / in #1. Above it, where the r8 is, change this to r16. Then below the /, add a r16 before the notes. This will split the previously mentioned rest into two separate rests, allowing the loop to settle right in between them where it belongs.

This is unfortunately something you have to deal with especially when using midi to mml converters. They obviously don't know what you're trying to do or where your loop is, so they'll represent the material as succinctly as is feasible. But if something ties over a loop boundary you'll have to split the command that's tied over into pre and post loop segments so that you can put the loop between those segments. This, I think, is what contributes to a lot of issues with loops going out of sync for people.

I hope this has helped and you've been able to follow my explanation!
Make more of less, that way you won't make less of more!
Originally posted by musicalman
The issue you describe is on channel 2 (#1). The spot where you want the loop to start is a place where #1 has an echo, which can be heard a 16th note after #0. The problem in this case is that you've set the loop on #1 to happen right on the onset of its echo, not a 16th-note before to match #0. Furthermore, to create that 16th-note offset initially, there is a rest that ties over the bar. The r8 right before the / in #1 is half-in the previous bar, half in the next. So you somehow need to put a loop in the middle of that rest to line it up with everything else's loops.

To do this, go to the / in #1. Above it, where the r8 is, change this to r16. Then below the /, add a r16 before the notes. This will split the previously mentioned rest into two separate rests, allowing the loop to settle right in between them where it belongs.

This is unfortunately something you have to deal with especially when using midi to mml converters. They obviously don't know what you're trying to do or where your loop is, so they'll represent the material as succinctly as is feasible. But if something ties over a loop boundary you'll have to split the command that's tied over into pre and post loop segments so that you can put the loop between those segments. This, I think, is what contributes to a lot of issues with loops going out of sync for people.

I hope this has helped and you've been able to follow my explanation!


Thanks, that worked. Also, I made the edits manually on my text editor, so I didn't know what the issue was.
Porting music is like walking down a street. Sometimes it goes nicely and sometimes you wANT TO STAB SOMEONE IN THE HEAD DUE TO HOW HARD TH IS IS