libertyernie / LoopingAudioConverter

A converter frontend for loopable audio formats
174 stars 16 forks source link

Files converted from .hps loop/end too early #13

Closed Singularity3 closed 7 years ago

Singularity3 commented 7 years ago

When I convert .hps files to .brstm, the final few seconds of the file are missing. This happens on both normal and custom looped .hps files. The .hps files in question are made with dsp2hps, and I've tested them to make sure they sound right in .hps.

I've attached two conversions: the first is a file converted from .hps (which was converted from .wav), and the second is the same song converted directly from .wav.

output.zip

libertyernie commented 7 years ago

Can you also send me the .hps file?

Singularity3 commented 7 years ago

LOOP2.326EO4_Faith_Is_My_Pillar.wav.hps.zip

libertyernie commented 7 years ago

Thanks. The .hps file has a loop point, but it doesn't seem like it's in the right place. That might be part of the problem.

Singularity3 commented 7 years ago

That's odd; it sounds like it's in the right place when played through Melee, but maybe it reads the file differently.

libertyernie commented 7 years ago

I suppose that could be. I did try both vgmstream and VGAudio and they did the same thing, but maybe Melee's .hps are different somehow from a normal .hps? I'm not very familiar with it.

Singularity3 commented 7 years ago

In any case, this program is likely working as intended; I'll probably just have to reconvert from .wav. Thanks!

Singularity3 commented 7 years ago

As an aside, is there any easy way to set loop-end in the loop.txt file to the end of the song without having to figure out total samples each time?

libertyernie commented 7 years ago

I don't think there is now, but that's a good idea.