My approach was simply enabling the AudioSource component using
audioSource.enabled = true;
whenever the space key is pressed and letting it “Play On Awake” then disabling it again whenever the current input isn’t KeyCode.Space in other word the “Else” part.
it worked exactly the same audio wise but does this differ at all performance wise??