Selective autoplay of audio for certain notes

Perhaps some of the code will be useful.