Skip to content

Commit

Permalink
trigger envelope release on xx tick...
Browse files Browse the repository at this point in the history
  • Loading branch information
LTVA1 committed Apr 20, 2024
1 parent 25f785e commit e96cfa1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tracker_engine/do_effects.c
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,10 @@ void do_command(
}

case TE_EFFECT_TRIGGER_RELEASE: {
sound_engine_enable_gate(tracker_engine->sound_engine, se_channel, 0);
if(tick == (opcode & 0xff))
{
sound_engine_enable_gate(tracker_engine->sound_engine, se_channel, 0);
}

break;
}
Expand Down

0 comments on commit e96cfa1

Please sign in to comment.