RandomSound

An asset by nobuyuki
The page banner background of a mountain and forest
RandomSound hero image

Quick Information

0 ratings
RandomSound icon image
nobuyuki
RandomSound

Custom node which plays a random sound from a pool with pitch/volume modifiers. Multichannel support.Update 9/15/2019: Better support for adding to the scene from the Add Node dialog

Supported Engine Version
3.1
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
4 years ago
Git URL
Issue URL

godot-randomsound

RandomSound is a custom node which can play from a random AudioStreamPlayer and apply override modifiers to pitch and volume in addition to supporting multiple channels. It is intended as a mostly-compatible drop-in replacement for AudioStreamPlayer in places where one from a pool of random sounds is needed.

Usage

Recommended usage is to instance a scene from RandomSound.tscn. It registers itself as a class, but may not automatically create the appropriate "Channels" node to store channels for playback if instanced from the New Node dialog. Place your AudioStreamPlayers into the root of RandomSound. Do NOT place nodes in Channels as these are subject to be dynamically reallocated when the number of channels changes.

Features planned...?

  • AudioStreamPlayer2D / 3D
  • Playing all children in an AudioStreamPlayer together
  • Nested RandomSounds

Custom node which plays a random sound from a pool with pitch/volume modifiers. Multichannel support.

Update 9/15/2019: Better support for adding to the scene from the Add Node dialog

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
RandomSound icon image
nobuyuki
RandomSound

Custom node which plays a random sound from a pool with pitch/volume modifiers. Multichannel support.Update 9/15/2019: Better support for adding to the scene from the Add Node dialog

Supported Engine Version
3.1
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
4 years 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