Edit of asset "Audio Generator Demo" Accepted

Old/Current New/Edit
Title Audio Generator Demo Audio Generator Demo
Description 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.

How it works:

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`.

Language: GDScript

Renderer: Compatibility
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.

How it works:

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`.

Language: GDScript

Renderer: Compatibility
Category Demos Demos
License MIT MIT
Repository Provider Custom Custom
Repository Url https://github.com/godotengine/godot-demo-projects/tree/4.2-31d1c0c/audio/generator https://github.com/godotengine/godot-demo-projects/tree/4.2-31d1c0c/audio/generator
Issues Url https://github.com/godotengine/godot-demo-projects/issues https://github.com/godotengine/godot-demo-projects/issues
Godot version Godot 4.2 Godot 4.2
Version String 4.2-31d1c0c 4.2-31d1c0c
Download Commit https://github.com/godotengine/godot-demo-projects/releases/download/4.2-31d1c0c/audio_generator.zip https://github.com/godotengine/godot-demo-projects/releases/download/4.2-31d1c0c/audio_generator.zip
Download Url (Computed) https://github.com/godotengine/godot-demo-projects/releases/download/4.2-31d1c0c/audio_generator.zip https://github.com/godotengine/godot-demo-projects/releases/download/4.2-31d1c0c/audio_generator.zip
Icon Url https://raw.githubusercontent.com/godotengine/godot-demo-projects/4.2-31d1c0c/audio/generator/icon.webp
https://raw.githubusercontent.com/godotengine/godot-demo-projects/4.2-31d1c0c/audio/generator/icon.webp