fsynth command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
fsynth: command not found
or when using sudo you get the following error message
sudo: fsynth: command not found
Solutions to fsynth: command not found
How To Fix fsynth: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu fsynth is provided by siggen package.
siggen is:
a set of tools for imitating a laboratory Signal Generator, generating audio signals out of Linux’s /dev/dsp audio device. There is support for mono and/or stereo and 8 or 16 bit samples. The tools include:
soundinfo: display some of the programming capabilities of the sound system support for the mixer device /dev/mixer and the DSP device. Also shows some of the ioctl calls in action.
signalgen: a command line signal generator where details are specified from the command line for generating sine, cos, square, triangle, sawtooth, pulse, noise waves. Frequency, sample rate, relative amplitude etc. can be specified through command line options. The signal is played continuously until the program is stopped. There are options to save the basic raw digital samples raw to file or to a WAVE format file.
swgen: a command line sweep generator. Both the sweeping and swept waveforms can be specified, along with the sweeping frequency and the swept frequency range. Otherwise similar to sgen above.
siggen: an Ncurses screen based Signal Generator for two separate channels. On stereo audio cards the two channels are played on separate outputs. On mono cards the two channels are digitally mixed onto the one output. Type of waveform, frequency, amplitude, sample rate etc are specified/changed via a screen menu. It plays continuously. Changes to parameters take effect nearly immediately.
sweepgen: an Ncurses screen based Sweep generator (see swgen and siggen above).
tones: a command line program to generate several successive tones of varying frequency, and optional differing waveforms, durations and intensities. The sequence of tones can be either played once, or repetitively or the samples can be written to a file in raw or WAV format. This could make the basis of an auto-dialer for tone phones.
smix: a simple command line program for getting and setting the mixer settings.
fsynth: an Ncurses based fourier synthesis realtime generator.
To fix this problem, we can install more using the command below.
sudo apt-get -y install siggen
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install siggen.
sudo apt -y install siggen
Or if you have aptitude installed you can use the following command.
sudo aptitude install siggen
Summary
In this tutorial we learn how to fix fsynth command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.