coding getButtonPos and MusicStabilityTest

coding getButtonPos and MusicStabilityTest