GodotSfxr (for Godot 4.x)

An asset by tomeyro
The page banner background of a mountain and forest
GodotSfxr (for Godot 4.x) hero image

Quick Information

0 ratings
GodotSfxr (for Godot 4.x) icon image
tomeyro
GodotSfxr (for Godot 4.x)

Add the SfxrStreamPlayer node and SfxrAudioStream resource to generate sound effects inside the editor. Perfect for prototyping and game jams!

Supported Engine Version
4.0
Version String
4.x
License Version
MIT
Support Level
community
Modified Date
10 months ago
Git URL
Issue URL

GodotSfxr

Godot plugin that adds the SfxrStreamPlayer node and SfxrAudioStream Resource to generate sound effects inside the editor.

README SfxrStreamPlayer Node

Ported from jsfxr (by Eric Fredricksen), which is a port from the original sfxr (by DrPetter).

Installation

  • Install options:

    1. Install from the Godot Asset Library*.

    2. Clone or download this repository, and copy the contents of the "addons" directory to the "addons" directory of your Godot Project.

    * The download from the Godot Asset Library might not be up to date. You can use Github to always get the latest version.

  • After installing the plugin you need to enable it on the menu: Project > Project Settings... > Plugins > GodotSfxr.

Usage

Add the desired node: SfxrStreamPlayer, SfxrStreamPlayer2D, or SfxrStreamPlayer3D.

README Node selection

Select a preset sound effect under the Generators group in the inspector.

That will generate and save an AudioStreamSample resource with the audio data (embedded on the node).

README Node options

You can adjust the sound parameters on the inspector as needed.

The sound will play automatically after being generated, but you can also click on the Playing property to make it play.

If for some reason you need to regenerate the sound (maybe you deleted the stream resource), you can use the Force Rebuild option under the Actions group.

README Node regen

Everything else works as in the regular AudioStreamPlayer* nodes.

For example, you can call the play function on the node, or connect to the finished signal.

README Code example

Depending on your needs, you can also create a SfxrAudioStream Resource that will contain the audio data, and has all the same options as the nodes above.

README Resource Creation

Then you can use that resource by setting it to the stream parameter of any AudioStreamPlayer.

README Node with resource

Add the SfxrStreamPlayer node and SfxrAudioStream resource to generate sound effects inside the editor. Perfect for prototyping and game jams!

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
GodotSfxr (for Godot 4.x) icon image
tomeyro
GodotSfxr (for Godot 4.x)

Add the SfxrStreamPlayer node and SfxrAudioStream resource to generate sound effects inside the editor. Perfect for prototyping and game jams!

Supported Engine Version
4.0
Version String
4.x
License Version
MIT
Support Level
community
Modified Date
10 months ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers