Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/FluidSynth/fluidsynth
Browse files Browse the repository at this point in the history
  • Loading branch information
derselbst committed Jan 11, 2025
2 parents d06473c + 46116b6 commit 203247f
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/synth/fluid_voice.c
Original file line number Diff line number Diff line change
Expand Up @@ -1399,14 +1399,12 @@ fluid_voice_kill_excl(fluid_voice_t *voice)
fluid_voice_gen_set(voice, GEN_EXCLUSIVECLASS, 0);

/* Speed up the volume envelope */
/* The value was found through listening tests with hi-hat samples. */
fluid_voice_gen_set(voice, GEN_VOLENVRELEASE, -200);
/* The previously-used value of "-200" was found through listening tests
with hi-hat samples. This was changed to "-2000" after "-200" was shown
to cause too long cut times in most cases. */
fluid_voice_gen_set(voice, GEN_VOLENVRELEASE, -2000);
fluid_voice_update_param(voice, GEN_VOLENVRELEASE);

/* Speed up the modulation envelope */
fluid_voice_gen_set(voice, GEN_MODENVRELEASE, -200);
fluid_voice_update_param(voice, GEN_MODENVRELEASE);

at_tick = fluid_channel_get_min_note_length_ticks(voice->channel);
UPDATE_RVOICE_I1(fluid_rvoice_noteoff, at_tick);

Expand Down

0 comments on commit 203247f

Please sign in to comment.