Community ProtoFlux Library/AmasterAmaster/Audio/Simple Play One Shot: Difference between revisions
Created page with "{{Custom Node|AmasterAmaster}} {{#Invoke:ProtoFlux|GenerateUI |Name=Simple Play One Shot |Category=Amaster's Audio Library |Inputs= [ {"Name":"*", "Type":"Call"}, {"Name":"Clip", "Type":"AudioClip"}, {"Name":"Volume", "Type":"Float"}, {"Name":"Speed", "Type":"Float"}, {"Name":"Slot", "Type":"Slot"} ] |Outputs= [ {"Name":"OnStartedPlaying", "Type":"Slot"}, {"Name":"Audio", "Type":"AudioOutput"} ] |Custom=true |}} The '''Simple Play One Shot''' is..." |
Fixed node visual, fixed link. Grammer checking. Fixed wording in type input descriptions. |
||
(3 intermediate revisions by one other user not shown) | |||
Line 7: | Line 7: | ||
[ | [ | ||
{"Name":"*", "Type":"Call"}, | {"Name":"*", "Type":"Call"}, | ||
{"Name":"Clip", "Type":" | {"Name":"Clip", "Type":"IAssetProvider`1"}, | ||
{"Name":"Volume", "Type":" | {"Name":"Volume", "Type":"float"}, | ||
{"Name":"Speed", "Type":" | {"Name":"Speed", "Type":"float"}, | ||
{"Name":"Slot", "Type":"Slot"} | {"Name":"Slot", "Type":"Slot"} | ||
] | ] | ||
Line 20: | Line 20: | ||
|}} | |}} | ||
The '''Simple Play One Shot''' is a simplified | The '''Simple Play One Shot''' node is a simplified version of the [[ProtoFlux:Play One Shot|Play One Shot]] node. This node only requires 5 inputs which are; Call, an [[Type:AudioClip|AudioClip]], the Volume, Speed of the Audioclip playback, and which [[Slot|slot]] to play the AudioClip. | ||
== Inputs == | == Inputs == | ||
Line 28: | Line 28: | ||
Call to produce an AudioClip from the given AudioClip within the custom node. | Call to produce an AudioClip from the given AudioClip within the custom node. | ||
=== Clip ([[AudioClip|AudioClip]]) === | === Clip ([[Type:IAssetProvider`1|IAssetProvider]]<[[Type:AudioClip|AudioClip]]>) === | ||
The node will produce a copy of the AudioClip given by the user. | The node will produce a copy of the AudioClip given by the user. | ||
=== Volume ([[Float| | === Volume ([[Type:Float|Float]]) === | ||
The float value that determines how high the volume of the AudioClip produced from the custom node. | The float value that determines how high the volume of the AudioClip produced from the custom node. | ||
=== Speed ([[Float| | === Speed ([[Type:Float|Float]]) === | ||
The float value that determines how fast the speed of the AudioClip plays through produced from the custom node. | The float value that determines how fast the speed of the AudioClip plays through produced from the custom node. | ||
Line 50: | Line 50: | ||
Sends an impulse after * ([[Impulses|Call]]) has been impulsed and the value has been written. | Sends an impulse after * ([[Impulses|Call]]) has been impulsed and the value has been written. | ||
=== Audio ([[AudioOutput|AudioOutput]]) === | === Audio ([[Component:AudioOutput|AudioOutput]]) === | ||
The audio output of the custom node. | The audio output of the custom node. |
Latest revision as of 21:55, 23 August 2024
The Simple Play One Shot node is a simplified version of the Play One Shot node. This node only requires 5 inputs which are; Call, an AudioClip, the Volume, Speed of the Audioclip playback, and which slot to play the AudioClip.
Inputs
* (Call)
Call to produce an AudioClip from the given AudioClip within the custom node.
Clip (IAssetProvider<AudioClip>)
The node will produce a copy of the AudioClip given by the user.
Volume (Float)
The float value that determines how high the volume of the AudioClip produced from the custom node.
Speed (Float)
The float value that determines how fast the speed of the AudioClip plays through produced from the custom node.
Slot (Slot)
Slot that will be the point of origin of the AudioClips.
Outputs
OnStartedPlaying (Continuation)
Sends an impulse after * (Call) has been impulsed and the value has been written.
Audio (AudioOutput)
The audio output of the custom node.