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

Home » Public Forums » archive » reading wav files
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: Reading Wav files [message #31851 is a reply to message #23347] Wed, 21 August 2002 09:59 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Mike Alport (alport@nu.ac.za) writes:

> This seems a trivial problem: the IDL 5.5 documentation gives the following
> syntax for reading sound .wav files:
> Result = READ_WAV ( Filename [, Rate] )
> So, when I try it, I get:
> IDL> Result = READ_WAV( "ramsay0150.wav" )
> % Variable is undefined: READ_WAV.
>
> Have they switched the calling procedure name on us?

No, it is definitely a function. Try this:

IDL> .compile read_wav
IDL> Result = READ_WAV( "ramsay0150.wav" )

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Extracting arrays into txt files
Next Topic: Extracting the resultant angles from the Hough transform

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

Current Time: Wed Oct 15 09:48:14 PDT 2025

Total time taken to generate the page: 1.52239 seconds