private async void MainPage_Loaded(object sender, RoutedEventArgs e) { // initialize the audioPlayer await audioPlayer.InitializeAsync(); // Add some sounds // Add 1 inputNode for sound loop await audioPlayer.AddSoundFromApplicationAsync(AudioKeys.Loop, "ms-appx:///Assets/Sounds/Loop.wav"); // Add 1 inputNode await audioPlayer.AddSoundFromApplicationAsync(AudioKeys.Connected, "ms-appx:///Assets/Sounds/Connected.wav"); // Add 10 inputNodes await audioPlayer.AddSoundFromApplicationAsync(AudioKeys.Connected10Channels, "ms-appx:///Assets/Sounds/Connected.wav", 10); }