Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / CLR / April 2005

Tip: Looking for answers? Try searching our database.

Producing sound

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rudolf Ziegaus - 25 Mar 2005 11:01 GMT
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

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.