Open JJL772 opened 8 months ago
This would also be nice to implement because loop points are a nonstandard addition to the wav spec and standard programs like Audacity don't support them
I'm not sure if wav has any comment capabilities like Ogg/FLAC. We can figure something out though.
MP3 apparently doesn't either, so loops will still be impossible with it :pensive:
The March 11 2024 update for P2:CE indicates that Ogg Vorbis and FLAC support has been added. https://store.steampowered.com/news/app/440000/view/4139442565108876292?l=english
However, this post is about looping OGG and FLAC audio files, similar to what FMOD and Wwise's custom interpretations of Vorbis do. Opus implementation by Strata Source is also worth it as well, but its CPU usage is huge, so be careful with this hi-tech lossy audio compression format.
The March 11 2024 update for P2:CE indicates that Ogg Vorbis and FLAC support has been added. https://store.steampowered.com/news/app/440000/view/4139442565108876292?l=english
However, this post is about looping OGG and FLAC audio files, similar to what FMOD and Wwise's custom interpretations of Vorbis do. Opus implementation by Strata Source is also worth it as well, but its CPU usage is huge, so be careful with this hi-tech lossy audio compression format.
Was this written by AI?
The March 11 2024 update for P2:CE indicates that Ogg Vorbis and FLAC support has been added. https://store.steampowered.com/news/app/440000/view/4139442565108876292?l=english However, this post is about looping OGG and FLAC audio files, similar to what FMOD and Wwise's custom interpretations of Vorbis do. Opus implementation by Strata Source is also worth it as well, but its CPU usage is huge, so be careful with this hi-tech lossy audio compression format.
Was this written by AI?
No, I wrote it by myself. This is my style, man! I was trying to be formal. I'm a human!
lol sorry I thought it was AI because it didn't seem to add much to the conversation and the last sentence sounded very much like GPT
i get the point of what you're trying to say now
What would be amazing for Momentum would be if we could add an extra property to ambient_generic
to signify the audio should loop,
Which component should be improved?
Audio
Describe your feature suggestion in more detail
Currently only WAV sounds can be looped, and this is done using special metadata that can be embedded in RIFF files (I don't know the specifics!).
According to a comment left in #24, GZDoom and RPGMaker use Ogg and FLAC comments to denote loop points. We should implement this in the same way.
See: https://zdoom.org/wiki/Audio_loop