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

Home » Public Forums » archive » Re: Producing sounds in IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Producing sounds in IDL [message #70321] Tue, 06 April 2010 07:07 Go to next message
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
Hi All,

I tried the bell program and the IDLtunes on my Windows machine and
everything works fine.
The only issue I found is in the firsts lines of the bell.pro routine.
The routine tries to find the DLL file in a bad path and the way to
check the OS is not the best one.

Anyways, that's right that "You're doin' it all wrong!" is a very
funny error sound !
Thanks,

nata
Re: Producing sounds in IDL [message #70324 is a reply to message #70321] Mon, 05 April 2010 20:52 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Andrew Cool writes:

> Search for Bell on www.dfanning.com
> It contains code to play WAV files using Peter Mason's WINCLIP.DLL
>
> Still works fine under XP.

That "You're doin' it all wrong!" clip is still my favorite
Catch error handler sound! :-)

http://www.dfanning.com/programs/bell.zip

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Producing sounds in IDL [message #70325 is a reply to message #70324] Mon, 05 April 2010 20:05 Go to previous messageGo to next message
Andrew Cool is currently offline  Andrew Cool
Messages: 219
Registered: January 1996
Senior Member
On Apr 6, 3:07 am, nata <bernat.puigdomen...@gmail.com> wrote:
> Hi gurus,
>
> Is it possible to produce sounds using IDL?
> I searched in the manual but it seems that there is nothing available.
> I was thinking that maybe using CALL_EXTERNAL, SPAWN or ActiveX
> controls could be possible.
>
> I'm using Windows so I'm looking for a solution under this platform.
> Thanks,
> nata

Search for Bell on www.dfanning.com
It contains code to play WAV files using Peter Mason's WINCLIP.DLL

Still works fine under XP.

Andrew
Re: Producing sounds in IDL [message #70329 is a reply to message #70325] Mon, 05 April 2010 12:01 Go to previous messageGo to next message
Aram Panasenco is currently offline  Aram Panasenco
Messages: 41
Registered: April 2010
Member
On Apr 5, 11:53 am, nata <bernat.puigdomen...@gmail.com> wrote:
> It seems that all is based on KRSaudiere.dlm and KRSaudiere.dll. That
> means that the program only works under Windows, right ?
> I'll try to use the program on a Windows machine tomorrow morning so
> I'll let you know my experiences using your program.
> Thanks,
> nata

I didn't write the program, I just found it a while ago on
kilvarock.com. I am pretty sure the program's author is Ronn Kling,
but I am not 100% certain. Anyway, let us know how it goes!

~Aram Panasenco
Re: Producing sounds in IDL [message #70330 is a reply to message #70329] Mon, 05 April 2010 11:53 Go to previous messageGo to next message
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
It seems that all is based on KRSaudiere.dlm and KRSaudiere.dll. That
means that the program only works under Windows, right ?
I'll try to use the program on a Windows machine tomorrow morning so
I'll let you know my experiences using your program.
Thanks,
nata
Re: Producing sounds in IDL [message #70331 is a reply to message #70330] Mon, 05 April 2010 11:20 Go to previous messageGo to next message
Aram Panasenco is currently offline  Aram Panasenco
Messages: 41
Registered: April 2010
Member
On Apr 5, 11:07 am, nata <bernat.puigdomen...@gmail.com> wrote:
> Hi gurus,
>
> Is it possible to produce sounds using IDL?
> I searched in the manual but it seems that there is nothing available.
> I was thinking that maybe using CALL_EXTERNAL, SPAWN or ActiveX
> controls could be possible.
>
> I'm using Windows so I'm looking for a solution under this platform.
> Thanks,
> nata

It's possible, there is even an MP3 player made in IDL called
IDLtunes.
You can download it here and look at the source IDLtunes.pro file in
the download. I hope you'll find what you want!
http://kilvarock.com/miscellaneous.htm
http://kilvarock.com/user/image/idltunes.zip

~Aram Panasenco
Re: Producing sounds in IDL [message #70406 is a reply to message #70321] Wed, 07 April 2010 16:07 Go to previous message
Andrew Cool is currently offline  Andrew Cool
Messages: 219
Registered: January 1996
Senior Member
On Apr 6, 11:07 pm, nata <bernat.puigdomen...@gmail.com> wrote:
> Hi All,
>
> I tried the bell program and the IDLtunes on my Windows machine and
> everything works fine.
> The only issue I found is in the firsts lines of the bell.pro routine.
> The routine tries to find the DLL file in a bad path and the way to
> check the OS is not the best one.
>
> Anyways, that's right that "You're doin' it all wrong!" is a very
> funny error sound !
> Thanks,
>
> nata

Hi Nata,

Fair shake of the sauce bottle, old son!

The DLL part of the Bell program dates back to 1996, and was perfectly
valid,
correct and proper back then. Perhaps you weren't using IDL 14 years
ago...?

Plus the code does contain specific instructions on where the DLL
should be stored:-

; The file winclip.dll has to go into the main IDL directory for
*each*
; of your IDL distributions. That is "C:\RSI\IDL5.5" or "C:\RSI
\IDL5.6"
; or wherever you have installed IDL.

and ..

; Also, the path\filename of the WINCLIP DLL is returned in SHLIB if
all's ok
; To make life simple, I insist on having winclip.dll stored in the
main IDL
; directory.
; It doesn't really have to be, of course, but if you put it somewhere
else then ;you will have to modify this routine accordingly.

Maybe you could pull the code into the 21st century and email a copy
to
David Fanning?

Andrew
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL Array Push
Next Topic: Re: Is there a way to plot with axis breaks in IDL?

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

Current Time: Wed Oct 08 15:49:38 PDT 2025

Total time taken to generate the page: 0.00610 seconds