Was unable to find simple program to generate sound using a batch file or windows console. I needed this and thought at first that everyone and their brother had already written a simple program to output a sound using the default sound device on a windows 32 or 64 computer by typing tone plus frequency and duration (in milliseconds) Tone 1000 2000 (1khz at 2 seconds) great for server farms. This is a spin-off of a project of controlling a inteliport III. I got lazy and will just use mp3 files to do the job. This program is written using windows API calls and works on 32/64 bit systems (apple macbook pro using win 7 32 bit pro and also a 64 bit hp computer running win 7 ultimate 64. I did find out this had problems running on a 32 bit eee pc 901 running winXp with a realtek HD audio output…I concluded the problem might be with the sound driver.
Usage: tone 440 1000 generates 440hz tone for 1 second
this was compiled using Code blocks with gcc.
Source code included
Features
- Sound generator
- Tone generator
- Windows Console sound/tone generator
License
GNU General Public License version 3.0 (GPLv3)Follow Windows console tone generator
User Reviews
-
Very nice software. Easy and simple. If you are looking for a complete IDE for batch files see Batch Compiler (batch-compiler). Converts BAT to EXE. Freeware. Real compiling + Draw graphics with Advance Commands!