mksound

This is a small command-line tool for creating sound files in .wav or raw header-less PCM format with a specific frequency, duration, and amplitude.

Features

  • Supports .wav format and header-less PCM format.
  • Generates sound files with a specific frequency, amplitude, and duration.
  • Supports any sample rate.
  • Supports any number of channels
  • Sound data can be piped to audio software.
  • Cross-Platform - works on GNU/Linux and Windows, and (possibly) Mac OS X.

Download

There is currently no provided binaries. This source code should compile easily on POSIX systems and cross-compiling is trivial, so it should work under MSYS for Windows as well. Source tarballs are provided below:

Releases

Version 0.3 - Monday, July 18 2011

  • Fixed bug where verbose output was written to stdout and not stderr, which causes trouble when piping output.

Version 0.2 - Thursday, July 14 2011

  • Added support for any number of channels.
  • Format is now wav when writing to standard output.

Version 0.1 - Wednesday, July 13 2011

  • Initial release.

License Terms

Maxsi mksound is licensed under the GNU GPL (verson 3 or later), which means it is free software, giving your the right to freely use, study, modify and redistribute it. There is a few conditions to use the software, such as you must provide its source code when redistributing it.