ATtiny85 vs ATmega328 tone

Hello all. If I need to go into specifics, I will, but can anyone guess why the exact same code for a melody would sound different when played on an ATtiny85 vs the original ATmega328? Other than the micro controller itself, the rest of the setup is the same.

So when I upload the code onto the tiny, the piezo plays, but it's barely recognizable. My only intuition is that it might be because the timer is different on the tiny. I tried 8mhz and it sounded even less recognizable than the factory 1mhz.

I've tried looking around for an answer, but most of the questions in this line are "no sound" vs "different sound" vis a vis the Tiny.

Thanks in advance for the help!


Please show your code and hardware setup!