exit
ls
tar -xzvf ra_project.tar.gz
ls
cd ..
ls
cd ..
ls
cd ~
ls
cd radio_audio/
python radio_scan.py 
cd radio_audio/
python radio_scan.py 
python radio_audio/radio_scan.py 
ls
sh install_radio_audio.sh 
ls radio_audio/
ls
pm2 log
pm2 restart all 
pm2 log
cat radio_audio/radio_scan.py
pm2 stop all 
python radio_audio/radio_scan.py --squelch 15
speaker-test -D hw:1,0 -c 2 -t wav
rtl_fm -f 106.8M -M wfm -s 170k -r 32000 -g 30 | aplay -D hw:1,0 -r 32000 -f S16_LE -t raw -c 2 -B 500000
rtl_fm -f 106.8M -M wfm -s 170k -r 48000 -g 30 | aplay -D plughw:1,0 -r 48000 -f S16_LE -t raw -c 2 -B 500000
rtl_fm -f 106.8M -M wfm -s 170k -r 48k -g 30 | aplay -D plughw:1,0 -r 48k -f S16_LE -t raw -c 1 -B 100000
rtl_fm -f 106.8M -M wfm -s 170k -r 48000 -g 30 | aplay -D plughw:1,0 -r 48000 -f S16_LE -t raw -c 1 -B 100000
rtl_fm -f 106.8M -M wfm -s 170k -A fast -r 48000 -g 30 | aplay -D plughw:1,0 -r 48000 -f S16_LE -t raw -c 2 -B 200000
rtl_fm -f 106.8M -M wfm -s 170k -g 25 -p 0 -r 48000 | aplay -D hw:1,0 -r 48000 -f S16_LE -t raw -c 1 -B 250000
pm2 logs radio-scanner --lines 50
rtl_fm -f 106.8M -M wfm -s 170k -r 48000 -g 25 | aplay -D plughw:1,0 -r 48000 -f S16_LE -t raw -c 2 -B 250000
rtl_fm -f 106.8M -M wfm -s 170k -A fast -r 48000 -g 25 | aplay -D plughw:1,0 -r 48000 -f S16_LE -t raw -c 2 -B 500000
rtl_fm -f 106.8M -M wfm -s 170k -A fast -r 48000 -g 25 | aplay -D plughw:1,0 -r 48000 -f S16_LE -t raw -c 2 -B 100000
pm2 stop all
python radio_audio/radio_scan.py 
python radio_audio/radio_scan.py --squelch 15
aplay -l
rtl_fm -f 156.8M -M fm -s 24k -r 44100 -l 15 -g 30 | aplay -D hw:1,0 -r 44100 -f S16_LE -t raw -c 2
rtl_fm -f 156.8M -M fm -s 24k -r 44100 -l 15 -g 30 | aplay -D hw:2,0 -r 44100 -f S16_LE -t raw -c 2
rtl_fm -f 156.8M -M fm -s 24k -r 48000 -l 15 -g 30 | aplay -D plughw:2,0 -r 48000 -f S16_LE -t raw -c 1
rtl_fm -f 106.8M -M wfm -s 170k -r 48000 -g 30 | aplay -D plughw:2,0 -r 48000 -f S16_LE -t raw -c 2
rtl_fm -f 106.8M -M wfm -s 170k -r 48k -g 30 | aplay -D plughw:2,0 -r 48k -f S16_LE -t raw -c 2 -B 200000
rtl_fm -f 106.8M -M wfm -g 30 -r 48000 | aplay -D plughw:2,0 -r 48000 -f S16_LE -t raw -c 2 -B 200000
rtl_fm -f 106.8M -M wfm -s 192k -r 48000 -g 30 | aplay -D plughw:2,0 -r 48000 -f S16_LE -t raw -c 2 -B 500000
rtl_fm -f 106.8M -M wfm -s 200k -r 48000 -g 30 | aplay -D plughw:2,0 -r 48000 -f S16_LE -t raw -c 2 -B 100000 --buffer-size=16384
sudo apt-get update && sudo apt-get install -y sox
rtl_fm -f 106.8M -M wfm -s 200k -g 30 | sox -t raw -r 200k -e signed-integer -b 16 -c 1 - -t pulse -r 48k -c 2 resample | aplay -D plughw:2,0 -r 48k -f S16_LE -t raw -c 2
rtl_fm -f 106.8M -M wfm -s 200k -g 30 | play -t raw -r 200k -e signed-integer -b 16 -c 1 - -d remix 1,1
export AUDIODEV=hw:2,0 && rtl_fm -f 106.8M -M wfm -s 200k -g 30 | play -t raw -r 200k -e signed-integer -b 16 -c 1 - remix 1,1
sudo reboot 
cat radio_audio/radio_scan.py 
python radio_audio/radio_scan.py --squelch 15
pm2 unstartup
pm2 stop all
pm2 unstartup
local/lib/node_modules/pm2/bin/pm2 unstartup systemd -u pi --hp /home/pi
sudo env PATH=$PATH:/usr/bin /usr/local/lib/node_modules/pm2/bin/pm2 unstartup systemd -u pi --hp /home/pi
ls /etc/systemd/system/pm2-pi.service
sudo reboot 
python radio_audio/radio_scan.py --search
rtl_fm -f 106.8M -M wfm -s 192k -r 32000 -g 30 | aplay -r 32000 -f S16_LE -t raw -c 1
python radio_audio/radio_scan.py --search
lsmod | grep rtl
lsusb | grep Realtek
sudo fuser /dev/bus/usb/001/004
python radio_audio/radio_scan.py 
python radio_audio/radio_scan.py --search
cat radio_audio/radio_scan.py
sudo modprobe -r rtl2832_sdr dvb_usb_rtl28xxu rtl2832
lsmod | grep rtl
python radio_audio/radio_scan.py --search
cat install_radio_audio.sh 
pm2 stop all
python radio_audio/radio_scan.py --search
pm2 stop all
python radio_audio/radio_scan.py --search
cat radio_audio/radio_scan.py 
sh install_radio_audio.sh 
rtl_fm -f 105.8M -M wfm -s 192k -r 32k -g 30 | aplay -D bluealsa -r 32k -f S16_LE -t raw -c 1 2>/dev/null
python radio_audio/radio_scan.py
sudo apt update
rtl_fm -f 100.5M -M wfm -s 170k -A fast -r 44.1k -l 0 -E deemp | play -r 44.1k -t raw -e signed-integer -b 16 -c 1 -V1 -
sudo apt upgrade -y
rtl_fm -f 100.5M -M wfm -s 170k -g 40 -r 44.1k -l 0 -E deemp | play -r 44.1k -t raw -e signed-integer -b 16 -c 2 -V1 -
rtl_fm -f 100.5M -M wfm -s 170k -A fast -r 44.1k -l 0 -E deemp | play -r 44.1k -t raw -e signed-integer -b 16 -c 1 -V1 -
rtl_fm -f 100.5M -M wfm -s 170k -g 40 -r 44.1k -l 0 -E deemp | play -r 44.1k -t raw -e signed-integer -b 16 -c 2 -V1 -
rtl_fm -f 100.5M -M wfm -s 170k -A fast -r 44.1k -l 10 -E deemp | play -r 44.1k -t raw -e signed-integer -b 16 -c 1 -V1 -
cat radio_audio/radio_scan.py 
ip addr
ifconfig 
sudo shutdown 
sudo shutdown now
rtl_fm -f 100.5M -M wfm -s 170k -g 40 -r 44.1k -l 0 -E deemp | play -r 44.1k -t raw -e signed-integer -b 16 -c 2 -V1 -
rtl_fm -f 100.5M -M wfm -s 170k -A fast -r 44.1k -l 0 -E deemp | play -r 44.1k -t raw -e signed-integer -b 16 -c 1 -V1 -
rtl_fm -f 100.5M -M wfm -s 170k -g 40 -r 44.1k -l 0 -E deemp | play -r 44.1k -t raw -e signed-integer -b 16 -c 2 -V1 -
lsusb | grep Realtek
sudo fuser /dev/bus/usb/001/002
sudo kill 1126
rtl_fm -f 100.5M -M wfm -s 170k -A fast -r 44.1k -l 0 -E deemp | play -r 44.1k -t raw -e signed-integer -b 16 -c 1 -V1 -
sudo fuser -k /dev/bus/usb/001/002
rtl_fm -f 100.5M -M wfm -s 170k -A fast -r 44.1k -l 0 -E deemp | play -r 44.1k -t raw -e signed-integer -b 16 -c 1 -V1 -
clear
pm2 stop all
python radio_audio/radio_scan.py 
python radio_audio/radio_scan.py --squelch 2
python radio_audio/radio_scan.py --freq 100.5
clear
cat radio_audio/radio_scan.py 
nano radio_audio/radio_scan.py 
python radio_audio/radio_scan.py --freq 100.5
nano radio_audio/radio_scan.py 
python radio_audio/radio_scan.py --freq 100.5
nano radio_audio/radio_scan.py 
cat radio_audio/radio_scan.py 
nano radio_audio/radio_scan.py 
cat radio_audio/radio_scan.py 
python radio_audio/radio_scan.py --freq 100.5
speaker-test -D hw:1,0 -c 1 -t sine -f 440
pm2 stop all
sudo killall -9 aplay speaker-test rtl_fm
sudo fuser -v /dev/snd/*
sudo kill -9 1127
sudo fuser -v /dev/snd/*
speaker-test -D hw:1,0 -c 1 -t sine -f 440
pm2 stop all
sudo killall -9 rtl_fm play aplay speaker-test
speaker-test -D hw:1,0 -c 1 -t sine -f 440
aplay -l
speaker-test -D hw:0,0 -c 1 -t sine -f 440
speaker-test -D plughw:0,0 -c 2 -t sine -f 440
clear
python radio_audio/radio_scan.py --freq 100.5
python radio_audio/radio_scan.py
sh install_radio_audio.sh 
python radio_audio/radio_scan.py
clear
python radio_audio/radio_scan.py
cat radio_audio/radio_scan.py
python radio_audio/radio_scan.py
clear
python radio_audio/radio_scan.py
sh install_radio_audio.sh 
cat install_radio_audio.sh 
clear
sh install_radio_audio.sh 
clear
sh install_radio_audio.sh 
clear
pm2 stop all
python radio_audio/radio_scan.py
pm2 stop all
python radio_audio/radio_scan.py
pm2 stop all
python radio_audio/radio_scan.py -squelch 10
python radio_audio/radio_scan.py --squelch 10
pm2 stop all
rtl_fm -f 156.8M -M fm -s 24k -r 44.1k -l 0 -g 30 | aplay -D plughw:0,0 -r 44100 -f S16_LE -t raw -c 2
rtl_fm -f 156.8M -M fm -s 24k -g 30 -l 0 | sox -t raw -r 24k -e signed-integer -b 16 -c 1 - -t raw -r 44100 -c 2 - | aplay -D plughw:0,0 -r 44100 -f S16_LE -t raw -c 2
pm2 stop all
python radio_audio/radio_scan.py --squelch 10
pm2 stop all
python radio_audio/radio_scan.py --freq 156.8M --squelch 10
pm2 stop all
ls radio_audio/
cat radio_audio/radio_scan.py 
cp radio_audio/radio_scan.py radio_audio/radio_scan_1_9.py 
ls radio_audio/
pm2 restart all
pm2 status all
pm2 restart all
ls
cat last_search.json 
exit
python radio_audio/upload_ra_backup.py 
crontab -l
cat install_radio_audio.sh 
cd radio_audio/
ls
sh install_radio_audio.sh 
crontab -l
python radio_audio/upload_ra_backup.py 
cat radio_audio/archive_radio.py 
python radio_audio/archive_radio.py 
ls radio_audio/recordings/
python3 -c "import psutil; ram = psutil.virtual_memory().total / (1024**3); print(f'RAM: {ram:.2f} GB'); print('Modell:', 'tiny' if ram < 1.5 else 'base' if ram < 3.5 else 'small' if ram < 7.5 else 'medium' if ram < 15.0 else 'large')"
df -h
sudo rm -rf /tmp/*
sudo apt clean
du -sh /home/pi/* | sort -h
df -h
python radio_audio/archive_radio.py 
pm2 status all
ls 
cd radio_audio/
ls
cd recordings/
ls
ls
cd radio_audio/
ls
ls radio_audio/recordings/
pm2 restart all
pm2 restart all --update-env
pm2 save
cat install_radio_audio.sh 
ls radio_audio/recordings/
