Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

producing a noise

24 views
Skip to first unread message

Francisco Gutierrez

unread,
Sep 11, 2013, 3:44:05 AM9/11/13
to

Dear Group:
Suppose I am running a simulation, and go on to work on another issue. I would like Mathematica to produce a sound as soon as it ends (but not always, only when told so).
I imagine this is quite easy, but don't know how. Any ideas?
Thanks
Francisco

Itai Seggev

unread,
Sep 12, 2013, 2:15:08 AM9/12/13
to
Put EmitSound[a sound object] at the end of the same cell. It will play after
the previous expression finishes evaluating.

--
Itai Seggev
Mathematica Algorithms R&D
217-398-0700

Bob Hanlon

unread,
Sep 12, 2013, 2:20:44 AM9/12/13
to

At the end of the simulation add the command:


EmitSound[Sound[
SoundNote["C", 4, "Telephone"]]]



Bob Hanlon




On Wed, Sep 11, 2013 at 3:50 AM, Francisco Gutierrez <fgutie...@yahoo.com

Francisco Gutierrez

unread,
Sep 12, 2013, 11:16:22 PM9/12/13
to

Many thanks to Bill Row, Itai Seggev and others for clarifying how to produce a (non human) noise at the end of a simulation.



_________________
From: Itai Seggev <it...@wolfram.com>
Sent: Thursday, September 12, 2013 1:26 AM
Subject: Re: producing a noise


On Wed, Sep 11, 2013 at 03:50:52AM -0400, Francisco Gutierrez wrote:
>
> Dear Group:
> Suppose I am running a simulation, and go on to work on another issue. I would like Mathematica to produce a sound as soon as it ends (but not always, only when told so).
> I imagine this is quite easy, but don't know how. Any ideas?
> Thanks
> Francisco

0 new messages