Skip to content
CLI sound processing tools
C++ Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
audio_io_view
bin
play
play_multifilter
playrec
rec
LICENSE
README.md

README.md

SNDtools

Description

CLI basic sound processing tools written in C++. The binary files in bin/ folder were complied with Mac OS 10.9.

Usage

play

Playback a wave file
play {-i/--input filename} [-a/--amp amplitude] [-h/--help]

rec

Record microphone inputs
rec {-o/--output filename} {-s/--samplerate sampling rate} [-c/--channels number of channels] [-a/--amp amplitude] [-h/--help]

playrec

Simultaneously playback a wave file and record microphone inputs
playrec {-i/--input filename} {-o/--output filename} [-c/--channel number of input channels] [-a/--amp amplitude of output] [-h/--help]

play_multifilter

Playback a monaural wave file by multiple outputs with filtering
play_multi_filter {-i/--input filename} {-f/--filter directory of filter files} [-o/--output number of output channels] [-a/--amp amplitude] [-h/--help]

  • Input wave file must be monaural.
  • The input file is convoluted by the filters in the filter directory, which are outputs of loudspeakers.
  • Filter files must be put in the filter directory and their names must be [# of channel].bin, for example, 1.bin and 2.bin for ch1 and ch2, respectively.
  • The file format of the filter files is 64 bit binary (see a sample MATLAB code "filter_gen.m")
  • The number of filter files must be equal to or larger than the number of the output channels.

Requirements

License

MIT

Author

Shoichi Koyama

You can’t perform that action at this time.