The serene sound of a distant music box... It fills you with determination.
Memory is the 34th track in the Undertale Soundtrack.
This music-box melody is the first instance in the game of Asriel's musical theme. The theme appears in other songs at pivotal moments of the game, such as in Undertale (during which the protagonist learns the past of the Dreemurr family), Finale (which provides foreshadowing to Flowey's true identity), and His Theme (when the protagonist saves Asriel).
It first plays from inside the statue of Waterfall, after the protagonist places the umbrella over the statue to shield it from the rain and complete the Piano Puzzle. If the protagonist inspects the next SAVE Point after completing the puzzle, it mentions "The serene sound of a distant music box." It also plays later at 70% speed after Undyne attempts to kill the protagonist a second time in Waterfall. While the protagonist is unconscious, they experience a memory of Asriel first meeting the First Human before waking up to find that they have survived yet another fall onto a bed of Golden Flowers.
Memory furthermore plays at 80% speed while Undyne reminisces about Asgore during the visit to her house, then when Asgore offers to take care of the protagonist (assuming the protagonist has spared him after fighting him). It is next heard, again at 80% speed, after the fight with Asriel, interestingly continuing very quietly even as Final Power plays and the barrier breaks.
The song plays a final time after the True Pacifist Ending Credits, on the final screen of the game where the Annoying Dog comes to the screen and sleeps. The song does not play if the Genocide Route had been completed before.
The OST version is faster.