<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-CN">
	<id>http://i.bnu.edu.cn/wiki/index.php?action=history&amp;feed=atom&amp;title=LlPlaySound</id>
	<title>LlPlaySound - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="http://i.bnu.edu.cn/wiki/index.php?action=history&amp;feed=atom&amp;title=LlPlaySound"/>
	<link rel="alternate" type="text/html" href="http://i.bnu.edu.cn/wiki/index.php?title=LlPlaySound&amp;action=history"/>
	<updated>2026-06-01T03:38:29Z</updated>
	<subtitle>本wiki的该页面的版本历史</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>http://i.bnu.edu.cn/wiki/index.php?title=LlPlaySound&amp;diff=807&amp;oldid=prev</id>
		<title>Ty：创建页面，内容为“{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}}   {{函数详情 |函数名 = Function: llPlaySound( string sound, float volume ); |参数= 参数…”</title>
		<link rel="alternate" type="text/html" href="http://i.bnu.edu.cn/wiki/index.php?title=LlPlaySound&amp;diff=807&amp;oldid=prev"/>
		<updated>2020-08-23T13:18:54Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}}   {{函数详情 |函数名 = Function: llPlaySound( string sound, float volume ); |参数= 参数…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{函数详情&lt;br /&gt;
|函数名 = Function: llPlaySound( string sound, float volume );&lt;br /&gt;
|参数= 参数：&lt;br /&gt;
• string	sound	–	a sound in the inventory of the prim this script is in or a UUID of a sound	&lt;br /&gt;
&lt;br /&gt;
• float	volume	–	between 0.0 (silent) and 1.0 (loud) (0.0 &amp;lt;= volume &amp;lt;= 1.0)&lt;br /&gt;
|返回值= 返回值：&lt;br /&gt;
播放一次附加声音的音量&lt;br /&gt;
|注意事项=&lt;br /&gt;
注意事项&lt;br /&gt;
*如果声音是从 prim 的库存丢失，它不是一个 uuid 或它不是一个声音，然后一个错误是在调试通道喊叫。&lt;br /&gt;
*如果声音是 uuid，那么对象不会有新的资产权限结果。&lt;br /&gt;
 结果对象不会产生任何新的使用限制，如果资产被放置在 prims 库存中，则可能会产生这种限制。&lt;br /&gt;
*调用 llplaysound 可以替代任何其他声音(这样同一个 prim 只能同时播放一个声音) ，除了以不推荐的 llsound 开头的声音，它总是播放声音文件直到结束。&lt;br /&gt;
*声音文件必须是10秒或缩短。&lt;br /&gt;
*声音总是采样在44.1千赫，16位，单声道(立体声文件将有一个通道下降 -- 合并(如合并) -- 上传时)。&lt;br /&gt;
*如果播放声音的物体是一个 hud，声音只能被用户听到 hud 连接到。&lt;br /&gt;
 用触发器发出声音来播放世界上的声音。&lt;br /&gt;
*不可能同时播放两种(或更多)声音，并且让它们在同一时间开始播放&lt;br /&gt;
 如果多个声音发射器同时在观看者的范围内播放相同的声音，由于服务器/客户端和脚本执行及通信延迟之间的延迟，它们通常不同步。这可以产生回声，奇怪的共振，和其他奇怪的影响，你(可能)不希望。&lt;br /&gt;
|示例=&lt;br /&gt;
示例一&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
default&lt;br /&gt;
 {&lt;br /&gt;
     state_entry()&lt;br /&gt;
     {&lt;br /&gt;
          llPlaySound(&amp;quot;some_sound&amp;quot;,1.0);&lt;br /&gt;
     }&lt;br /&gt;
 }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|相关函数=&lt;br /&gt;
[[llTriggerSound]]--播放独立的声音&lt;br /&gt;
&lt;br /&gt;
[[llTriggerSoundLimited]]&lt;br /&gt;
&lt;br /&gt;
[[llLoopSound]]--播放声音&lt;br /&gt;
&lt;br /&gt;
[[llLoopSoundMaster]]&lt;br /&gt;
&lt;br /&gt;
[[llLoopSoundSlave]]&lt;br /&gt;
&lt;br /&gt;
[[llPlaySoundSlave]]&lt;br /&gt;
&lt;br /&gt;
[[llSetSoundQueueing]]&lt;br /&gt;
&lt;br /&gt;
[[llStopSound]]&lt;br /&gt;
|相关事件=&lt;br /&gt;
&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Ty</name></author>
		
	</entry>
</feed>