Problem with AGS chopping off the end of a song...

Started by NavyNuke04, Thu 19/02/2004 16:01:31

Previous topic - Next topic

NavyNuke04

I'm trying to play two songs (one right after the other). When I play them in WinAmp, they are seamless, but in AGS it sounds as though the first song gets a split second chopped off. I tried playing the first song by itself, and it still sounds like its getting chopped off too soon.

Here is the script I'm using:
SetMusicRepeat(0); //turns music looping off
PlayMusic(1);//intro piece: played once
SetMusicRepeat(1); //turns music looping back on
PlayMusicQueued(2);//loop: played repeatedly after intro finishes  

The objective of the code is to play an intro followed by a repeating loop. As I said, the intro gets chopped off, so the transition isn't smooth like I'd like it to be.

Could this possibly be a bug with AGS?

Scummbuddy

#1
I do believe this is known, and the only workaround that i can remember is to add a couple seconds of dead silence onto the end. youll probably have to experiment to find the correct amount of time to add to make it sound seamless.
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

NavyNuke04

As I feared... I hate fixing things by working around them like that... Do you know if the bug is on CJ's to-do list?

SMF spam blocked by CleanTalk