Code:
// lets just say song_intro is in a .ogg file format
// i've already trimmed the music to be two files: music_intro & music via sony vegas
src << sound(music_intro, channel = 2)
src << sound(music, channel = 2, repeat = 1, wait = 1)
Problem description:
This works, but most of the time, there's a small delay when switching to the looped portion of the sound. Rarely is there ever that small delay not appearing. I feel like there's a better way to approach this, yet I can't figure out how. I've even tried looping the .ogg files myself through audacity, but it doesn't seem to loop in BYOND.