fynth: a fortran synthesizer
April 19, 2025 ยท View on GitHub
fynth: a fortran synthesizer
Project fynth is pronounced as synth, because the lowercase letter S is written as f. Typesetting is hard ok!
Build and run
Use fpm, the fortran package manager, with commands such as these:
fpm build
fpm run -- sine.wav --sine 300 1
fpm install
With fpm install, the fynth binary is installed to the default fpm path,
usually ~/.local/bin.
Examples
Write a file sine.wav with a sine wave at 300 Hz for 1 s:
fynth sine.wav --sine 300 1
Write a file square.wav with a square wave at 300 Hz for 1 s:
fynth square.wav --square 300 1
Write a file noise.wav with random white noise for 1 s:
fynth noise.wav --noise 300 1
For consistency with other waveforms, the --noise waveform takes an unused
frequency dummy argument.
Disambiguation
There is an unrelated although not dissimilar project also named fynth: https://github.com/folkertvanheusden/fynth