I just searched the AppleCare database (by entering "beep" in the search field), and two beeps at start-up means incompatable RAM's installed. I realize you were waking from sleep, but reboot and seen what happens.
You might want to remove the memory, chip by chip and in different slots, to see if any sticks have gone bad.