Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Getting my computer to make a sound every second

Reply
Thread Tools Display Modes

Getting my computer to make a sound every second

 
 
Mark
Guest
Posts: n/a

 
      11-14-2007
Can I get my computer to make a sound every second and if so can I control
its volume?
--
Mark
keeffe
 
Reply With Quote
 
 
 
 
dzomlija
Guest
Posts: n/a

 
      11-14-2007

Mark;513351 Wrote:
> Can I get my computer to make a sound every second and if so can I
> control its volume?
> --
> Mark
> keeffe


Question: Why would you want that? Isn't a constant beeping every
second going to get annoying after a few minutes?


--
dzomlija

____________________________________
Peter Alexander Dzomlija
Do you hear, huh? The Alpha and The Omega? Death and Rebirth? -And as
you die, so shall I be Reborn-...

- ASUS A8N32-SLI-Deluxe
- AMD Atlon 64 Dual-Core 4800+
- 4GB DDR400
- ASUS nVidia 6600
- Thermaltake Tai-Chi Watercooled Chassis
- 1207GB Total Formatted Storage
- Vista Ultimate x64
- CodeGear Delphi 2007'http://dzomlija.spaces.live.com/' (http://dzomlija.spaces.live.com/)
 
Reply With Quote
 
Andrew McLaren
Guest
Posts: n/a

 
      11-14-2007
"Mark" <> wrote in message
news:511F90E0-3E43-4D0C-8B69-...
> Can I get my computer to make a sound every second and if so can I control
> its volume?


It would pretty simple to write as a short program, or a script, to provide
this feature.

I'll assume you're not a programmer (or you'd already know how to do this).
For non-programmers, scripting is probably the better solution that
programming. An operating system cannot provide ever function that users
might ever conceivably want; so usually it provides a fairly general pupose
tool you can ue to create features for yourself. On Vista, this takes 3
forms: batch files, Windows Script Host (generally, VBScript); and
PowerShell. Scripts are similar to programs, in that you write a series of
imperative statements using a specific syntax. But script languages are
generally much easier to use and require far fewer lines of code. To get you
beep per second, you'll be looking at about 10 to 20 lines of script. In
C++, it might take 50 to 100 lines.

See here for more informatuin about scripting in Windows:

http://www.microsoft.com/technet/scr...r/default.mspx

The following script will sound a "beep" character (ie, ^G) every 1,000
milliseconds:

' =====================================
set wshShell = Wscript.CreateObject("wscript.Shell")
beep = chr(007)
Do While True
WshShell.Run "cmd /c @echo " & beep, 0
WScript.Sleep( 1000 )
Loop

' =====================================

Not I haven't tested this extensively, you would probably want to refine it
somewhat. There is no volume control. Some machines "beep" ^G quite softly,
it's a function of the hardware.

Hope it helps,

--
Andrew McLaren
amclar (at) optusnet dot com dot au


 
Reply With Quote
 
Mark
Guest
Posts: n/a

 
      11-15-2007
I'm learning to speed read and it calls for a sweep of your hand across the
page and back again every second. The sound helps get the rhythm right
--
Mark
keeffe


"dzomlija" wrote:

>
> Mark;513351 Wrote:
> > Can I get my computer to make a sound every second and if so can I
> > control its volume?
> > --
> > Mark
> > keeffe

>
> Question: Why would you want that? Isn't a constant beeping every
> second going to get annoying after a few minutes?
>
>
> --
> dzomlija
>
> ____________________________________
> Peter Alexander Dzomlija
> Do you hear, huh? The Alpha and The Omega? Death and Rebirth? -And as
> you die, so shall I be Reborn-...
>
> - ASUS A8N32-SLI-Deluxe
> - AMD Atlon 64 Dual-Core 4800+
> - 4GB DDR400
> - ASUS nVidia 6600
> - Thermaltake Tai-Chi Watercooled Chassis
> - 1207GB Total Formatted Storage
> - Vista Ultimate x64
> - CodeGear Delphi 2007'http://dzomlija.spaces.live.com/' (http://dzomlija.spaces.live.com/)
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make computer sleep remotely? Brett Windows Vista General Discussion 2 09-24-2009 01:18 AM
Make Vista computer not visible on network Ken Varley Windows Vista Networking 3 04-06-2008 11:23 AM
Can't make computer bluetooth discoverable Penguinphan Windows Vista Hardware 3 09-29-2007 06:18 AM
I cannot make my computer faster! Eduard Palmer Windows Vista Performance 2 07-15-2007 04:08 AM
Vista make computer restart freeway29 Windows Vista General Discussion 3 10-02-2006 05:13 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59