ProtoFlux:Playback State

From Resonite Wiki
Playback State
Target
IsPlaying
Loop
Position
NormalizedPosition
ClipLength
Speed
Media

PlayBack State is a ProtoFlux node that provides information of a (IPlayable). This can be used to get information of if the a source is playing, the current time position, and the length of the audio source.

Inputs

Source (IPlayable)

The IPlayable to provide information from.

Outputs

IsPlaying (Bool)

Tells if the source is playing.

Loop (Bool)

Tells if the source is set to loop.

Position (Float)

The playing position of the current target in seconds as a float.

NormalizedPosition (Float)

The playing position of the current target remapped to a float minimum of 0 and maximum of 1. This essentially remaps the song length to 0 being the start and 1 being the end.

ClipLength (Float)

The target length in seconds, as a float.

Speed (Float)

The target current playing speed. 1 is equivalent to x1.0.

Examples