IIR Program Dependency in the Frequency Domain

Hi, Is there a way I could set the frequency of an IIR filter to be program dependent? My vision is for a graphic equalizer that adapts to the bandwidth of a sound, so that the lowest frequency band can always be used on the fundamental of a sound, rather than in a specific, lower frequency. I thought about using pitch tracking to do this, but I don’t yet have the skills to create this. Any insights into this idea would be wonderful!

Thank you,