Is there a way to loop a portion of a .WAV file?

Started by Adam Novagen, May 16, 2018, 02:44:12

Previous topic - Next topic

Adam Novagen

Title mostly says it all. What I'm looking for is the ability to work with "loop points" in a .WAV file or other audio. Basically, imagine you have a music track that has an intro, and the rest of it loops; obviously if you loop the whole file, you'll just get the intro every time. Is it possible to get BlitzMax to loop back to a certain point within an audio file?

Alternative option: obviously I could take the aforementioned audio file and cut it into "intro.wav" and "loop.wav," but how would I guarantee that "loop.wav" would play seamlessly on time after "intro.wav" had finished?
We all know the main problem with dictionaries is that they contain too many words, and not enough butterscotch sauce!

GW

I think the fmod library can set loop points, but I've never done it. 

Henri

- Got 01100011 problems, but the bit ain't 00000001

Adam Novagen

Thanks. I've been working with Brucey's GME module via OpenAL, ran into some problems last night with the exported .VGM files from the program I'm using to compose but I thiiiiiiiink I've managed to work them out. I'll refer back to these suggestions if things go tits-up later.
We all know the main problem with dictionaries is that they contain too many words, and not enough butterscotch sauce!