edo1123 wrote
Maybe bigger the resistor louder the sound? With no resistor I get over the unity..
You're right. I looked at it again, and I had misread the layout. That resistor is in parallel with the output, so the larger the resistor, the higher the volume. (I thought it was inline with the output, where it would behave the opposite.) For maximum volume, you'd remove that resistor entirely.
Glad you got it working despite my mistake. Good job.