Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Sound looping fail

Author
Message
nz0
AGK Developer
17
Years of Service
User Offline
Joined: 13th Jun 2007
Location: Cheshire,UK
Posted: 13th Mar 2013 00:18
I have had this issue before, but can't seem to tweak this sound to work with AGK.

This sound loops seamlessly in every sound player I have to test it in, but AppGameKit adds a small blip to the loop.

The sound is 22Khz MONO PCM WAV.

I've got other loop sounds to play 100% by fiddling a few bytes off (even though they sound right in everything else)

I thought I'd get another opinion on this one, because I just can't tweak it to be seamless in AGK.

Attachments

Login to view attachments
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 13th Mar 2013 09:07 Edited at: 13th Mar 2013 09:07
I've been checking the length of a sound in an editor like Audacity (free) and then manually testing for the end of the sound being reached and manually restarting the sound. Another solution that works for me sometimes is to use the "getSoundsPlaying" command to test for the end of the sound. Neither solution is ideal and my own hope is that the sound commands get looked at seriously in the next update. There are a number of shortfalls currently in the sound/music commands which I can only apologise for at this time.


this.mess = abs(sin(times#))

Login to post a reply

Server time is: 2024-11-24 09:48:14
Your offset time is: 2024-11-24 09:48:14