Using the following WMP control code,
public static WMPLib.WindowsMediaPlayer player = new WMPLib.WindowsMediaPlayer();
...
And volume controls,
private void button4_Click(object sender, RoutedEventArgs e)
{
if (player.settings.volume > 0)
{
player.settings.volume--;
}
TextBox3.Text = "Music Volume: " + player.settings.volume.ToString();
}
It's basically a kind of computer karaoke, where the computer uses text to speech to 'sing' the lyrics, and wmp to play the instrumental. Unfortunately, I have a problem because when I set the WMP Control's volume it adjusts the whole app's volume, whereas setting the text-to-speech object's volume does not affect WMP's volume. Is there a way to play an mp3 so ideally both volumes are completely independent of each other?