Skip to content

Keyframed AudioStreamPlayer keeps playing audio even when AnimationPlayer playback is stopped #54183

Open
@CenTdemeern1

Description

@CenTdemeern1

Godot version

3.3.* (should work for any Godot version)

System information

Windows 10, but this shouldn't matter

Issue description

When keyframing an AudioStreamPlayer like this, and stopping playback, the AudioStreamPlayer node keeps playing its sound.
image
Scrubbing on the timeline also causes it to play, which is really distracting.

Steps to reproduce

Create an AnimationPlayer node with an animation, and create an AudioStreamPlayer node.
Give the AudioStreamPlayer an audio stream in the Stream property, and keyframe the Playing property (with the value true).
Make sure the animation playback is stopped, and scrub over the audio clip on the timeline.
Annoyingly, this makes the audio clip play.

Minimal reproduction project

Repro-AudioStreamAnimationPlayer.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions