/// to start the player, set the state to 'playing' public void Play(Slider volSlider) { mMusicGenerator.Play(); mMusicGenerator.SetVolume(volSlider.value); }