#!/bin/bash
arecord -D plughw:1 -c1 -r 48000 -f S32_LE -t wav -V mono -v listen-usb.wav
#!/bin/bash
arecord -D plughw:1 -c1 -r 48000 -f S32_LE -t wav -V mono -v listen-usb.wav
Backups machen nur Sinn, wenn man nicht an sie denken muss.
TimeMachine-Backups mit direkt extern angeschlossenen Festplatten an einen mobilen Mac sind also nur so mittel hilfreich.
Ein besseres Szenario sieht so aus: Mac-Laptop im heimischen WLAN soll jederzeit (seit macOS 13.0 kann man die Frequenz einstellen, z.B. „täglich“) auf ein Gerät (ebenfalls im heimischen WLAN) sichern, das eine entsprechend grosse TimeMachine-Festplatte vorhält (Faustregel: doppelt so gross wie die zu sichernde Festplatte). Welche Geräte eignen sich dafür?
Continue reading „TimeMachine-Backups im WLAN“
nano ~/.mutt/muttrc
#================ IMAP ====================
set imap_user = your@email.de
set imap_pass = yourpassword
set spoolfile = imaps://imap.ionos.de/INBOX
set folder = imaps://imap.ionos.de/
set record="imaps://imap.ionos.de/mbox/Sent Mail"
set postponed="imaps://imap.ionos.de/mbox/Drafts"
set mbox="imaps://imap.ionos.de/mbox/All Mail"
set header_cache = "~/.mutt/cache/headers"
set message_cachedir = "~/.mutt/cache/bodies"
set certificate_file = "~/.mutt/certificates"
#================ SMTP ====================
set smtp_url = "smtp://your@email.de@smtp.ionos.de:587/"
set smtp_pass = $imap_pass
set ssl_force_tls = yes
#================ Composition ====================
set editor = "nano"
set edit_headers = yes
set charset = UTF-8 # value of $LANG; also fallback for send_charset
# Sender, email address, and sign-off line must match
unset use_domain
set realname = "yourname"
set from = "your@email.de"
set use_from = yes
set timeout = 30
send email with:
echo „this is body of email“ | mutt -s „this is subject of email“ receiver@mail.com

sudo apt-get install tcptrack
sudo tcptrack -i eth0
#!/bin/bash
echo "--------------------------------"
echo "Video Picture Stitcher V1.0"
echo "requ. ffmpeg"
echo "--------------------------------"
echo "What is the name of your input movie (with suffix:mov/mp4/mkv but without spaces)?"
read theSource
echo "How should the output named?"
read theTarget
echo "Please wait .."
ffmpeg -hide_banner -loglevel error -i ./SourceMovie/$theSource -r 0.009 -s 640x360 -f image2 ./Stills/$theTarget-%03d.jpeg
ls -lR ./Stills/$theTarget* | wc -l
echo "Files created."
echo "... Stitching."
ffmpeg -framerate 10 -pattern_type glob -i "./Stills/$theTarget*.jpeg" ./Stitched/$theTarget.mp4
echo ".... Finished."
Create Script ipadress.sh:
Continue reading „Check your IP-Adress with Alias Commands“
Die Waveshare-USB-Card ist meine erste Wahl bei Audio-Projekten: kompakt, belegt keine GPIOs, lässt sich auch mit einem RPi Zero benutzen und hat obendrein einen Vorverstärker für den direkten Anschluss von kleinen Lautsprechern. Und zwei Mikrofone …
Continue reading „Control External Audio-Interfaces“
To permanently disable video looper, i.e. to prevent it from ever starting on boot again, you can run a small script included with the video looper code. Connect to the Raspberry Pi in a terminal/SSH session and navigate to the folder where video_looper was downloaded, usualy the directory with this path /home/pi/pi_video_looper.
Continue reading „Start/Stop Videolooper“
The „Raspiaudio Muse Proto Board“ is a really cute and versatile ESP32-Board: it has its own Speaker! Here ist a little manual to create your own Bluetooth-Speaker in some minutes. Bonus: give your device your own name.
Continue reading „Squeezelite-ESP32 on Muse Proto“
Der touch-Command ist schneller und leichter zu handhaben als dd, so hier ein Beispiel, wie man unkompliziert 600 Demofiles anlegen lässt, löscht und wieder von vorn startet, mit neuen Suffixes.
Continue reading „Create Dummy Files (Part 1)“
Die Standard-smb.conf im Zusammenhang mit dem Gast-Zugang ist absoluter Pain-in-the-Ass, mit den einfachen Settings wie „public = yes“ und „guest = ok“ ist es nämlich absolut nicht getan. Wichtig sind ein paar globale Settings, und die sind ja nicht alle in der Standard-Installation enthalten.
Continue reading „SMB.CONF und Guest-Access (LibreELEC > RPi OS)“
Erstes Beispiel: Play Audio mit den Miniscreen-Buttons für 5 Sekunden und Stop.
Mit Bewegung Ton steuern ist jetzt keine grosse Idee, die Frage ist, in welchem räumlichen und inhaltlichen Rahmen das funktionieren kann, z.B. auch mit mehreren Geräten, die am Ende eine akustische Raumumgebung erzeugen.
Driver for the LED Matrix
sudo -H pip install --upgrade --ignore-installed pip setuptools
sudo python3 -m pip install --upgrade luma.led_matrix