[BGM] Disable non-default ADSR opcodes until we work out what is going on there

This commit is contained in:
Luke Hubmayer-Werner 2024-07-27 22:50:53 +09:30
parent b0d7a60e53
commit ac03db778b
1 changed files with 4 additions and 4 deletions

View File

@ -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_sustain_rate = adsr.sustain_rate
current_adsr_decay_total_periods = all_adsr_decay_total_periods[adsr.sustain_level] current_adsr_decay_total_periods = all_adsr_decay_total_periods[adsr.sustain_level]
EventType.ADSR_ATTACK_RATE: EventType.ADSR_ATTACK_RATE:
current_adsr_attack_rate = event[1] pass #current_adsr_attack_rate = event[1]
EventType.ADSR_DECAY_RATE: EventType.ADSR_DECAY_RATE:
current_adsr_decay_rate = event[1] pass #current_adsr_decay_rate = event[1]
EventType.ADSR_SUSTAIN_LEVEL: 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: EventType.ADSR_SUSTAIN_RATE:
current_adsr_sustain_rate = event[1] pass #current_adsr_sustain_rate = event[1]
EventType.VIBRATO_ON: EventType.VIBRATO_ON:
curve_vibrato_delay.add_point(p, event[1]) curve_vibrato_delay.add_point(p, event[1])
curve_vibrato_rate.add_point(p, event[2]) curve_vibrato_rate.add_point(p, event[2])