Skip to content

Commit

Permalink
Log NRPNs in verbose mode
Browse files Browse the repository at this point in the history
  • Loading branch information
derselbst committed Jun 9, 2024
1 parent 79ef993 commit c189075
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/synth/fluid_synth.c
Original file line number Diff line number Diff line change
Expand Up @@ -1827,6 +1827,10 @@ fluid_synth_cc_LOCAL(fluid_synth_t *synth, int channum, int num)

if(nrpn_select < GEN_LAST)
{
if(synth->verbose)
{
FLUID_LOG(FLUID_INFO, "NRPN\t%d\t%d\t%d", channum, nrpn_select, data);
}
float val = fluid_gen_scale_nrpn(nrpn_select, data);
fluid_synth_set_gen_LOCAL(synth, channum, nrpn_select, val);
}
Expand Down

0 comments on commit c189075

Please sign in to comment.