diff options
Diffstat (limited to 'klangfarb')
-rw-r--r-- | klangfarb/Main.tscn | 2 | ||||
-rw-r--r-- | klangfarb/main.gd | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/klangfarb/Main.tscn b/klangfarb/Main.tscn index 0c2f046..7b547cd 100644 --- a/klangfarb/Main.tscn +++ b/klangfarb/Main.tscn @@ -8,5 +8,5 @@ stream = SubResource( 1 ) volume_db = -13.216 script = ExtResource( 2 ) -frequency_modulation = true +continuous = false fm_index = 100.0 diff --git a/klangfarb/main.gd b/klangfarb/main.gd index 751527a..86ebc87 100644 --- a/klangfarb/main.gd +++ b/klangfarb/main.gd @@ -64,6 +64,10 @@ func _process(_delta): # synth.fm_frequency(fm_multiplier * freq) synth.fm_depth(fm_index) synth.continuous(continuous) + synth.set_attack(attack) + synth.set_decay(decay) + synth.set_sustain(sustain) + synth.set_release(release) _check_waveform() _fill_buffer() |