From ac03db778b2afa605f8a8151a75811604519cfe5 Mon Sep 17 00:00:00 2001 From: Luke Hubmayer-Werner Date: Sat, 27 Jul 2024 22:50:53 +0930 Subject: [PATCH] [BGM] Disable non-default ADSR opcodes until we work out what is going on there --- scripts/MusicRenderer.gd | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/MusicRenderer.gd b/scripts/MusicRenderer.gd index 650ca93..f8b6719 100644 --- a/scripts/MusicRenderer.gd +++ b/scripts/MusicRenderer.gd @@ -290,13 +290,13 @@ static func render_channels(tracks: Array, inst_map: Array, _debug_name := 'none current_adsr_sustain_rate = adsr.sustain_rate current_adsr_decay_total_periods = all_adsr_decay_total_periods[adsr.sustain_level] EventType.ADSR_ATTACK_RATE: - current_adsr_attack_rate = event[1] + pass #current_adsr_attack_rate = event[1] EventType.ADSR_DECAY_RATE: - current_adsr_decay_rate = event[1] + pass #current_adsr_decay_rate = event[1] EventType.ADSR_SUSTAIN_LEVEL: - current_adsr_decay_total_periods = all_adsr_decay_total_periods[event[1]] + pass #current_adsr_decay_total_periods = all_adsr_decay_total_periods[event[1]] EventType.ADSR_SUSTAIN_RATE: - current_adsr_sustain_rate = event[1] + pass #current_adsr_sustain_rate = event[1] EventType.VIBRATO_ON: curve_vibrato_delay.add_point(p, event[1]) curve_vibrato_rate.add_point(p, event[2])