comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Sound with IDL... HELP!
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Sound with IDL... HELP! [message #25652 is a reply to message #25550] Thu, 28 June 2001 11:13 Go to previous message
Dick Jackson is currently offline  Dick Jackson
Messages: 347
Registered: August 1998
Senior Member
"Alex Schuster" <Wonko@planet-interkom.de> wrote in message
news:3B39ED36.DD579CF2@planet-interkom.de...
> Okay, okay. I'm calm. Everything's just fine. I'm sure, someone will
> tell me that I don't have a BIG, BIG problem.
>
> Because, hey, it's 2001, and of course it should be no problem to play
> .wav files from IDL, right? Right.

Hi Alex,

David's absolutely right about IDL 5.4 and Spawn, but if all you need is to
get a .wav file sound played from the PC, you might want to try the
excellent idl_tools utilities by Randall Frank. One of the many marvels in
there is a sound player. It's available at:

http://www.rlkling.com/freeware/randallfrank.html

Then, once you've dropped idl_tools.dll and idl_tools.dlm into your IDL
\bin\bin.x86 directory, all you need to do is:

wav = Read_WAV('c:\winnt\media\chimes.wav', rate)

handle = Snd_Play(wav, rate)

(handle is not anything you need afterward, ignore it)

From what I can tell, Read_WAV came in IDL 5.3, so this may be possible
without the 5.4 upgrade, and you may prefer to have it all handled from
within IDL!

Cheers,
--
-Dick

Dick Jackson / dick@d-jackson.com
D-Jackson Software Consulting / http://www.d-jackson.com
Calgary, Alberta, Canada / +1-403-242-7398 / Fax: 241-7392
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Warping surfaces to match control points
Next Topic: Re: set_shading question

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 13:40:32 PDT 2025

Total time taken to generate the page: 0.24211 seconds