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

Home » Public Forums » archive » Re: Speaking of .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: Speaking of .wav files... [message #23266] Thu, 18 January 2001 20:52 Go to previous message
Mark Rivers is currently offline  Mark Rivers
Messages: 49
Registered: February 2000
Member
David Fanning wrote in message ...
> RandyStack (randystack@aol.com) writes:
>
>> I, too, am dealing with .wav files...working with IDL to process signals
in the
>> spectral domain between FFTs and iFFTs. While I've found IDL to have
>> extraordinary resources for visualizing and displaying data, I've not
found any
>> corresponding routines to let me render the results of my sound
processing to
>> the speakers.
>>
>> Thus, is there any sort of "Play_Wav" routine? If not, has any here
working
>> with sound come up with a convenient way to get sound output from within
an IDL
>> app (other than writing a .wav file and opening a separate audio program
to
>> play it)? I'd love to include a "Play" button in my IDL user interfaces!
>
> Have you tried SPAWNing your Audio Program with the name of
> the WAV file to play? I think that's what I would do.


It's even simpler:

IDL> spawn, 'start myfile.wav'

You don't need to specify the player, Windows will launch whatever
application is associated with .WAV files. If the application is already
running it will just play the .WAV file without launching again.

I just tested the following and it works:
IDL> spawn, 'start message2.wav'

Mark Rivers
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Filling an array
Next Topic: Re: IDLgrAxis object with /LOG keyword

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

Current Time: Wed Oct 08 18:22:47 PDT 2025

Total time taken to generate the page: 0.00416 seconds