Skip to content

Commit

Permalink
Fix dbg log
Browse files Browse the repository at this point in the history
  • Loading branch information
derselbst committed Nov 16, 2024
1 parent 18ef9b8 commit 269ae5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rvoice/fluid_iir_filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ DECLARE_FLUID_RVOICE_FUNCTION(fluid_iir_filter_set_fres)
iir_filter->fres = fres;
iir_filter->last_fres = -1.;

FLUID_LOG(FLUID_DBG, "fluid_iir_filter_set_fres: fres= %f [Hz]",fres);
FLUID_LOG(FLUID_DBG, "fluid_iir_filter_set_fres: fres= %f [acents]",fres);
}

static fluid_real_t fluid_iir_filter_q_from_dB(fluid_real_t q_dB)
Expand Down Expand Up @@ -329,7 +329,7 @@ void fluid_iir_filter_calc(fluid_iir_filter_t *iir_filter,
fres = 5.f;
}

FLUID_LOG(FLUID_DBG, "%f + %f cents = %f cents = %f Hz | Q: %f", iir_filter->fres, fres_mod, iir_filter->fres + fres_mod, fres, iir_filter->q_lin);
FLUID_LOG(FLUID_DBG, "%f + %f = %f cents = %f Hz | Q: %f", iir_filter->fres, fres_mod, iir_filter->fres + fres_mod, fres, iir_filter->q_lin);
/* if filter enabled and there is a significant frequency change.. */
if(iir_filter->type != FLUID_IIR_DISABLED && FLUID_FABS(fres - iir_filter->last_fres) > 0.01f)
{
Expand Down

0 comments on commit 269ae5a

Please sign in to comment.