How to loop a sound?
BlitzMax Forums/BlitzMax Beginners Area/How to loop a sound?
| ||
Hi, the "LoopSound" comand is no more, how can I loop my little ogg-tune? There isn't even a comand to check if a channel is currently playing, so I can resume the sound, when the channel has stopped. Or did I missed something? |
| ||
Look in the OldSkool2 demo sample. Sorry I don't have the source with me, so can't post the relevant bit. :o< |
| ||
I believe you set the sound to loop when loading it (second parameter to true). |
| ||
How does one go about generating music or sounds in the oggvorbis format? Are their programs for the Mac that do this, any free ones, or are they all commercial? |
| ||
Here ya go: OS X: http://www.vorbis.com/software.psp?pid=4 Windows: http://www.vorbis.com/download_win.psp Linux: http://www.vorbis.com/software.psp?pid=1 |
| ||
how to stop sound looping. why there is no command for Loopsound(Sound*,False)! how do i get the channel handle? so i can stop it or pause. Last edited 2012 |
| ||
it is possible to do, but you have to drill into the source code of free audio and modify the c++ code for the module i'm afraid :( |