Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 22nd, 2007, 01:08 AM
Registered User
 
Join Date: May 2007
Location: , , .
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Play .wav file

Hi
I'm develop win appl
I want to play .wav file
that wave file is message converted into .wav file type. its autoconverted. normal .wav was played. but converted .wav file not play.
Please suggest me, how to play autogenerated wave file.

Thanks in advance
Venky

  #2 (permalink)  
Old October 22nd, 2007, 02:51 AM
samjudson's Avatar
Friend of Wrox
Points: 8,687, Level: 40
Points: 8,687, Level: 40 Points: 8,687, Level: 40 Points: 8,687, Level: 40
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2007
Location: Newcastle, , United Kingdom.
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

It sounds very much like whatever is converting the text into a WAV file isn't doing it correctly.

Does it play in Windows Media Player ok?

/- Sam Judson : Wrox Technical Editor -/
  #3 (permalink)  
Old October 22nd, 2007, 06:34 AM
Registered User
 
Join Date: May 2007
Location: , , .
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank u mr.Samjudson
converted wav file played win media player perfectly
not play in programatic player

Venky

  #4 (permalink)  
Old October 22nd, 2007, 07:28 AM
samjudson's Avatar
Friend of Wrox
Points: 8,687, Level: 40
Points: 8,687, Level: 40 Points: 8,687, Level: 40 Points: 8,687, Level: 40
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2007
Location: Newcastle, , United Kingdom.
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

Like I said, it sounds like the converter is using some no standard WAV format that WMP understands by your .Net code doesn't.

You'd better try asking whoever created the WAV file, or asking on some sound related forum.

/- Sam Judson : Wrox Technical Editor -/
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
directsound to play wav file on clint brouser arafat.eajaz C# 5 April 27th, 2008 04:25 AM
wav file play mvenkatesan C# 2005 1 October 17th, 2007 04:01 AM
trigger button with .wav file and flash on martin1 Visual Basic 2005 Basics 0 June 9th, 2006 04:05 PM
How do I play a .wav file from Resources? furjaw Visual Basic 2005 Basics 0 May 27th, 2006 11:07 PM
How do i play midi or wav files in VB.Net? aldwincusi VB How-To 3 April 11th, 2005 03:55 AM



All times are GMT -4. The time now is 11:47 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.