Equalize Speaker using impulse response So I have this school project where my aim is to improve a loudspeaker in general, my idea is to mesure the impulse response of the room using a mic, then use this mesure to conceive a loudspeaker that can compensate the effects of the room. 
My question is how could I exploit the room impulse response in conceiving that filter let's, and what kind of filters should I use? would that even be possible?

PS: sorry if the question sounds dumb, I have zero experience and knowledge with this kind of stuff.

Thanks in advance!
This depends a bit on what you want to get out of this and how much effort/work  you are willing to put in.

Doing a room EQ that actually works and makes it sound consistently better is quite complicated. There are commercial systems available but they tend to be complicated and expensive or tied to a specific product.

A really good freeware option to play around with is Room EQ Wizard https://www.roomeqwizard.com/ 

If you want to do this yourself, I suggest you break it down in a few separate steps that can be tackled individually


Figure out how to make a good measurement in a room (noise, reverb, microphone, ADC, SNR estimation, etc.)
Figure out what to measure (using the tools from step 1) that's representative enough of the entire room/speaker/listener situation
Extract perceptually relevant parameters from these measurements
Turn these parameters into some sort of correction that would move the parameters towards some perceptual target
Design a filter and/or algorithm based on this correction
Design the process/HW/system to actually implement and apply the filter or correction


All of these steps have been studied in detail and there is a fair bit of literature available on any of them.