Hello,
I've just started developing my first .net-program, so forgive me, if this
may be a really simple question. Is there a way to produce a sound for a
given time and a given frequency?
I searched the documentation, but could not find anything. The search for
sound only found "Beep" for Visual Basic, but first of all I am writing my
program in C# and next it does not work as I need (no way to determine the
length and frequency).
Thanks a lot,
Rudi
Paul Murphy - 25 Mar 2005 22:56 GMT
Rudolf,
Unfortunately in 1.0 and 1.1 of the CLR there is no direct support for any
audio. You have a couple of options.
First you can investigate Managed DirectX. With Managed DirectX you can do
almost anything you want with audio. Second the forth-coming 2.0 version of
the CLR will have modest support for playing audio files.
Depending on the deliverability needs of your project either option will get
things done for you.
Paul
On 3/25/05 5:01 AM, in article OnV42ESMFHA.3548@TK2MSFTNGP10.phx.gbl,
> Hello,
>
[quoted text clipped - 10 lines]
>
> Rudi
Katy King - 28 Mar 2005 21:04 GMT
From: "Rudolf Ziegaus" <Rudolf.Ziegaus@gmx.de>
| I've just started developing my first .net-program, so forgive me, if this
| may be a really simple question. Is there a way to produce a sound for a
[quoted text clipped - 4 lines]
| program in C# and next it does not work as I need (no way to determine the
| length and frequency).
V1.0/V1.1 do not support this. V2.0 will have
System.Console.Beep(frequency, duration).
Katy
Walter Burger - 22 Apr 2005 11:38 GMT
just try this one:
http://www.wolfsys.net/modules.php?name=News&file=article&sid=17&mode=&order=0&t
hold=0
> Hello,
>
[quoted text clipped - 10 lines]
>
> Rudi