Re: Help for Wav [message #15135] |
Sat, 24 April 1999 00:00  |
Ewan A. Macpherson
Messages: 14 Registered: December 1996
|
Junior Member |
|
|
wbiagiot@suffolk.lib.ny.us wrote:
>
> "Ewan A. Macpherson" <emacpher@umich.edu> wrote:
>> For reading and writing wav files, you can use the PV-WAVE
>> routines, riff_read.pro & riff_write.pro available from my web
>> page.
> Thanks for your read/write routines; I plan to experiment with them under IDL
> as they seem pretty compatable. A couple of 'dumb' questions though: 1) Are
> the terms 'riff' and 'wav' interchangable?
No. WAV is a type of RIFF file. RIFF is sort of a "meta format", so the
names of those routines unfortunately promise somewhat more than they
deliver. Previous, less-functional versions of those routines were called
WAV_READ and WAV_WRITE, hence the (perhaps ill-advised) name change.
2) Do you (or anyone else) know of
> a means to send a WAV file to a PC audio card from within IDL? I suspect
> it's gonna have to be an external-C module-arrangement which, unfortunately,
> I haven't tried yet.
Could your write out the WAV file and then spawn the Windows Media Player?
Isn't it about time IDL and PV-WAVE provided native support for WAV files
and soundcards? Matlab finally got around to it, although you still can't
record.
--
Ewan Macpherson <emacpher@umich.edu>
Central Systems Laboratory
Kresge Hearing Research Institute
http://www-personal.umich.edu/~emacpher
|
|
|