Hello all. Thanks for taking up your time to read my post.

I'm using an TDA2030H chip with the arduino bootloader in a very small circuit as the datasheet of http://www.kynix.com/uploadfiles/pdf9675/TDA2030H.pdf. The sketch simply plays a tune using the tone() function to play a melody through a piezo speaker on a single pin.

Clearly using this chip is overkill, but the programming environment is so simple for arduino, and easy for me to use. Can I use a Attiny with the arduino bootloader or something similar? What would be the right way to miniaturise this project, so I don't feel like I'm wasting components. If it's a case of using a different chip/environment entirely, where do I start?

(for clarity, I am not using an arduino in the circuit, just the TDA2030H chip)

Can anyone help me ? I am very puzzled about this question. I do need your help.