Skip to content

Instantly share code, notes, and snippets.

@reprimande
Last active March 6, 2019 07:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reprimande/67fa4b56869e5b203cf51669dd5d01fd to your computer and use it in GitHub Desktop.
Save reprimande/67fa4b56869e5b203cf51669dd5d01fd to your computer and use it in GitHub Desktop.
nomikai
#!/bin/sh
while :;do screencapture -x -t psd t.psd; tail -c 1000000 t.psd | head -c 230000 >> a.psd; sleep 0.2; done
#!/bin/sh
if [ -e a.psd ]; then
rm a.psd
fi
touch a.psd
tail -f a.psd| play -e s -r 44100 -b 32 -c 2 -t raw -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment