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 / Languages / C# / March 2008

Tip: Looking for answers? Try searching our database.

soundplayer

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
WD - 03 Mar 2008 00:02 GMT
Hi,

I'm using the Soundplayer class in my c# project and can't seem to get all
my files playing. If I play the tada.wav sound in windows it works fine. If I
play my 0.7 second audio tone, nothing comes out. I had a look and the tada
sound goes for nearly 1.95 seconds. Does the length of the file I'm trying to
play affect the fact that it won't play?

Thanks,

Signature

WD

doofy - 04 Mar 2008 05:38 GMT
> Hi,
>
[quoted text clipped - 5 lines]
>
> Thanks,

what file type is the audio tone?
WD - 04 Mar 2008 09:36 GMT
the file type is of wav

I think I worked my way around it. What was interesting was that the wav
file was playable in windows media player even though it wasn't in
soundplayer. If I opened the wav file in a wave editor and resaved it, then
soundplayer would play it fine. So I just used WMF instead of soundplayer and
it works fine.

Signature

WD

> > Hi,
> >
[quoted text clipped - 7 lines]
>
> what file type is the audio tone?

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.