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
$300 in Free Credit Towards Top Cloud Services Icon
$300 in Free Credit Towards Top Cloud Services

Build VMs, containers, AI, databases, storage—all in one place.

Start your project in minutes. After credits run out, 20+ products include free monthly usage. Only pay when you're ready to scale.
Get Started
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

  • 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