Home
last modified time | relevance | path

Searched refs:x_dB (Results 1 – 2 of 2) sorted by relevance

/dports/audio/eq10q-lv2/eq10q-2.2/gui/widgets/
H A Ddynplot.cpp220 for(double x_dB = DATA_RANGE_MIN; x_dB <= DATA_RANGE_MAX; x_dB += 1.0) in on_expose_event() local
222 knee_range = 2.0*(x_dB - m_Threshold); in on_expose_event()
226 y_dB = x_dB; in on_expose_event()
236 …y_dB = x_dB + ((1.0/m_Ratio -1.0)*(x_dB - m_Threshold + m_Knee/2.0)*(x_dB - m_Threshold + m_Knee/2… in on_expose_event()
245 for(double x_dB = DATA_RANGE_MIN; x_dB <= DATA_RANGE_MAX; x_dB += 1.0) in on_expose_event() local
247 knee_range = 2.0*(x_dB - m_Threshold); in on_expose_event()
251 y_dB = m_Threshold + (x_dB - m_Threshold)*m_Ratio; in on_expose_event()
256 y_dB = x_dB; in on_expose_event()
261 …y_dB = x_dB + ((1.0 - m_Ratio)*(x_dB - m_Threshold - m_Knee/2)*(x_dB - m_Threshold - m_Knee/2))/(2… in on_expose_event()
264 if( y_dB < x_dB + m_Range ) in on_expose_event()
[all …]
/dports/audio/eq10q-lv2/eq10q-2.2/
H A Ddynamics.c324 float x_dB, y_dB; in runDyn() local
403 knee_range = 2.0f*(x_dB - threshold); in runDyn()
421 y_dB = threshold + (x_dB - threshold)*ratio; in runDyn()
426 y_dB = x_dB; in runDyn()
431 … y_dB = x_dB + ((1.0 - ratio)*(x_dB - threshold - knee/2)*(x_dB - threshold - knee/2))/(2*knee); in runDyn()
433 if( y_dB < x_dB + range ) in runDyn()
435 y_dB = x_dB + range; in runDyn()
477 y_dB = x_dB; in runDyn()
482 y_dB = threshold + (x_dB - threshold)/ratio; in runDyn()
487 …y_dB = x_dB + ((1.0f/ratio -1.0f)*(x_dB - threshold + knee/2.0f)*(x_dB - threshold + knee/2.0f))/(… in runDyn()
[all …]