Skip to content

Instantly share code, notes, and snippets.

View anjoweichbrodt's full-sized avatar

Anjo Weichbrodt anjoweichbrodt

View GitHub Profile
@anjoweichbrodt
anjoweichbrodt / arch-linux-install.md
Created September 18, 2021 16:37 — forked from kylemanna/arch-linux-install.md
Minimal instructions for installing arch linux on an UEFI NVMe system with full system encryption using dm-crypt and luks
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
Time Event
2017-09-09 09:26:09.3 1
2017-09-09 09:27:50.6 1
2017-09-09 09:33:28.9 1
2017-09-09 09:40:44.7 1
2017-09-09 09:54:33.2 1
2017-09-09 09:58:23.2 1
2017-09-09 10:02:02.0 1
2017-09-09 10:03:18.5 1
2017-09-09 10:05:58.8 1
@anjoweichbrodt
anjoweichbrodt / audio_trigger.py
Created October 13, 2020 14:33 — forked from Jach/audio_trigger.py
Trigger on audio
'''
Repeatedly run a command if the system records a sound loud enough.
Requires PyAudio and Numpy.
Windows users:
win32 Python 2.7: http://www.python.org/ftp/python/2.7.3/python-2.7.3.msi
Numpy: http://sourceforge.net/projects/numpy/files/NumPy/1.7.1/numpy-1.7.1-win32-superpack-python2.7.exe/download
PyAudio: http://people.csail.mit.edu/hubert/pyaudio/packages/pyaudio-0.2.7.py27.exe
'''
import os
""" This is an implementation of the paper found here: http://www.cs.cmu.edu/~htong/pdf/ICME04_tong.pdf """
import Image
import numpy
import pywt
import sys
thresh = 35
MinZero = 0.05
""" This is an implementation of the paper found here: http://www.cs.cmu.edu/~htong/pdf/ICME04_tong.pdf """
import Image
import numpy
import pywt
import sys
thresh = 35
MinZero = 0.05