Community ProtoFlux Library/AmasterAmaster/Audio/Simple Play One Shot: Difference between revisions

From Resonite Wiki
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":"AudioClip"},
{"Name":"Clip", "Type":"IAssetProvider`1"},
{"Name":"Volume", "Type":"Float"},
{"Name":"Volume", "Type":"float"},
{"Name":"Speed", "Type":"Float"},
{"Name":"Speed", "Type":"float"},
{"Name":"Slot", "Type":"Slot"}
{"Name":"Slot", "Type":"Slot"}
]
]
Line 20: Line 20:
|}}
|}}


The '''Simple Play One Shot''' is a simplified node of the [[Play One Shot|Play One Shot]] Protoflux node. This node only requires 5 inputs which are; Call, an AudioClip, the Volume, Speed of the Audioclip playback and which slot to produce the AudioClip.
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|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|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

This is a custom ProtoFlux node maintained by AmasterAmaster. Contact the creator of the node (not the Dev Team) with any bugs or issues.
This node was created using an in-game system and has no correlation to the Plugin system. Currently, these types of custom nodes are not officially supported by Resonite.
Simple Play One Shot
*
OnStartedPlaying
Clip
Audio
Volume
Speed
Slot
Amaster's Audio Library

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.