[Mono-dev] Mono 2.0 problem (is it me though?)

Petit Eric surfzoid at gmail.com
Fri Aug 29 17:30:46 EDT 2008

 using System;
 using System.Media;
 using System.Windows.Forms;

 namespace playsound
  public class playsound
    public static void Main()
      SoundPlayer sp = new SoundPlayer();
      sp.SoundLocation = @"c:\tmp\noise.wav";
put noisewav in c:\tmp\

Le 29 août 2008 22:20, Paul <paul at all-the-johnsons.co.uk> a écrit :
> Hi,
>> >      I don't think you want Application.ExecutablePath do you? You'd get
>> > C:\...\test.exenoise.wav
>> after the separator path chr forgeted, i think this class doesn't read
>> all wav, specialy whit "exotic" Hz
> If I change the Application.Excutable path just noise.wav, I still get
> nothing. I've checked the wav (converted from mp3) and there is nothing
> odd about it. Still no sound. Is there a 100% proof way to get a wav to
> play?
> Paul
> --
> Sie können mich aufreizen und wirklich heiß machen!
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list



Small Eric Quotations of the days:
If one day one reproaches you that your work is not a work of
professional, say you that:
Amateurs built the arch of Noah, and professionals the Titanic.

Few people are done for independence, it is the privilege of the powerful ones.

No key was wounded during the drafting of this message.

More information about the Mono-devel-list mailing list