Hi Alan,
Have you already compared your code to the Lecture Project Changes which can be found in the Resources of this lecture?
At the moment, the audio source gets started/stopped every other frame while the space key is being pressed down.
See also:
- Forum User Guides : How to mark a topic as solved