Basically 3 variables: sound.start, sound.end, and sound.loop.
sound.start: When playing the sound, the sound starts here, and continues to loop from here. specified in bytes.
sound.end: When playing the sound, the sound ends here, and if looping, continues back from sound.start.
sound.loop: When looping a sound, the sound begins from here, allowing for the intro to be included in the sound initially. The sound will loop from sound.start when the sound reaches sound.end.
sound.start would be initialized to 1, while sound.end could be initialized to 0 (which which be considered the final byte in the sound).
sound.loop would default to sound.start if not explicitly defined.
This feature would be rather useful for projects using background music with an intro that's not supposed to play upon loop.
Nov 30 2013, 4:39 am (Edited on Sep 10 2015, 5:54 am)