Generates sweep signal in two modes impulse and constantly. Used pygame-1.9.5, Adafruit PiTFT - 2.8" Touchscreen Display for Raspberry Pi, pimoroni - Audio DAC SHIM (Line-Out). in Display, you need to cut the grio 18.
"menu settings" are under development. maybe they will be later.
https://learn.adafruit.com/adafruit-2-8-pitft-capacitive-touch
git clone https://github.com/adafruit/Raspberry-Pi-Installer-Scripts.git
cd Raspberry-Pi-Installer-Scripts/
sudo pip3 install Click adafruit-python-shell
sudo python3 adafruit-pitft.py --display=28c --rotation=90 --install-type=console
sudo apt-get install libsdl2-2.0-0 libsdl2-gfx-1.0-0 libsdl2-image-2.0-0 libsdl2-mixer-2.0-0 libsdl2-ttf-2.0-0 python3-sdl2
sudo pip3 install pygame==1.9.5
#dtparam=audio=on
dtoverlay=hifiberry-dac
sudo adduser pi tty
sudo chmod g+rw /dev/tty0
sudo nano /lib/udev/rules.d/50-udev-default.rules
change line:
SUBSYSTEM=="tty", KERNEL=="tty[0-9]*", GROUP="tty", MODE="0620"
to:
SUBSYSTEM=="tty", KERNEL=="tty[0-9]*", GROUP="tty", MODE="0660"
chmod +x sweep_gen.py
sudo vi /etc/rc.local
add vor exit 0
sudo daemon /home/pi/python/sweep_gen/sweep_gen.py
the left and right channels operate in a differential manner. add editable settings for sweep and sin. :)
https://github.com/wolfer649/WGOT
https://dsp.stackexchange.com/questions/75282/end-of-chirp-in-phase-0/75303#75303