Skip to content

Instantly share code, notes, and snippets.

@sarcasticadmin
Created September 2, 2025 13:35
Show Gist options
  • Select an option

  • Save sarcasticadmin/c41d5999bbe67237e57393dc96104eb0 to your computer and use it in GitHub Desktop.

Select an option

Save sarcasticadmin/c41d5999bbe67237e57393dc96104eb0 to your computer and use it in GitHub Desktop.
set -x
function cleanup()
{
sudo mycm108 -H /dev/hidraw2 -P 3 -L 0
}
trap cleanup EXIT
sudo mycm108 -H /dev/hidraw2 -P 3 -L 1
sleep 2
espeak "This is Birken Hack Radio, Matt whips the whales ass" -d 74 -s 120 -p 20 -v en+m2
sleep 1
pw-play --target 74 ${1:-Report2487-short.mp3}
sleep 1
espeak "This is Birken Hack Radio, end broadcast" -d 74 -s 120 -p 20 -v en+m2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment