diff --git a/README.md b/README.md index 73083df..0f26e7a 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,6 @@ This script plays a fake dog bark through speakers to scare people away from your house. - ## Setup Set up the Pi: @@ -11,6 +10,14 @@ Set up the Pi: $ sudo usermod -aG audio tanner $ sudo apt update $ sudo apt install python3 python3-pip python3-virtualenv libsdl2-mixer-2.0-0 supervisor +$ sudo bash -c 'echo 0 > /proc/sys/kernel/hung_task_timeout_secs' +``` + +Edit /etc/pulse/daemon.conf: + +```text +default-fragments = 5 +default-fragment-size-msec = 2 ``` Install woof: @@ -56,7 +63,6 @@ $ sudo supervisorctl status $ tail -f /var/log/woof.log ``` - ## License This program is free and open-source software licensed under the GNU Affero General Public License. Please see the `LICENSE` file for details.