Attiny85 tone issue

Storage space required by melody: 1682 = 256
Storage space required by noteDurations: 1682 = 256
Total = 512

From the datasheet...
Non-volatile Program and Data Memories ... 512 Bytes Internal SRAM

Your sketch is using too much SRAM. I suspect melody and noteDurations could both be byte cutting the memory used in half.