Trying to use Windows Vista to start developing in monogame, sound is simply not working

Hi there, and hello monogame community, I am new to monogame (just discovered its existence about a month ago) and have (mostly just basic) experience with Python and Java. . . I chose to start developing my game in C# with monogame after learning that C# wasn’t as difficult as some other languages, and seeing some of the really cool tech demos.

So I started with a Windows Vista computer with automatic updates turned off. (It’s a kind of older computer purchased around 2008 with a NVIDIA GeForce 7100 / NVIDIA NForce 630i card) After updating my computer a heap, I still can’t get a single sound out of monogame. . . (graphics works fine so far) Why is this? Is monogame not meant for Vista? How can I get the sounds to work on monogame on my Vista?

I started with: Vista Service Pack 1, DirectX10 . . . and then installed Service Pack 2 for Vista, DirectX 11, .NET 4.5.2, Platform Update Suppliment for Windows Vista (KB2117917) . . . then just in case, repaired Visual Studio 2010 Express, (Seems like VS 2012 and VS 2013 are not for Vista) and unistalled XNA 4.0 and uninstalled Monogame 3.2, then re-installed XNA 4.0 and Monogame 3.2 . . . I turned off Anti-Virus as recommended for the Windows updates, and restarted the computer between updates, and used Installers from trusted sources, making sure I had all the requirements. . .

Oddly, XNA seems to be meant for VS 2010, and requires at least shader model 1.1, (which I think I have as I can play Terraria, which requires shader model 1.1) But even after all the updates an empty XNA solution will not even run successfully. . . I get this message from trying to run an empty XNA solution:

“No suitable graphics card found.
Could not find a Direct3D device that supports the XNA Framework HiDef profile.
Verify that a suitable graphics device is installed.
Make sure the desktop is not locked, and no other application is running in full screen mode.
Avoid Running under Remote Desktop or as a Windows service.
Check the display properties to make sure hardware acceleration is set to Full.”

BUT I can still build an empty XNA content solution and get some *.XNB files that worked with monogame.

YET Monogame’s graphics seem to be working perfectly-- I will still get an error if I try to load a sound file that is not found in the content folder, and when I load one that exists the monogame program gives me no error, BUT when I try to play it, I have yet to get a peep of audio. . . I tried to play with both MediaPlayer (as a ‘Song’ object) and a SoundEffect object. . .+tried to change the volume to 1.0… (also made the program stall about 2 seconds before playing the sound. And made sure the line was executing)

But I still get no sound. I even used Audacity to be sure my WAV file was at 16-bit and 44100 + used sounds found in tutorial examples, Yet even the sounds converted to XNB will not work at all in monogame. I mean come on, isn’t playing a soundfile something super basic and easy for a computer to do? I’ve been running Pygame and its sound are working fine even on older computers. . . I seriously don’t think I need High-speed Direct3D graphics from DirectX11 simply to play some tiny sound effects. . . .:wink: (Although I updated my computer just in case)

Sorry, just a tad bit frustrated… How can I get this to work in monogame with as little changes to my computer as possible?

using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Media;
. . .
SoundEffect SOUND = Content.Load(“SOUNDS/character_ouch”);
float volume = 1.0f;
float pitch = 0.0f;
float pan = 0.0f;
SOUND.Play(volume, pitch, pan);

(PS I don’t want to update to Windows 7 because all my programs are already installed to work on Vista.)

Hope I can get this fixed and just start making my game already! Phew.

look, I don’t really know all the fancy words for everything-- I just have been a hobby programmer since age 14 and want to finally make something that can be profitable and sold for perhaps just a few bucks to help support the family… monogame seemed like a good choice. But now the sounds just simply aren’t working, even after all these updates, (Even with the Update Suppliment which Microsoft mentions should make Vista more like 7) it says monogame is compatible with Vista, and I also selected a computer with quite decent graphics capabilities at the time-- don’t see why sounds shouldn’t work at all. Anybody have the same problem with monogame on a Vista computer? At the moment I’ve decided to just use System.Media, although it is a very sad representation of a game because it can only play 1 sound at a time.
cheers

To load a sprite I know that you need:

 var name = Content.Load<Texture2D>("sprite_name");

I haven’t messed around with sounds yet, but you have:

SoundEffect SOUND = Content.Load("SOUNDS/character_ouch");

What happens if you change it to:

SoundEffect SOUND = Content.Load<SoundEffect>("SOUNDS/character_ouch");

I would imagine that the implementation is the same. Seems like that’s all you need, yes?

*Edit - As I’m sure you know, Monogame uses the XNA syntax. So you can look up alot of problems by using the MSDN; specifically, here is the one for SoundEffect

oh, didn’t realize until you pointed it out. Although, I’ll have to try it out when I get another computer. (My Vista computer just crashed a few days ago, hm… guess it was about time…maybe DirectX 11 worked it too hard for not having a dedicated graphics card, as I read it searches for ‘alternatives’ if certain high-level-graphics-features are not found.)
As of now I’m continuing some development (concepts) using python and pygame, and planning to convert it to c# and monogame later…
Thank you. This is a nice forum here.