Wrox Programmer Forums
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #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 -/


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





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.