See attached.
I was given one of these novelty "buttons" where each press has a different sound effect/phrase, seems like chosen at random. These are just mass produced single-sided boards with various different themes, so I'd imagine there would be a way to reprogram the chip with different audio.
I've buzzed out the pins, which seem to be:
Unknown IC
Pin 1 - Battery positive
Pin 2 - Speaker
Pin 3 - D1 (Unpopulated)
Pin 4 - Switch
Pin 5 - Speaker
Pin 6 - Battery negative
Pin 7 - N/C (?)
Pin 8 - D2 (Unpopulated)
D1
Pin 1 - To IC Pin 3
Pin 2 - To Battery positive
D2
Pin 1 - To IC Pin 8
Pin 2 - To Battery positive
Any ideas where I can start? I do have an EPROM reader/writer, but not sure if the above pinout resembles anything standard?