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

Home » Public Forums » archive » Re: Sound 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: Sound in IDL [message #21026] Sun, 06 August 2000 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
J�rg Schliwa (joerg.schliwa@ewetel.net) writes:

> Well, that's pretty simple, but why can't even 'beep' (I think it rather
> sounds like 'bing', anyway) be found in idl's help??!!

This has been the traditional first question on the IDL
Expert Programmer's Association entrance exam. It weeds
the rift-raft out pretty quickly. If RSI documented it,
we would have to come up with a new question, and you
know how committees work. We'd be stuck for months. :-(

And, anyway, what would you say about it!? Beep -- makes
your computer issue a "bing" sound. There would be nothing
but controversy in going that route.

I think we should just leave well enough alone.

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: Sound in IDL [message #21027 is a reply to message #21026] Sun, 06 August 2000 00:00 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
davidf@dfanning.com (David Fanning) writes:
> J�rg Schliwa (joerg.schliwa@ewetel.net) writes:
>
>> Is there a possibility to make a sound signal in IDL, e.g. to make 'bing'
>> when a calculation has finishid? I couldn't find any hint in the IDL-help.
>
> On UNIX systems you can try this:
>
> IDL> Print, String(7B)
>
> On PCs, you can try this:
>
> IDL> Beep

BEEP works on Unix systems too, at least on terminals that have a
simulated (or real) bell.

Craig


--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
Re: Sound in IDL [message #21028 is a reply to message #21026] Sun, 06 August 2000 00:00 Go to previous message
Mark Fardal is currently offline  Mark Fardal
Messages: 51
Registered: October 1995
Member
davidf@dfanning.com (David Fanning) writes:

> On UNIX systems you can try this:
>
> IDL> Print, String(7B)
>

Now, for bonus points, (as if David hasn't racked up enough already),
how can this be made to work in emacs IDLWAVE mode?

thanks,
Mark Fardal
UMass
Re: Sound in IDL [message #21030 is a reply to message #21026] Sun, 06 August 2000 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
J�rg Schliwa (joerg.schliwa@ewetel.net) writes:

> Is there a possibility to make a sound signal in IDL, e.g. to make 'bing'
> when a calculation has finishid? I couldn't find any hint in the IDL-help.

On UNIX systems you can try this:

IDL> Print, String(7B)

On PCs, you can try this:

IDL> Beep

This goes "beep", rather than "bing", of course. But
maybe you could get used to it. :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: TO USE TWO DIFFERENT COLOR TABLES AT THE SAME TIME
Next Topic: Re: TO USE TWO DIFFERENT COLOR TABLES AT THE SAME TIME

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

Current Time: Wed Oct 08 19:33:06 PDT 2025

Total time taken to generate the page: 0.00676 seconds