https://github.com/l29ah/fl2k_signal_generator зделол в итоге лабораторный генератор сигналов с ncurses-интерфейсом:
Set [f]requency by typing it and hitting Enter
Up-Down: adjust frequency by 10%
Right-Left: adjust frequency by 1%
Setting waveform: s[q]uare, [s]ine, sa[w], [t]riangle
[r]ound the frequency