I'm currently designing a little musical birthday card, and I've finished the SD Card/FAT/WAV code in my STM32. I still need to write the LED part of the code, but I've started thinking ahead to the hardware and power setup.
For the proof of concept I used a little TI headphone amp chip (since I had it at home) powered from the 3v3 micro controller rail. I could hear it but it definitely wasn't loud enough for a finished product. I'm assuming I'll need a higher voltage.
I haven't selected a battery yet, but I think I'll either use a 9v battery or a flatter setup with several AAA batteries. I like the AAA idea so I can tap at different points for the micro/LED rail and have the full voltage for the speaker. The other option would be a small battery with a step-up regulator for the speaker rail.
My main question is if anyone could recommend a power setup or regulators and also a simple amplifier circuit/chip for a small compact speaker? Are there any low voltage amplifiers that have internal boost regulators?