# "BEEP" When finish single frame render

**URL:** https://forum.highend3d.com/t/beep-when-finish-single-frame-render/3827
**Category:** Maya
**Tags:** mel
**Created:** [April 7, 2005, 9:36am UTC](https://forum.highend3d.com/t/beep-when-finish-single-frame-render/3827 "2005-04-07T09:36:52Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![arturo](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/a/c2a13f/32.png) [@arturo](https://forum.highend3d.com/u/arturo)
#### Post date: [April 7, 2005, 9:36am UTC](https://forum.highend3d.com/t/beep-when-finish-single-frame-render/3827/1 "2005-04-07T09:36:52Z")

</div>

Hi

I'm working on several computers at a time and was wondering if theres any script that simply makes a "BEEP" or a sound when a single frame render finishes...This would help me a lot to work faster and stop walking around the office to check the renders progressions...

Does anybody heard about something like that?  
Is it complicated to program it?  
Could some mel master help me?

Thaks a lot

Arturo Chomyszyn

---

<div class="post-metadata">

### Author: ![joojaa](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/j/5daacb/32.png) [@joojaa](https://forum.highend3d.com/u/joojaa)
#### Post date: [April 7, 2005, 11:02am UTC](https://forum.highend3d.com/t/beep-when-finish-single-frame-render/3827/2 "2005-04-07T11:02:07Z")

</div>

ummm? Beep beep beep. Wouldnt it be more prudent to send this data to your computer via the network to some program that visualises the progress?

Most dispatchers can do this you know.

Anyway it depends on you rsystem on windows you can simply echo ^G in a sytem command unfortunately i didnt get any way to copypaste a real control g character into mayas sytem command even after huge effort so i suggest you use this as a post render script.

system "start sndrec32 /play /close C:WINDOWSMediaNotify.wav";

or injecting it directly via mel

setAttr -type "string" defaultRenderGlobals.postRenderMel "system "start sndrec32 /play /close C:WINDOWSMediaNotify.wav";";

Note the wav can be anything you choose giving each machine a different tone would give you a nice harmonic! o r ebvene stepping trough a tune ![](http://www2.highendnet.com/forums/icons/smile.gif) You can meke it so the window does not appear with vbscripting. But why go fishing further at the sea?

instead of:

or you can make a bat file called beep.bat wich contains echo ^G

Note dont type ^ and G but rether press controll and g. And you cant do this in notepad, making this a bit hard. you must copy the character form [http://www.efn.org/~gjb/asciidec.html](http://www.efn.org/~gjb/asciidec.html)[http://www.efn.org/~gjb/asciidec.html](http://www.efn.org/~gjb/asciidec.html) here its the 007 one.

PS. if loosing focus or window is annoyin use

system "shell "start /min sndrec32 /play /close C:WINDOWSMediaNotify.wav"";

instead

---

<div class="post-metadata">

### Author: ![arturo](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/a/c2a13f/32.png) [@arturo](https://forum.highend3d.com/u/arturo)
#### Post date: [April 7, 2005, 2:10pm UTC](https://forum.highend3d.com/t/beep-when-finish-single-frame-render/3827/3 "2005-04-07T14:10:15Z")

</div>

Wow, thanks man!  
i'll check that  
good idea about diferent sounds!!!

Saludos  
Arturo

---

<div class="post-metadata">

### Author: ![ewerybody](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/e/bcef8e/32.png) [@ewerybody](https://forum.highend3d.com/u/ewerybody)
#### Post date: [April 7, 2005, 4:07pm UTC](https://forum.highend3d.com/t/beep-when-finish-single-frame-render/3827/4 "2005-04-07T16:07:07Z")

</div>

hmmm that way you need at least headphones on every machine...

Another idea: If you got winXP ok 2k machines running: What about sending a net send message?

string $msg = "must calculate.. need more data.. ";  
system ("net send MainMachine" + $msg);

Joojaa: That echo ^G is fun too!!

---

<div class="post-metadata">

### Author: ![joojaa](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/j/5daacb/32.png) [@joojaa](https://forum.highend3d.com/u/joojaa)
#### Post date: [April 7, 2005, 4:11pm UTC](https://forum.highend3d.com/t/beep-when-finish-single-frame-render/3827/5 "2005-04-07T16:11:32Z")

</div>

yes atleast if theres a pc speaker it wil work.

---

<div class="post-metadata">

### Author: ![arturo](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/a/c2a13f/32.png) [@arturo](https://forum.highend3d.com/u/arturo)
#### Post date: [April 8, 2005, 9:22am UTC](https://forum.highend3d.com/t/beep-when-finish-single-frame-render/3827/6 "2005-04-08T09:22:57Z")

</div>

Interesting...

And what about the CPU Beep?. I mean the real and awfull mother board beep, is there a command for that, that would be perfect!

---

<div class="post-metadata">

### Author: ![joojaa](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/j/5daacb/32.png) [@joojaa](https://forum.highend3d.com/u/joojaa)
#### Post date: [April 8, 2005, 9:28am UTC](https://forum.highend3d.com/t/beep-when-finish-single-frame-render/3827/7 "2005-04-08T09:28:41Z")

</div>

yes its the eccho control G (ascii character 7) buyt you need to do a bat file to do that since maya cant emit controll ge realy well anyway.

but you can paste it form a file and now so you end with

system "shell echo ";

should work but ist a bit impossible to say if it transfers over the forum correctly. (theres a asort of a communications barrier in place here.) Try and se.

NOTE: it only owrks if you copy paste the line as it contains a INVISIBLE CHARACTER! wich makes communicating thsi a bit hard!

---

<div class="post-metadata">

### Author: ![arturo](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/a/c2a13f/32.png) [@arturo](https://forum.highend3d.com/u/arturo)
#### Post date: [April 8, 2005, 1:43pm UTC](https://forum.highend3d.com/t/beep-when-finish-single-frame-render/3827/8 "2005-04-08T13:43:15Z")

</div>

Yes!  
Working fine with .wav or with .bat, but doesn't work with Mray single frame, is it normal?

Thanks
