Source/PluginEditor.cpp
///this function is to listen for any change in the monochain so that the response can later update in the timer callback function
///also this function

this function is to listen for any change in the monochain so that the response can later update in the timer callback function
also this function
this function is to listen for any change in the monochain so that the response can later update in the timer callback function also this function
ResponseCurveComponent::ResponseCurveComponent(SimpleEQAudioProcessor& p) :
audioProcessor(p),
leftPathProducer(audioProcessor.leftChannelFifo),
rightPathProducer(audioProcessor.rightChannelFifo)
{
    const auto& params = audioProcessor.getParameters();
    for( auto param : params )
    {
        param->addListener(this);
    }
    updateChain();
    startTimerHz(60); 
}
ResponseCurveComponent :: ResponseCurveComponent ( SimpleEQAudioProcessor & p ) : audioProcessor ( p ) , leftPathProducer ( audioProcessor . leftChannelFifo ) , rightPathProducer ( audioProcessor . rightChannelFifo ) { const auto & params = audioProcessor . getParameters ( ) ; for ( auto param : params ) { param -> addListener ( this ) ; } updateChain ( ) ; startTimerHz ( 60 ) ; }
this function is to listen for any change in the monochain so that the response can later update in the timer callback function
also this function
this function is to listen for any change in the monochain so that the response can later update in the timer callback function also this function
///loops over the array of pointers of value parameters and adds the listener statement to listen for any change
 ///this start the timer at 60hz so that the timercallback function can listen
