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

Project Samples

Project Activity

See All Activity >

License

GNU General Public License version 3.0 (GPLv3)

Follow Windows console tone generator

Windows console tone generator Web Site

Other Useful Business Software
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
Start Free
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
★
1
0
0
0
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5

User Reviews

  • 5 out of 5 stars
    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!
Read more reviews >

Additional Project Details

User Interface

Console/Terminal, Win32 (MS Windows)

Programming Language

C++

Related Categories

C++ Sound Audio, C++ Sound Synthesis Software

Registered

2014-06-07