﻿<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=%E5%88%A9%E7%94%A8%E8%80%85%3AAnOrdinaryKitten%2FDoc%3A2.6%2FManual%2FGame_Engine%2FLogic%2FActuators%2FSound%2F</id>
	<title>利用者:AnOrdinaryKitten/Doc:2.6/Manual/Game Engine/Logic/Actuators/Sound/ - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=%E5%88%A9%E7%94%A8%E8%80%85%3AAnOrdinaryKitten%2FDoc%3A2.6%2FManual%2FGame_Engine%2FLogic%2FActuators%2FSound%2F"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:AnOrdinaryKitten/Doc:2.6/Manual/Game_Engine/Logic/Actuators/Sound/&amp;action=history"/>
	<updated>2026-08-02T12:01:47Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:AnOrdinaryKitten/Doc:2.6/Manual/Game_Engine/Logic/Actuators/Sound/&amp;diff=138901&amp;oldid=prev</id>
		<title>Yamyam: 1版 をインポートしました</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:AnOrdinaryKitten/Doc:2.6/Manual/Game_Engine/Logic/Actuators/Sound/&amp;diff=138901&amp;oldid=prev"/>
		<updated>2018-06-28T20:51:26Z</updated>

		<summary type="html">&lt;p&gt;1版 をインポートしました&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;2018年6月28日 (木) 20:51時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ja&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(相違点なし)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Yamyam</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:AnOrdinaryKitten/Doc:2.6/Manual/Game_Engine/Logic/Actuators/Sound/&amp;diff=138900&amp;oldid=prev</id>
		<title>wiki&gt;AnOrdinaryKitten: /* Sound Actuator */</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:AnOrdinaryKitten/Doc:2.6/Manual/Game_Engine/Logic/Actuators/Sound/&amp;diff=138900&amp;oldid=prev"/>
		<updated>2013-02-14T14:38:28Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Sound Actuator&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Sound Actuator=&lt;br /&gt;
The {{Literal|Sound}} actuator allows you to play sound files in the game engine.[[File:BGE_Actuator_Sound.png|thumb|right|271 px|The Sound Actuator]]&lt;br /&gt;
See [[Doc:2.6/Manual/Game Engine/Logic/Actuators/Common_Options|Actuator Common Options]] for common options.&lt;br /&gt;
{{clr}}&lt;br /&gt;
&lt;br /&gt;
==Actuator Settings==&lt;br /&gt;
;'''Sound File'''&lt;br /&gt;
:Load a new sound file or select one from the list.&lt;br /&gt;
;'''Play Mode'''&lt;br /&gt;
:How the sound effect is played.&lt;br /&gt;
&lt;br /&gt;
:'''Play Stop'''&lt;br /&gt;
:The sound effect is played when activated. Stops instantly when deactivated.&lt;br /&gt;
:'''Play End'''&lt;br /&gt;
:The sound effect is played when activated. When deactivated, stops after finishing playing the sound. The sound is not replayed if activated while still playing.&lt;br /&gt;
:'''Loop Stop'''&lt;br /&gt;
:The sound is played as infinite loop when activated. Stops instantly when deactivated.&lt;br /&gt;
:'''Loop End'''&lt;br /&gt;
:The sound is played as infinite loop when activated. When deactivated, stops after finishing playing the sound.&lt;br /&gt;
:'''Loop Bidirectional'''&lt;br /&gt;
:The sound is played as infinite ping-pong loop. When deactivated, stops after finishing playing the sound.&lt;br /&gt;
:'''Loop Bidirectional Stop'''&lt;br /&gt;
:The sound is played as infinite ping-pong loop. Stops instantly when deactivated.&lt;br /&gt;
&lt;br /&gt;
;'''Volume'''&lt;br /&gt;
:The volume at which the sound effect is played.&lt;br /&gt;
;'''Pitch'''&lt;br /&gt;
:The pitch at which the sound effect is played. 0 is default, 12 is one octave.&lt;br /&gt;
;'''3D Sound'''&lt;br /&gt;
:If enabled, the sound is affected by distance, speed of the emitting object and various other things. The options below are only available if {{Literal|3d Sound}} is enabled.&lt;br /&gt;
&lt;br /&gt;
;'''Minimum Gain'''&lt;br /&gt;
:The minimum gain of the sound, no matter how far it is away.&lt;br /&gt;
;'''Maximum Gain'''&lt;br /&gt;
:The maximum gain of the sound, no matter how near it is.&lt;br /&gt;
;'''Reference Distance'''[[File:BGE_Sound_Cone_Explanation.jpg|thumb|right|200 px| The cones point in the direction of the objects negative Z axis.]]&lt;br /&gt;
:The distance at which the sound has a gain of 1.0.&lt;br /&gt;
;'''Maximum Distance'''&lt;br /&gt;
:The maximum distance at which the sound can be heard.&lt;br /&gt;
;'''Rolloff'''&lt;br /&gt;
:The influence factor on volume depending on distance. The higher, the more the sound will fade with distance.&lt;br /&gt;
;'''Cone Outer Gain'''&lt;br /&gt;
:The gain outside the outer cone. The gain inside the outer cone will be interpolated between this value and the normal gain inside the inner cone ({{Literal|Volume}}). Note that the cones always point in the direction of the objects local -Z axis (Figure right).&lt;br /&gt;
;'''Cone Outer Angle'''&lt;br /&gt;
:The angle of the outer cone.&lt;br /&gt;
;'''Cone Inner Angle'''&lt;br /&gt;
:The angle of the inner cone.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{NiceTip|Sound options|3d sound is influenced by the {{Literal|Sound}} options in {{Literal|Render}}. A brief description of the different distance models can be found [http://connect.creativelabs.com/openal/Documentation/OpenAL%201.1%20Specification.htm#_Toc199835864 here].}}&lt;br /&gt;
{{clr}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Python Access==&lt;br /&gt;
All settings of the {{Literal|Sound}} actuator can be retrieved and manipulated via {{Literal|Python}}.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# Import GameLogic module so we can access controller and its owner.&lt;br /&gt;
import GameLogic&lt;br /&gt;
controller = GameLogic.getCurrentController()&lt;br /&gt;
owner = controller.owner&lt;br /&gt;
&lt;br /&gt;
# Accessing the sound actuator with the name &amp;quot;Sound&amp;quot;.&lt;br /&gt;
owner.actuators[&amp;quot;Sound&amp;quot;].startSound()&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
owner.actuators[&amp;quot;Sound&amp;quot;].startSound()&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Plays the sound. It has no effect if the sound is already being played.&lt;br /&gt;
All settings but {{Literal|Volume}}, {{Literal|Pitch}} and {{Literal|Play Mode}} are ignored.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
owner.actuators[&amp;quot;Sound&amp;quot;].stopSound()&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Instantly stops the sound that is currently being played. Does not work if the sound actuator has been activated via the controller. The play mode has no effect on this.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
controller.activate(owner.actuators[&amp;quot;Sound&amp;quot;])&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
The controller activates the actuator.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
controller.deactivate(owner.actuators[&amp;quot;Sound&amp;quot;])&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
The controller deactivates the actuator.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
owner.actuators[&amp;quot;Sound&amp;quot;].volume&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Float, gets/sets the actuators {{Literal|Volume}}.&lt;br /&gt;
Using negative values does not produce errors but have no effect (Sound is played with default volume).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
owner.actuators[&amp;quot;Sound&amp;quot;].pitch&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Float, gets/sets the actuators {{Literal|Pitch}}. Here the pitch is handled in a different way from the {{Literal|Pitch}} setting in the actuator itself. The default value is 1.0 which is equal to 0.0 in the {{Literal|Pitch}} setting. 2.0 here is equal to 12.0 in {{Literal|Pitch}}, 0.5 is equal to -12.0 in {{Literal|Pitch}} and so on.&lt;br /&gt;
Using negative values does not produce errors but have no effect (Sound is played with default pitch).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
owner.actuators[&amp;quot;Sound&amp;quot;].mode&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Integer, gets/sets the actuators {{Literal|Play Mode}}.&lt;br /&gt;
:1 = {{Literal|Play Stop}}&lt;br /&gt;
:2 = {{Literal|Play End}}&lt;br /&gt;
:3 = {{Literal|Loop Stop}}&lt;br /&gt;
:4 = {{Literal|Loop End}}&lt;br /&gt;
:5 = {{Literal|Loop Bidirectional}}&lt;br /&gt;
:6 = {{Literal|Loop Bidirectional Stop}}&lt;br /&gt;
Other values are not accepted and cause errors.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
owner.actuators[&amp;quot;Sound&amp;quot;].is3D&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Boolean, gets/sets the actuators {{Literal|3D Sound}}.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
owner.actuators[&amp;quot;Sound&amp;quot;].volume_minimum&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Float, gets/sets the actuators {{Literal|Minimum Gain}}.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
owner.actuators[&amp;quot;Sound&amp;quot;].volume_maximum&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Float, gets/sets the actuators {{Literal|Maximum Gain}}.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
owner.actuators[&amp;quot;Sound&amp;quot;].distance_reference&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Float, gets/sets the actuators {{Literal|Reference Distance}}.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
owner.actuators[&amp;quot;Sound&amp;quot;].distance_maximum&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Float, gets/sets the actuators {{Literal|Maximum Distance}}.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
owner.actuators[&amp;quot;Sound&amp;quot;].cone_volume_outer&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Float, gets/sets the actuators {{Literal|Cone Outer Gain}}.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
owner.actuators[&amp;quot;Sound&amp;quot;].cone_angle_outer&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Float, gets/sets the actuators {{Literal|Cone Outer Angle}}.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
owner.actuators[&amp;quot;Sound&amp;quot;].cone_angle_inner&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Float, gets/sets the actuators {{Literal|Cone Inner Angle}}.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
owner.actuators[&amp;quot;Sound&amp;quot;].time&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Returns unidentified value.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
owner.actuators[&amp;quot;Sound&amp;quot;].sound&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Returns a pointer to the sound file in aud.Factory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
owner.actuators[&amp;quot;Sound&amp;quot;].attenuation&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Returns unidentified value.&lt;br /&gt;
{{clr}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Game_engine]]&lt;/div&gt;</summary>
		<author><name>wiki&gt;AnOrdinaryKitten</name></author>
		
	</entry>
</feed>