Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Possible Duplicate:
Customize front end to add notifications when evaluation finishes?

How to setup sound alert notification when simulation is complete?

I need to do something else while waiting for a long simulation to complete instead of sitting there watching the simulation to complete the whole 'Evaluate Notebook' process.

Thank You

share|improve this question

marked as duplicate by rm -rf Nov 16 '12 at 19:01

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Look up EmitSound[]. –  J. M. Nov 16 '12 at 17:46
Related? mathematica.stackexchange.com/questions/2157/… –  chris Nov 16 '12 at 18:11
I'm not sure I agree this is an exact duplicate. The answers here wouldn't have been adequate for the supposed duplicate question. –  Andy Ross Nov 16 '12 at 19:42

3 Answers 3

up vote 6 down vote accepted

I'd do something like this.

Speak["Done Pausing for 5 Seconds"]
share|improve this answer
In reality I'd have it say something much sexier but that's up to you :) –  Andy Ross Nov 16 '12 at 17:52
...now, how do I configure Mathematica to use a "bedroom voice"... >:) –  J. M. Nov 16 '12 at 17:58
@J.M. Just pretend she's from Vulcan. –  Andy Ross Nov 16 '12 at 17:59
Hi @Andy Ross, yes please let me know how to make it smoother, possible to change pitch etc of voice? –  sebastian c. Nov 16 '12 at 18:18
This is what I've actually been doing recently :) –  Szabolcs Nov 16 '12 at 18:51

You could set the notebook, global, or cell level option "EvaluationCompletionAction" to "Beep"

share|improve this answer

I'd be inclined to use something like this:

  Do[Pause[0.2], {i, 50}],
  If[Mod[i, 10] == 0, Speak[ToString[2 i] <> " percent done"]]; i
share|improve this answer
This is awesome! I replaced the last i with a ProgressIndicator on a Dynamic counter variable, it's wonderful! –  Ziofil Feb 17 at 4:04

Not the answer you're looking for? Browse other questions tagged or ask your own question.