From 12135f5a67f9d01f652786344b985ce71749ee72 Mon Sep 17 00:00:00 2001 From: Grant Shangreaux Date: Wed, 27 Oct 2021 10:03:37 -0500 Subject: Add: main.gd script that loads the MonoBuffer gdns --- klangfarb/Main.tscn | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'klangfarb/Main.tscn') diff --git a/klangfarb/Main.tscn b/klangfarb/Main.tscn index 9c58bfd..0a0ad3b 100644 --- a/klangfarb/Main.tscn +++ b/klangfarb/Main.tscn @@ -1,10 +1,10 @@ [gd_scene load_steps=3 format=2] -[ext_resource path="res://Main.gdns" type="Script" id=1] [ext_resource path="res://main.gd" type="Script" id=2] -[node name="Node" type="Node"] -script = ExtResource( 1 ) +[sub_resource type="AudioStreamGenerator" id=1] +mix_rate = 8000.0 -[node name="Node" type="Node" parent="."] +[node name="Audio" type="AudioStreamPlayer"] +stream = SubResource( 1 ) script = ExtResource( 2 ) -- cgit v1.2.3