dotfiles/.local/bin/mping
2022-12-04 20:44:55 +01:00

3 lines
139 B
Bash
Executable file

#!/bin/bash
export LANGUAGE=en
ping $1|awk -F[=\ ] '/me=/{t=$(NF-1);f=3000-14*log(t^20);c="play -q -n synth 1 pl " f;print $0;system(c)}';