How do you stop a /playsound music clip?

How do you stop music with command blocks?
For example, when I use command

  /playsound records.far @p ~ ~ ~10 8.0 1.0 1.0

it plays the selected song, in this case far, but how do you stop the music if you want to play another song? Because they both play.


Solution 1:

There is currently no way to pause, or stop a sound file that is playing. That is, you will have to wait for that particular file to be played till its very end. Only then will the two files not merge.

Sometimes, changing gamemode from creative to survival also stops the sound, though I am not completely sure of it.

Solution 2:

I saw this on a youtube video here:

Basically you just have to play 45 sounds at once then you'll notice that all other sounds will be canceled out but you'll have to make a blank/custom sound in a resource pack or play like 45 chicken noises at once would work. You'd have to do this with command blocks though but it'd be pretty easy to make a plugin do this if you know how.