I can't get it to work. I set LOOPSTART and LOOPEND and it plays the same as it did before.Wohlstand wrote:Looping musics (without replaying of music entrance part) now is possible!
Does it work in SMBX, or only in PGE?


Am I reading this right? SMBX does not natively use OGG without proper Luna code being installed. It works for anything using the SDL2_mixer files, so yes, PGE can do it. Use sample positioning when setting labels in the audio, and set the LOOPSTART and LOOPLENGTH sample numbers in the metadata upon export. Use LOOPLENGTH, because it works just about anywhere where it can be effectively used, including PGE and RPG Maker series.Sambo wrote:I can't get it to work. I set LOOPSTART and LOOPEND and it plays the same as it did before.Wohlstand wrote:Looping musics (without replaying of music entrance part) now is possible!
Does it work in SMBX, or only in PGE?
I do have LunaLua. I knew it wouldn't work with vanilla SMBX. But it isn't working in PGE or SMBX.Am I reading this right? SMBX does not natively use OGG without proper Luna code being installed.
It should work either way, and I don't use RPG Maker, so I don't really need to use LOOPLENGTH.Use LOOPLENGTH, because it works just about anywhere where it can be effectively used, including PGE and RPG Maker series.
I didn't write any front 0s in the meta.the samples should not include things like 002850271, but should really be 2850271. Those numbers are examples, all front 0s should not be in meta.


Could you try, at least? Both programs uses the same files, so all the steps are the same, too. I used the same method for 30+ musics, and the next step is to loop all the OGGs in the configs so Wohlstand won't have to.Sambo wrote:It should work either way, and I don't use RPG Maker, so I don't really need to use LOOPLENGTH.Use LOOPLENGTH, because it works just about anywhere where it can be effectively used, including PGE and RPG Maker series.


Exporting the audio directly from Audacity without using sox (unless you want a single mass conversion) should work, and the tags are correct with or without comments...It could very well be something with the SDL2 files, because the meta tags are correct. Be sure that you should try to play it in PGE. If it works there, but not SMBX, then talk to Kevsoft, as he knows more about LUA than I do.Sambo wrote:I tried that, still with no success. What am I doing wrong here?
Here is the metadata:
Edit: Removed the processed with SoX thing. It didn't have any effect.
)

Are you kept even one sample AFTER loop? You should keep even one sample after loop: please add short silence to end and retry itSambo wrote:I tried that, still with no success. What am I doing wrong here?
Here is the metadata:
Edit: Removed the processed with SoX thing. It didn't have any effect.
I cut out most of the music that wouldn't play with the loop, but I left at least 1000 samples after the place where the loop ends. Does there need to be silence at the end for it to work?Are you kept even one sample AFTER loop? You should keep even one sample after loop: please add short silence to end and retry it
So I can't have looping musics in LunaLua-SMBX at all? Or do you mean that LOOPLENGTH and LOOPEND should BOTH work? The language you used is a bit unclear.P.S. Mariofan 64 told than those OGG-files are will be playd with loop ONLY in PGE, in LunaLUA-SMBX (LOOPLENGTH and LOOPEND are both works) and in RPG-Maker (LOOPLENGTH works but LOOPEND is not supported)


Value of those samples is no matter, the thing is after loop end must be even one sampleSambo wrote:I cut out most of the music that wouldn't play with the loop, but I left at least 1000 samples after the place where the loop ends. Does there need to be silence at the end for it to work?
WILL work, because LunaLUA-SMBX uses same audio engine with PGE,Sambo wrote:So I can't have looping musics in LunaLua-SMBX at all? Or do you mean that LOOPLENGTH and LOOPEND should BOTH work? The language you used is a bit unclear.
What do you mean by "even one sample?" Do you mean EXACTLY one sample or AT LEAST one sample? Let me just send you the file to look at. Maybe then you can help me figure out the problem better.Value of those samples is no matter, the thing is after loop end must be even one sample


I downloaded it, and I fixed it up. It works for me in both programs I used, and was sealed-dealed in PGE, as it loops. I also got it more accurate in the sample numbers as well, so if you listened to it in Audacity or other program on a loop, there isn't as much choppy sound. I'll send a new download in PM. Technically, the theme you're using doesn't even need LOOPSTART and LOOPEND/LOOPLENGTH. You could've just cut the beginning silence and as close to the beginning of the theme again, and it can loop well that way. I do it too to save filesize, so don't feel guilty of not doing a loop if you can cut it and be smooth about it. I didn't improve the volume or any other changes, so it's still the same, and since it worked on my end, it should work on yours. If it doesn't, redownload PGE components.Sambo wrote:What do you mean by "even one sample?" Do you mean EXACTLY one sample or AT LEAST one sample? Let me just send you the file to look at. Maybe then you can help me figure out the problem better.Value of those samples is no matter, the thing is after loop end must be even one sample
https://dl.dropboxusercontent.com/u/37052080/Pokemon-%20Mystery%20Dungeon%20Explorers%20of%20Sky-%20Apple%20Woods-%20Music.ogg





Original link: https://www.youtube.com/watch?v=Ox31RezF-uw


And Windows 


Original link: http://www.youtube.com/watch?v=__1VpJk0Coc


Original link: https://www.youtube.com/watch?v=CdNsQNzB5Ho
Users browsing this forum: 1 guest