POV-Ray : Newsgroups : povray.beta-test : WinPOV makes a sound when interrupting rendering Server Time
1 Nov 2024 05:20:54 EDT (-0400)
  WinPOV makes a sound when interrupting rendering (Message 1 to 10 of 11)  
Goto Latest 10 Messages Next 1 Messages >>>
From: Warp
Subject: WinPOV makes a sound when interrupting rendering
Date: 3 Apr 2004 12:12:28
Message: <406ef07c@news.povray.org>
Is there any way of avoiding that? It's getting annoying.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

From: Slime
Subject: Re: WinPOV makes a sound when interrupting rendering
Date: 3 Apr 2004 14:07:57
Message: <406f0b8d$1@news.povray.org>
>   Is there any way of avoiding that? It's getting annoying.


Control panel -> sounds?

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

From: Warp
Subject: Re: WinPOV makes a sound when interrupting rendering
Date: 3 Apr 2004 16:02:45
Message: <406f2675@news.povray.org>
Slime <fak### [at] emailaddress> wrote:
> Control panel -> sounds?

  Then how am I supposed to hear the music I'm playing with Winamp?

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

From: Slime
Subject: Re: WinPOV makes a sound when interrupting rendering
Date: 3 Apr 2004 18:43:39
Message: <406f4c2b$1@news.povray.org>
>   Then how am I supposed to hear the music I'm playing with Winamp?


No, I mean the "Sounds" tab in Sounds and Audio Devices Properties (might
have a different name in OS's other than Windows XP). At the end of the
list, you can set whether a sound plays whenever POV-Ray does certain
actions. "Render Cancelled" is one of them.

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

From: Chris Cason
Subject: Re: WinPOV makes a sound when interrupting rendering
Date: 4 Apr 2004 03:04:31
Message: <406fb37f@news.povray.org>
"Warp" <war### [at] tagpovrayorg> wrote in message news:406ef07c@news.povray.org...
>   Is there any way of avoiding that? It's getting annoying.

From the POV-Ray for Windows Help File (located as first entry when looking for
'sound' in the index).

  1.10.7.2.4.2  Beep

  POV-Ray for Windows can give an audible alert when it has finished a rendering
  job. The sound produced is the WAV file associated with the 'Render Complete'
  event assigned in the 'POV-Ray for Windows' sub-section of the 'Sounds and
  Multimedia' applet in the Windows control panel. As with all other WAV files,
  this only works if you have a sound card. Note also that if the render failed
  or was cancelled, a different sound would be played - see the above control panel
  setting for the list of available sounds.

A reminder about the availability of such settings is also given the first time
the 'render complete' sound is played after a clean install.

-- Chris


Post a reply to this message

From: Warp
Subject: Re: WinPOV makes a sound when interrupting rendering
Date: 4 Apr 2004 06:40:12
Message: <406fe60c@news.povray.org>
Ah...
  I wonder if it would be more intuitive if you could turn these on and
off from POV-Ray itself.

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

From: Chris Cason
Subject: Re: WinPOV makes a sound when interrupting rendering
Date: 4 Apr 2004 07:31:39
Message: <406ff21b@news.povray.org>
"Warp" <war### [at] tagpovrayorg> wrote in message news:406fe60c@news.povray.org...
>   Ah...
>   I wonder if it would be more intuitive if you could turn these on and
> off from POV-Ray itself.

Then folks would complain that they can't set the individual wav files
from within POV as well. If I implement anything at all it's probably
expected to do the whole kit and kaboodle.

I don't like the way Microsoft structured this but that's the way it is;
the selections of sounds vs events is meant to be managed by the user via
the control panel. It's a design 'feature' of windows. Applications are
meant to simply source the events and let Windows do the rest. The only
reason the 'beep' sound association can be turned on and off is because
it was already there before I started using the above scheme.

-- Chris


Post a reply to this message

From: Patrick Elliott
Subject: Re: WinPOV makes a sound when interrupting rendering
Date: 4 Apr 2004 16:49:20
Message: <MPG.1ada228a1c85153989a0b@news.povray.org>
In article <406ff21b@news.povray.org>, new### [at] deletethispovrayorg 
says...
> 
> "Warp" <war### [at] tagpovrayorg> wrote in message news:406fe60c@news.povray.org...
> >   Ah...
> >   I wonder if it would be more intuitive if you could turn these on and
> > off from POV-Ray itself.
> 
> Then folks would complain that they can't set the individual wav files
> from within POV as well. If I implement anything at all it's probably
> expected to do the whole kit and kaboodle.
> 
> I don't like the way Microsoft structured this but that's the way it is;
> the selections of sounds vs events is meant to be managed by the user via
> the control panel. It's a design 'feature' of windows. Applications are
> meant to simply source the events and let Windows do the rest. The only
> reason the 'beep' sound association can be turned on and off is because
> it was already there before I started using the above scheme.
> 
> -- Chris
> 
Hmm. Why not an option in POV-Ray to open that control panel? That solves 
the issue of both turning them on and off, as well as setting it to 
something else.


-- 
void main () {

    call functional_code()
  else
    call crash_windows();
}


Post a reply to this message

From: Chris Cason
Subject: Re: WinPOV makes a sound when interrupting rendering
Date: 5 Apr 2004 19:57:34
Message: <4071f26e@news.povray.org>
"Patrick Elliott" <sha### [at] hotmailcom>:
> Hmm. Why not an option in POV-Ray to open that control panel? That solves
> the issue of both turning them on and off, as well as setting it to
> something else.

I had thought of that. The typical problem that is encounted with that approach
is finding a way of doing it that will work on every version of windows. While
there might be a single approach, I'm cynical enough to know that by this point
it's more likely that not that there isn't.

If there is an easy way to do this I'll certainly add it.

-- Chris


Post a reply to this message

From: Hughes, B 
Subject: Re: WinPOV makes a sound when interrupting rendering
Date: 6 Apr 2004 01:27:59
Message: <40723fdf$1@news.povray.org>
Thought I'd try to create a little workaround to stop and restart the sounds
from within POV by editing the Tools menu. Surprisingly, I couldn't get the
versions 3.5 and 3.6 to react the same way and the beta is pulling the
sounds from my still-installed 3.5 instead of getting them from the 3.6
subfolder. Seems like the %h for home path doesn't work with rename. Trying
the items below in 3.5 wouldn't work either, I believe because 3.6 was
already in POV's home path but 3.5 was using it's scenes folder and so would
need to jump out to the parent folder first (hence %h could help that
problem, if it'd only do what it is supposed to).

Anyway, this does work for 3.6 (using XP here), but again only if the beta
wasn't grabbing up the 3.5's sounds.

Item8=cmd /c ren sounds\*.wav *.off
Item9=cmd /c ren sounds\*.off *.wav


Rather simple way to add the option of sound or no sound. Yet, possibly too
cumbersome to use if there might be other things to work out for it to be
effective across all Windows installs. Not a very good idea anyhow, since
renaming (or deleting and undeleting) those files is an ugly hack for a
sound on/off option menu if to be presented in an official release.

If anything, popping up the sounds control panel applet by running it from
the Tools menu could be a better alternative (if not for the aforementioned
various Windows versions issue?). Like Item10=control.exe mmsys.cpl sounds
Except having checked on that just now I couldn't get the specific Sounds
portion to appear first.

Like I said, this little discussion had me wondering of a way to do it and
so there you have it.

Bob H.


Post a reply to this message

Goto Latest 10 Messages Next 1 Messages >>>

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.