|Anonymous | Login | Signup for a new account||2018-01-21 16:43 PST|
|Main | My View | View Issues | Change Log | Roadmap | Summary | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0008275||opensim||[REGION] Script Functions||public||2017-12-26 03:40||2018-01-08 10:51|
|Product Version||master (dev code)|
|Target Version||Fixed in Version|
|Summary||0008275: [FEATURE REQUEST] llStopSound has no effect on llPlaySound or llTriggerSound etc ...|
|Description||llStopSound has no effect on llPlaySound, llTriggerSound, LlTriggerSoundLimited etc ...|
This is really limited!
I think it would be nice if llStopSound also stop the sound for llPlaySound, llTriggerSound, etc. and not just for llLoopSound.
Indeed, sometimes we need to stop a sound immediately and we have no way to do it now. It is very frustrating!
If you do not want to implement it in an LSL function, you might want to do it with a new OSSL function ...
The sound module in opensim is already so poor :(((
|Tags||No tags attached.|
|Git Revision or version number|
|Run Mode||Grid (Multiple Regions per Sim)|
|Environment||.NET / Windows64|
|don't think this can work on current viewers :(|
|llStopSound works with llLoopSound so it should not be the end of the world to make it work with other sound functions like llPlaySound, llTriggerSound, LlTriggerSoundLimited etc ...|
edited on: 2018-01-06 16:53
Actually llLoopSound and llStopSound use a completely different signaling.
The two functions configure a prim property.
The functions llPlaySound and llTriggerSound on use a different signaling that just triggers the sound.
llStopSound stops llLoopSound by actually changing a prim property.
llPlaySound has its own trigger message AttachedSound in viewer sim protocol.
llPlaySound has replace characteristics so a newly triggered attached sound replaces see http://wiki.secondlife.com/wiki/LlPlaySound. [^]
Only, llPlaySound can get some stop semantics due to the possibility to change AttachedSound volume by message. However, it would just play to the end silently.
llTriggerSound has the message SoundTrigger in viewer sim protocol and is even unattached regarding prim which means the viewer even does not know where it belongs to. llTriggerSound triggered sounds are fully independent and have no replace semantics.
llTriggerSound cannot be stopped afterwards at all.
I am not sure if that is in working state in OpenSim but you can actually silence a llPlaySound by llAdjustSoundVolume.
Thank you FreakyTech for your detailed explanations.
Would not it be a good thing to make the necessary changes to make things better ... ?
It would then be possible to consider a "pause" sound for example.
These are still very basic things!
|2017-12-26 03:40||djphil||New Issue|
|2018-01-05 02:49||UbitUmarov||Note Added: 0032490|
|2018-01-05 03:55||djphil||Note Added: 0032492|
|2018-01-06 16:46||FreakyTech||Note Added: 0032493|
|2018-01-06 16:47||FreakyTech||Note Edited: 0032493||View Revisions|
|2018-01-06 16:53||FreakyTech||Note Edited: 0032493||View Revisions|
|2018-01-08 10:51||djphil||Note Added: 0032497|
|Copyright © 2000 - 2012 MantisBT Group|