Hey everyone I am building a DIY speaker powered by batteries. I'm using lithium Ion battery and boosting the voltage to 12 volt using xl6009 boost converter. The amplifier is 10 watt class d amp and works form voltage range of 7 volts to 15 volts. I was wondering if the boost converter can be modified to change the output voltage according to increase in load as the volume increases, like as I increase the volume the voltage of the boost converter also increases. I think that it'll be more efficient use of the battery, as there is no need for 12 volts for lower volume and as I increase the volume the voltage also increases accordingly.
I can't seem to figure it out how to design such circuit, so I need help.