POV-Ray : Newsgroups : povray.beta-test : WinPOV makes a sound when interrupting rendering : Re: WinPOV makes a sound when interrupting rendering Server Time
29 Jul 2024 06:26:23 EDT (-0400)
  Re: WinPOV makes a sound when interrupting rendering  
From: Hughes, B 
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

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