Install Asset
Install via Godot
To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser
Quick Information
This is a demo showing how one can generate and play audio samples from GDScript. It plays a simple 440 Hz sine wave at 22050 Hz.Language: GDScriptRenderer: GLES 2
Audio Generator
This is a demo showing how one can generate and play audio samples from GDScript. It plays a simple 440 Hz sine wave at 22050 Hz.
Language: GDScript
Renderer: GLES 2
Check out this demo on the asset library: https://godotengine.org/asset-library/asset/526
How does it work?
It uses the push_frame()
method on an AudioStreamGeneratorPlayback
object, which is inside of an
AudioStreamPlayer
node, to generate audio frame-by-frame based on pulse_hz
.
This is a demo showing how one can generate and play audio samples from GDScript. It plays a simple 440 Hz sine wave at 22050 Hz.
Language: GDScript
Renderer: GLES 2
Reviews
Quick Information
This is a demo showing how one can generate and play audio samples from GDScript. It plays a simple 440 Hz sine wave at 22050 Hz.Language: GDScriptRenderer: GLES 2