Do you mean have the macBook at sleep while playing music?!
That's not possible, because the sleep means that the HD is off, as most of the other hardware elements (a part from some core ones which I don't know, but someone more informed can supply that info).