llLoopSound(); Is not looping

Creating scripts
Post Reply
User avatar
Donny Pepos
Posts: 2
Joined: Sun Oct 25, 2015 6:46 pm
Has thanked: 0
Been thanked: 2 times

llLoopSound(); Is not looping

Post by Donny Pepos »

llLoopSound("ID",1.0); //does not function as intended, and plays sound only once as if it was llPlaySound("ID",1.0);

Is this a well known bug?
These users thanked the author Donny Pepos for the post:
Selby Evans
User avatar
Donny Pepos
Posts: 2
Joined: Sun Oct 25, 2015 6:46 pm
Has thanked: 0
Been thanked: 2 times

Re: llLoopSound(); Is not looping

Post by Donny Pepos »

Donny Pepos wrote:llLoopSound("ID",1.0); //does not function as intended, and plays sound only once as if it was llPlaySound("ID",1.0);

Is this a well known bug?
This issue seems to be a reversal issue, llPlaySound is looping, while llLoopSound is Playing only once.
These users thanked the author Donny Pepos for the post:
Selby Evans
User avatar
Ilan Tochner
Posts: 6727
Joined: Sun Dec 23, 2012 8:44 am
Has thanked: 5249 times
Been thanked: 4674 times
Contact:

Re: llLoopSound(); Is not looping

Post by Ilan Tochner »

Hi Donny,

There are several known bugs with how these functions are implemented in the current version of OpenSim, see for example: http://opensimulator.org/mantis/view.php?id=7193
User avatar
Kayaker Magic
Posts: 354
Joined: Sun Dec 01, 2013 8:40 am
Has thanked: 52 times
Been thanked: 393 times

Re: llLoopSound(); Is not looping

Post by Kayaker Magic »

I don't see this problem. I have some complex scripts that depend on llPlaySound and llLoopSound.
My steam whistle uses llPlaySound to play the sound of the whistle starting up, then a second prim overlaps the end of that sound with the steady state sound of the whistle. I leave this running with llLoopSound as long as you hold the mouse down, and when you let go I have the first prim start the sound of the whistle shutting down with llPlaySound and stop the llLoopSound. If llPlaySound looped, this would be horribly messed up, but I just went to my store on Panthalassa and clicked on the demo horn and whistle, they work as I expect.
Post Reply