LAGonauta / MetaAudio

GoldSrc engine plugin for 3D sound
GNU General Public License v2.0
98 stars 14 forks source link

[Regression] Some sounds stopped looping after FileSystem commit #12

Closed LAGonauta closed 4 years ago

LAGonauta commented 4 years ago

For some reason some audio files stopped being detected as looping by libsndfile (maybe by other decoders also). Example: plats/freightmove1.wav

l0m-dev commented 4 years ago

I also have trouble making a looping sound. Making loop points with wavosaur isn't working for me.

LAGonauta commented 4 years ago

@l0m-dev are you using version 0.0.9 or version 0.1.0? This regression was added in 0.1.0, are you also having problems with 0.0.9? Also, are you using wav files, mp3, flac...?

LAGonauta commented 4 years ago

Should be fixed on master, will do more testing before generating a new release.

l0m-dev commented 4 years ago

I was using wav files. I tried it on regular half life and it seems like I don't know how to make a looping sound in the first place. I thought adding looping points was enough.

LAGonauta commented 4 years ago

In theory one would just need to add cue points to the file 🤔

l0m-dev commented 4 years ago

Yeah. Maybe because of higher frequency it doesn't detect it as looping? 22kHz.

LAGonauta commented 4 years ago

Can you send me a sample file?

l0m-dev commented 4 years ago

Sure. https://www.mediafire.com/file/m2m0irjrymjxpzd/loop2.wav/file

LAGonauta commented 4 years ago

I opened the file in HxD and couldn't find any cue point (they come right after a cue marker in a WAV file), maybe the software is not conforming to the standard, or not working?

l0m-dev commented 4 years ago

Well no matter what I try I cannot get it to make a cue point.

LAGonauta commented 4 years ago

Closing as it was fixed.

LAGonauta commented 4 years ago

Some sound files are still not being detected as looping, such as ambience/warn3. Reopening.

LAGonauta commented 4 years ago

Hopefully fixed now.